mirror of https://git.tukaani.org/xz.git
Revert 43f44160b1
and use a fix that works on all systems using GNU assembler. Maybe the assembler code is used e.g. on Solaris x86 but let's worry about it if this doesn't work on it.
This commit is contained in:
parent
162189c347
commit
655457b9ad
|
@ -117,11 +117,8 @@ LZMA_CRC32:
|
||||||
*/
|
*/
|
||||||
#if (!defined(PIC) && !defined(__PIC__)) \
|
#if (!defined(PIC) && !defined(__PIC__)) \
|
||||||
|| (defined(_WIN32) || defined(__CYGWIN__))
|
|| (defined(_WIN32) || defined(__CYGWIN__))
|
||||||
/*
|
/* Not PIC */
|
||||||
* Not PIC.
|
movl $ LZMA_CRC32_TABLE, %ebx
|
||||||
* Using MAKE_SYM since $LZMA_CRC32_TABLE breaks with GCC 3.
|
|
||||||
*/
|
|
||||||
movl MAKE_SYM($, LZMA_CRC32_TABLE), %ebx
|
|
||||||
#elif defined(__MACH__)
|
#elif defined(__MACH__)
|
||||||
/* Mach-O */
|
/* Mach-O */
|
||||||
call .L_get_pc
|
call .L_get_pc
|
||||||
|
|
|
@ -108,11 +108,8 @@ LZMA_CRC64:
|
||||||
*/
|
*/
|
||||||
#if (!defined(PIC) && !defined(__PIC__)) \
|
#if (!defined(PIC) && !defined(__PIC__)) \
|
||||||
|| (defined(_WIN32) || defined(__CYGWIN__))
|
|| (defined(_WIN32) || defined(__CYGWIN__))
|
||||||
/*
|
/* Not PIC */
|
||||||
* Not PIC.
|
movl $ LZMA_CRC64_TABLE, %ebx
|
||||||
* Using MAKE_SYM since $LZMA_CRC64_TABLE breaks with GCC 3.
|
|
||||||
*/
|
|
||||||
movl MAKE_SYM($, LZMA_CRC64_TABLE), %ebx
|
|
||||||
#elif defined(__MACH__)
|
#elif defined(__MACH__)
|
||||||
/* Mach-O */
|
/* Mach-O */
|
||||||
call .L_get_pc
|
call .L_get_pc
|
||||||
|
|
Loading…
Reference in New Issue