gcc/libffi/src
John David Anglin 5961d13d27 ffi.c (ffi_struct_type): Put type declaration on separate line.
* src/pa/ffi.c (ffi_struct_type): Put type declaration on separate line.
	(ffi_prep_args_pa32): Likewise.
	(ffi_size_stack_pa32): Likewise.
	(ffi_prep_cif_machdep): Likewise.
	(ffi_call): Likewise.  Rename to ffi_call_int.  Add closure argument
	and update call to ffi_call_pa32.
	(ffi_call, ffi_call_go, ffi_prep_go_closure): New.
	(ffi_closure_inner_pa32): Update to handle go closures.
	* src/pa/ffitarget.h (FFI_GO_CLOSURES): Define.
	* src/pa/hpux32.S (ffi_call_pa32): Pass go closure argument in static
	chain register (%ret1).
	(ffi_closure_pa32): Set closure type argument to zero.
	(ffi_go_closure_pa32): New function.  Add unwind data for it.
	* src/pa/linux.S: Likewise.  Use cfi directives for unwind data.
	* testsuite/libffi.go/static-chain.h (STATIC_CHAIN_REG): Define for
	hppa.

From-SVN: r239978
2016-09-04 17:39:05 +00:00
..
aarch64 Summary: libffi: define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 2016-03-17 10:47:58 +00:00
alpha Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
arc Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
arm Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
avr32
bfin Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
cris
frv
ia64 Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
m32r
m68k Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
m88k Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
metag Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
microblaze Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
mips Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
moxie Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
nios2 Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
or1k Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
pa ffi.c (ffi_struct_type): Put type declaration on separate line. 2016-09-04 17:39:05 +00:00
powerpc [RS6000] Correct powerpc sysv stack argument accounting 2015-10-01 06:59:00 +09:30
s390 Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
sh Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
sh64
sparc Merge with upstream libffi db1b34b7e1f5e473d17557e454a29933dfecd1af 2015-01-28 15:23:55 -08:00
tile Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
vax Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
x86 Merge with upstream libffi 3ac1610aa33c887ea9b14935208943925714a33e 2015-01-19 13:14:59 -08:00
xtensa Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
closures.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
debug.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
dlmalloc.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
java_raw_api.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
prep_cif.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
raw_api.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00
types.c Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 2015-01-12 08:19:59 -08:00