aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc32_x86.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/check/crc32_x86.S')
-rw-r--r--src/liblzma/check/crc32_x86.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/liblzma/check/crc32_x86.S b/src/liblzma/check/crc32_x86.S
index cca29891..f9574b27 100644
--- a/src/liblzma/check/crc32_x86.S
+++ b/src/liblzma/check/crc32_x86.S
@@ -117,8 +117,11 @@ LZMA_CRC32:
*/
#if (!defined(PIC) && !defined(__PIC__)) \
|| (defined(_WIN32) || defined(__CYGWIN__))
- /* Not PIC */
- movl $LZMA_CRC32_TABLE, %ebx
+ /*
+ * Not PIC.
+ * Using MAKE_SYM since $LZMA_CRC32_TABLE breaks with GCC 3.
+ */
+ movl MAKE_SYM($, LZMA_CRC32_TABLE), %ebx
#elif defined(__MACH__)
/* Mach-O */
call .L_get_pc