This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/libffi configure c ...

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	2004-01-24 11:08:07

Modified files:
	libffi         : configure 
	libffi/include : 
	libffi/src     : ffitest.c prep_cif.c types.c 
	libffi/src/alpha: osf.S 
	libffi/src/powerpc: darwin_closure.S ffi.c ppc_closure.S sysv.S 
	libffi/src/s390: sysv.S 
	libffi/src/sparc: v8.S v9.S 
	libffi/src/x86 : sysv.S unix64.S 
Added files:
	libffi         : ChangeLog.hammer 
	libffi/src/powerpc: linux64.S linux64_closure.S 

Log message:
	Backport from mainline.
	2003-10-14  Alan Modra  <>
	* src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
	and align.
	2003-09-12  Alan Modra  <>
	* src/prep_cif.c (initialize_aggregate): Include tail padding in
	structure size.
	* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
	placement of float result.
	* testsuite/libffi.special/ (closure_test_fn1): Correct
	cast of "resp" for big-endian 64 bit machines.
	2003-09-11  Alan Modra  <>
	* src/types.c (double, longdouble): Merge identical SH and ARM
	typedefs, and add POWERPC64.
	* src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
	struct split over gpr and rest.
	(ffi_prep_cif_machdep): Correct intarg_count for structures.
	* src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.
	2003-09-09  Andreas Tobler  <>
	* src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
	passing correctly.
	2003-08-02  Alan Modra  <>
	* src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
	structure passing.
	(ffi_closure_helper_LINUX64): Likewise.
	* src/powerpc/linux64.S: Remove code writing to parm save area.
	* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return
	address in lr from ffi_closure_helper_LINUX64 call to calculate
	table address.  Optimize function tail.
	2003-05-16  Jakub Jelinek  <>
	* (HAVE_RO_EH_FRAME): Check whether .eh_frame section
	should be read-only.
	* configure: Rebuilt.
	* Rebuilt.
	* include/ (EH_FRAME_FLAGS): Define.
	* src/alpha/osf.S: Use EH_FRAME_FLAGS.
	* src/powerpc/linux64.S: Likewise.
	* src/powerpc/linux64_closure.S: Likewise.  Include ffi.h.
	* src/powerpc/sysv.S: Use EH_FRAME_FLAGS.  Use pcrel encoding
	if -fpic/-fPIC/-mrelocatable.
	* src/powerpc/powerpc_closure.S: Likewise.
	* src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
	#write in .eh_frame flags.
	* src/sparc/v9.S: Likewise.
	* src/x86/unix64.S: Use EH_FRAME_FLAGS.
	* src/x86/sysv.S: Likewise.  Use pcrel encoding if -fpic/-fPIC.
	* src/s390/sysv.S: Use EH_FRAME_FLAGS.  Include ffi.h.
	2003-04-18  Jakub Jelinek  <>
	* include/ (POWERPC64): Define if 64-bit.
	(enum ffi_abi): Add FFI_LINUX64 on POWERPC.
	Make it the default on POWERPC64.
	(FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
	* Change powerpc-*-linux* into powerpc*-*-linux*.
	* configure: Rebuilt.
	* src/powerpc/ffi.c (hidden): Define.
	(ffi_prep_args_SYSV): Renamed from
	ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
	(ffi_prep_args64): New function.
	(ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
	(ffi_call): Likewise.
	(ffi_prep_closure): Likewise.
	(flush_icache): Surround by #ifndef POWERPC64.
	(ffi_dblfl): New union type.
	(ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
	(ffi_closure_helper_LINUX64): New function.
	* src/powerpc/ppc_closure.S: Surround whole file by #ifndef
	* src/powerpc/sysv.S: Likewise.
	(ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
	* src/powerpc/linux64.S: New file.
	* src/powerpc/linux64_closure.S: New file.
	* (EXTRA_DIST): Add src/powerpc/linux64.S and
	* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
	closure_test_fn3): Fix result printing on big-endian 64-bit
	(main): Print tst2_arg instead of uninitialized tst2_result.
	* src/ffitest.c (main): Hide what closure pointer really points to
	from the compiler.
	2003-03-03  Andreas Tobler <>
	* src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
	Backport from gcc-3_3-rhl-branch
	2003-06-19  Franz Sirl  <>
	* src/powerpc/ppc_closure.S: Include ffi.h.
	(ffi_closure_SYSV): Make it hidden.
	* src/powerpc/sysv.S (ffi_call_SYSV): Make it hidden.
	* src/powerpc/ffi.c (ffi_closure_SYSV): Declare hidden.
	(ffi_call_SYSV): Likewise.
	(ffi_prep_args_SYSV): Make it hidden.
	(ffi_closure_helper_SYSV): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]