gcc/libffi/src
Andreas Schwab 68d235936b backport: ffi.c (ffi_call_go, [...]): New functions.
Backport of RISC-V support for libffi go closures
* src/riscv/ffi.c (ffi_call_go, ffi_prep_go_closure): New
functions.
(ffi_call_int): Renamed from ffi_call.
(ffi_call_asm, ffi_closure_inner): Adjust interface.
* src/riscv/ffitarget.h (FFI_GO_CLOSURES): Define.
* src/riscv/sysv.S (ffi_go_closure_asm): New function.
(ffi_closure_asm, ffi_call_asm): Update for adjusted interfaces.

From-SVN: r263550
2018-08-15 06:57:45 +00:00
..
aarch64
alpha
arc
arm
avr32
bfin
cris
frv
ia64
m32r
m68k
m88k
metag
microblaze
mips
moxie
nios2
or1k
pa
powerpc
riscv
s390
sh
sh64
sparc
tile
vax
x86
xtensa
closures.c
debug.c
dlmalloc.c
java_raw_api.c
prep_cif.c
raw_api.c
types.c