gcc/libffi/src
Rainer Orth a91f844ef4 libffi: Use #define instead of .macro in src/x86/win64.S [PR102874]
The libffi 3.4.2 import badly broke Solaris/x86 bootstrap with the native
assembler:

Assembler:
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 88 :
Illegal mnemonic
        Near line: ".macro epilogue"
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 88 : Syntax
error
        Near line: ".macro epilogue"
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 95 :
Illegal mnemonic
        Near line: ".endm"
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 95 : Syntax
error
        Near line: ".endm"
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 100 :
Illegal mnemonic
        Near line: " epilogue"
        "/vol/gcc/src/hg/master/local/libffi/src/x86/win64.S", line 100 :
Syntax error
        Near line: "epilogue"

Solaris as doesn't support .macro/.endm.

Fixed by using #define instead of the unportable .macro.

Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.

The bug has been reported upstream
(https://github.com/libffi/libffi/issues/665); a corresponding pull
request is also pending (https://github.com/libffi/libffi/pull/669).


2021-10-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	libffi:
	PR libffi/102874
	* src/x86/win64.S (epilogue): Use #define instead of .macro.
2021-11-15 10:24:27 +01:00
..
aarch64 libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
alpha libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
arc libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
arm libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
avr32
bfin
cris libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
csky libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
frv libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
ia64 libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
kvx libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
m32r libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
m68k libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
m88k libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
metag libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
microblaze libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
mips libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
moxie libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
nios2 libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
or1k
pa libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
powerpc rs6000: Fix bootstrap (libffi) 2021-10-25 23:37:35 +00:00
riscv libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
s390
sh
sh64
sparc libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
tile
vax libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
x86 libffi: Use #define instead of .macro in src/x86/win64.S [PR102874] 2021-11-15 10:24:27 +01:00
xtensa libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
closures.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
debug.c
dlmalloc.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
java_raw_api.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
prep_cif.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
raw_api.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
tramp.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00
types.c libffi: Sync with libffi 3.4.2 2021-10-20 05:35:52 -07:00