Merge from gcc
This commit is contained in:
431
libffi/ChangeLog
431
libffi/ChangeLog
@@ -1,434 +1,3 @@
|
||||
2006-12-14 Andreas Tobler <a.tobler@schweiz.org>
|
||||
|
||||
* configure.ac: Add TARGET for x86_64-*-darwin*.
|
||||
* Makefile.am (nodist_libffi_la_SOURCES): Add rules for 64-bit sources
|
||||
for X86_DARWIN.
|
||||
* src/x86/ffitarget.h: Set trampoline size for x86_64-*-darwin*.
|
||||
* src/x86/darwin64.S: New file for x86_64-*-darwin* support.
|
||||
* configure: Regenerate.
|
||||
* Makefile.in: Regenerate.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* testsuite/Makefile.in: Regenerate.
|
||||
* testsuite/libffi.special/unwindtest_ffi_call.cc: New test case for
|
||||
ffi_call only.
|
||||
|
||||
2006-12-13 Andreas Tobler <a.tobler@schweiz.org>
|
||||
|
||||
* aclocal.m4: Regenerate with aclocal -I .. as written in the
|
||||
Makefile.am.
|
||||
|
||||
2006-10-31 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* src/powerpc/ffi_darwin.c (darwin_adjust_aggregate_sizes): New.
|
||||
(ffi_prep_cif_machdep): Call darwin_adjust_aggregate_sizes for
|
||||
Darwin.
|
||||
* testsuite/libffi.call/nested_struct4.c: Remove Darwin XFAIL.
|
||||
* testsuite/libffi.call/nested_struct6.c: Remove Darwin XFAIL.
|
||||
|
||||
2006-10-10 Paolo Bonzini <bonzini@gnu.org>
|
||||
Sandro Tolaini <tolaini@libero.it>
|
||||
|
||||
* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and
|
||||
conditional.
|
||||
* configure: Regenerated.
|
||||
* Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case.
|
||||
(EXTRA_DIST): Add src/x86/darwin.S.
|
||||
* Makefile.in: Regenerated.
|
||||
* include/Makefile.in: Regenerated.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
|
||||
* src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like
|
||||
X86_WIN32, and additionally align stack to 16 bytes.
|
||||
* src/x86/darwin.S: New, based on sysv.S.
|
||||
* src/prep_cif.c (ffi_prep_cif) [X86_DARWIN]: Align > 8-byte structs.
|
||||
|
||||
2006-09-12 David Daney <ddaney@avtrex.com>
|
||||
|
||||
PR libffi/23935
|
||||
* include/Makefile.am: Install both ffi.h and ffitarget.h in
|
||||
$(libdir)/gcc/$(target_alias)/$(gcc_version)/include.
|
||||
* aclocal.m4: Regenerated for automake 1.9.6.
|
||||
* Makefile.in: Regenerated.
|
||||
* include/Makefile.in: Regenerated.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
|
||||
2006-08-17 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* include/ffi_common.h (struct): Revert accidental commit.
|
||||
|
||||
2006-08-15 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* include/ffi_common.h: Remove lint directives.
|
||||
* include/ffi.h.in: Likewise.
|
||||
|
||||
2006-07-25 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
||||
|
||||
* include/ffi.h.in (ffi_type_ulong, ffi_type_slong): Define correctly
|
||||
for 32-bit architectures.
|
||||
* testsuite/libffi.call/return_ul.c: New test case.
|
||||
|
||||
2006-07-19 David Daney <ddaney@avtrex.com>
|
||||
|
||||
* testsuite/libffi.call/closure_fn6.c: Remove xfail for mips,
|
||||
xfail remains for mips64.
|
||||
|
||||
2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* Makefile.am: Add install-html target. Add install-html to .PHONY
|
||||
* Makefile.in: Regenerate.
|
||||
* aclocal.m4: Regenerate.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* testsuite/Makefile.in: Regenerate.
|
||||
|
||||
2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* pa/ffi.c (ffi_prep_args_pa32): Load floating point arguments from
|
||||
stack slot.
|
||||
|
||||
2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* README: Remove notice about 'Crazy Comments'.
|
||||
* src/debug.c: Remove lint directives. Cleanup white spaces.
|
||||
* src/java_raw_api.c: Likewise.
|
||||
* src/prep_cif.c: Likewise.
|
||||
* src/raw_api.c: Likewise.
|
||||
* src/ffitest.c: Delete. No longer needed, all test cases migrated
|
||||
to the testsuite.
|
||||
* src/arm/ffi.c: Remove lint directives.
|
||||
* src/m32r/ffi.c: Likewise.
|
||||
* src/pa/ffi.c: Likewise.
|
||||
* src/powerpc/ffi.c: Likewise.
|
||||
* src/powerpc/ffi_darwin.c: Likewise.
|
||||
* src/sh/ffi.c: Likewise.
|
||||
* src/sh64/ffi.c: Likewise.
|
||||
* src/x86/ffi.c: Likewise.
|
||||
* testsuite/libffi.call/float2.c: Likewise.
|
||||
* testsuite/libffi.call/promotion.c: Likewise.
|
||||
* testsuite/libffi.call/struct1.c: Likewise.
|
||||
|
||||
2006-04-13 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* src/pa/hpux32.S: Correct unwind offset calculation for
|
||||
ffi_closure_pa32.
|
||||
* src/pa/linux.S: Likewise.
|
||||
|
||||
2006-04-12 James E Wilson <wilson@specifix.com>
|
||||
|
||||
PR libgcj/26483
|
||||
* src/ia64/ffi.c (stf_spill, ldf_fill): Rewrite as macros.
|
||||
(hfa_type_load): Call stf_spill.
|
||||
(hfa_type_store): Call ldf_fill.
|
||||
(ffi_call): Adjust calls to above routines. Add local temps for
|
||||
macro result.
|
||||
|
||||
2006-04-10 Matthias Klose <doko@debian.org>
|
||||
|
||||
* testsuite/lib/libffi-dg.exp (libffi-init): Recognize multilib
|
||||
directory names containing underscores.
|
||||
|
||||
2006-04-07 James E Wilson <wilson@specifix.com>
|
||||
|
||||
* testsuite/libffi.call/float4.c: New testcase.
|
||||
|
||||
2006-04-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* Makefile.am: Add PA_HPUX port.
|
||||
* Makefile.in: Regenerate.
|
||||
* include/Makefile.in: Likewise.
|
||||
* testsuite/Makefile.in: Likewise.
|
||||
* configure.ac: Add PA_HPUX rules.
|
||||
* configure: Regenerate.
|
||||
* src/pa/ffitarget.h: Rename linux target to PA_LINUX.
|
||||
Add PA_HPUX and PA64_HPUX.
|
||||
Rename FFI_LINUX ABI to FFI_PA32 ABI.
|
||||
(FFI_TRAMPOLINE_SIZE): Define for 32-bit HP-UX targets.
|
||||
(FFI_TYPE_SMALL_STRUCT2): Define.
|
||||
(FFI_TYPE_SMALL_STRUCT4): Likewise.
|
||||
(FFI_TYPE_SMALL_STRUCT8): Likewise.
|
||||
(FFI_TYPE_SMALL_STRUCT3): Redefine.
|
||||
(FFI_TYPE_SMALL_STRUCT5): Likewise.
|
||||
(FFI_TYPE_SMALL_STRUCT6): Likewise.
|
||||
(FFI_TYPE_SMALL_STRUCT7): Likewise.
|
||||
* src/pa/ffi.c (ROUND_DOWN): Delete.
|
||||
(fldw, fstw, fldd, fstd): Use '__asm__'.
|
||||
(ffi_struct_type): Add support for FFI_TYPE_SMALL_STRUCT2,
|
||||
FFI_TYPE_SMALL_STRUCT4 and FFI_TYPE_SMALL_STRUCT8.
|
||||
(ffi_prep_args_LINUX): Rename to ffi_prep_args_pa32. Update comment.
|
||||
Simplify incrementing of stack slot variable. Change type of local
|
||||
'n' to unsigned int.
|
||||
(ffi_size_stack_LINUX): Rename to ffi_size_stack_pa32. Handle long
|
||||
double on PA_HPUX.
|
||||
(ffi_prep_cif_machdep): Likewise.
|
||||
(ffi_call): Likewise.
|
||||
(ffi_closure_inner_LINUX): Rename to ffi_closure_inner_pa32. Change
|
||||
return type to ffi_status. Simplify incrementing of stack slot
|
||||
variable. Only copy floating point argument registers when PA_LINUX
|
||||
is true. Reformat debug statement.
|
||||
Add support for FFI_TYPE_SMALL_STRUCT2, FFI_TYPE_SMALL_STRUCT4 and
|
||||
FFI_TYPE_SMALL_STRUCT8.
|
||||
(ffi_closure_LINUX): Rename to ffi_closure_pa32. Add 'extern' to
|
||||
declaration.
|
||||
(ffi_prep_closure): Make linux trampoline conditional on PA_LINUX.
|
||||
Add nops to cache flush. Add trampoline for PA_HPUX.
|
||||
* src/pa/hpux32.S: New file.
|
||||
* src/pa/linux.S (ffi_call_LINUX): Rename to ffi_call_pa32. Rename
|
||||
ffi_prep_args_LINUX to ffi_prep_args_pa32.
|
||||
Localize labels. Add support for 2, 4 and 8-byte small structs. Handle
|
||||
unaligned destinations in 3, 5, 6 and 7-byte small structs. Order
|
||||
argument type checks so that common argument types appear first.
|
||||
(ffi_closure_LINUX): Rename to ffi_closure_pa32. Rename
|
||||
ffi_closure_inner_LINUX to ffi_closure_inner_pa32.
|
||||
|
||||
2006-03-24 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* src/powerpc/ffitarget.h (enum ffi_abi): Add FFI_LINUX. Default
|
||||
for 32-bit using IBM extended double format. Fix FFI_LAST_ABI.
|
||||
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Handle linux variant of
|
||||
FFI_TYPE_LONGDOUBLE.
|
||||
(ffi_prep_args64): Assert using IBM extended double.
|
||||
(ffi_prep_cif_machdep): Don't munge FFI_TYPE_LONGDOUBLE type.
|
||||
Handle FFI_LINUX FFI_TYPE_LONGDOUBLE return and args.
|
||||
(ffi_call): Handle FFI_LINUX.
|
||||
(ffi_closure_helper_SYSV): Non FFI_LINUX long double return needs
|
||||
gpr3 return pointer as for struct return. Handle FFI_LINUX
|
||||
FFI_TYPE_LONGDOUBLE return and args. Don't increment "nf"
|
||||
unnecessarily.
|
||||
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Load both f1 and f2
|
||||
for FFI_TYPE_LONGDOUBLE. Move epilogue insns into case table.
|
||||
Don't use r6 as pointer to results, instead use sp offset. Don't
|
||||
make a special call to load lr with case table address, instead
|
||||
use offset from previous call.
|
||||
* src/powerpc/sysv.S (ffi_call_SYSV): Save long double return.
|
||||
* src/powerpc/linux64.S (ffi_call_LINUX64): Simplify long double
|
||||
return.
|
||||
|
||||
2006-03-15 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* src/sh64/ffi.c (ffi_prep_cif_machdep): Handle float arguments
|
||||
passed with FP registers correctly.
|
||||
(ffi_closure_helper_SYSV): Likewise.
|
||||
* src/sh64/sysv.S: Likewise.
|
||||
|
||||
2006-03-01 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libffi.special/unwindtest.cc (closure_test_fn): Mark cif,
|
||||
args and userdata unused.
|
||||
(closure_test_fn1): Mark cif and userdata unused.
|
||||
(main): Remove unused res.
|
||||
|
||||
2006-02-28 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libffi.call/call.exp: Adjust FSF address. Add test runs for
|
||||
-O2, -O3, -Os and the warning flags -W -Wall.
|
||||
* testsuite/libffi.special/special.exp: Likewise.
|
||||
* testsuite/libffi.call/ffitest.h: Add an __UNUSED__ macro to mark
|
||||
unused parameter unused for gcc or else do nothing.
|
||||
* testsuite/libffi.special/ffitestcxx.h: Likewise.
|
||||
* testsuite/libffi.call/cls_12byte.c (cls_struct_12byte_gn): Mark cif
|
||||
and userdata unused.
|
||||
* testsuite/libffi.call/cls_16byte.c (cls_struct_16byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_18byte.c (cls_struct_18byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_19byte.c (cls_struct_19byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_1_1byte.c (cls_struct_1_1byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_20byte.c (cls_struct_20byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_20byte1.c (cls_struct_20byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_24byte.c (cls_struct_24byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_2byte.c (cls_struct_2byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_3_1byte.c (cls_struct_3_1byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_3byte1.c (cls_struct_3byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_3byte2.c (cls_struct_3byte_gn1): Likewise.
|
||||
* testsuite/libffi.call/cls_4_1byte.c (cls_struct_4_1byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_4byte.c (cls_struct_4byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_5_1_byte.c (cls_struct_5byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_5byte.c (cls_struct_5byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_64byte.c (cls_struct_64byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_6_1_byte.c (cls_struct_6byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_6byte.c (cls_struct_6byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_7_1_byte.c (cls_struct_7byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_7byte.c (cls_struct_7byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_8byte.c (cls_struct_8byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_9byte1.c (cls_struct_9byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_9byte2.c (cls_struct_9byte_gn): Likewise.
|
||||
* testsuite/libffi.call/cls_align_double.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_float.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_longdouble.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_pointer.c (cls_struct_align_fn): Cast
|
||||
void* to avoid compiler warning.
|
||||
(main): Likewise.
|
||||
(cls_struct_align_gn): Mark cif and userdata unused.
|
||||
* testsuite/libffi.call/cls_align_sint16.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_sint32.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_sint64.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_uint16.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_align_uint32.c (cls_struct_align_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/cls_double.c (cls_ret_double_fn): Likewise.
|
||||
* testsuite/libffi.call/cls_float.c (cls_ret_float_fn): Likewise.
|
||||
* testsuite/libffi.call/cls_multi_schar.c (test_func_gn): Mark cif and
|
||||
data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_multi_sshort.c (test_func_gn): Mark cif and
|
||||
data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_multi_sshortchar.c (test_func_gn): Mark cif
|
||||
and data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_multi_uchar.c (test_func_gn): Mark cif and
|
||||
data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_multi_ushort.c (test_func_gn): Mark cif and
|
||||
data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_multi_ushortchar.c (test_func_gn): Mark cif
|
||||
and data unused.
|
||||
(main): Cast res_call to silence gcc.
|
||||
* testsuite/libffi.call/cls_schar.c (cls_ret_schar_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_schar_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/cls_sint.c (cls_ret_sint_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_sint_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/cls_sshort.c (cls_ret_sshort_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_sshort_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/cls_uchar.c (cls_ret_uchar_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_uchar_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_uint_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/cls_ulonglong.c (cls_ret_ulonglong_fn): Mark cif
|
||||
and userdata unused.
|
||||
* testsuite/libffi.call/cls_ushort.c (cls_ret_ushort_fn): Mark cif and
|
||||
userdata unused.
|
||||
(cls_ret_ushort_fn): Cast printf parameter to silence gcc.
|
||||
* testsuite/libffi.call/float.c (floating): Remove unused parameter e.
|
||||
* testsuite/libffi.call/float1.c (main): Remove unused variable i.
|
||||
Cleanup white spaces.
|
||||
* testsuite/libffi.call/negint.c (checking): Remove unused variable i.
|
||||
* testsuite/libffi.call/nested_struct.c (cls_struct_combined_gn): Mark
|
||||
cif and userdata unused.
|
||||
* testsuite/libffi.call/nested_struct1.c (cls_struct_combined_gn):
|
||||
Likewise.
|
||||
* testsuite/libffi.call/nested_struct10.c (B_gn): Likewise.
|
||||
* testsuite/libffi.call/nested_struct2.c (B_fn): Adjust printf
|
||||
formatters to silence gcc.
|
||||
(B_gn): Mark cif and userdata unused.
|
||||
* testsuite/libffi.call/nested_struct3.c (B_gn): Mark cif and userdata
|
||||
unused.
|
||||
* testsuite/libffi.call/nested_struct4.c: Mention related PR.
|
||||
(B_gn): Mark cif and userdata unused.
|
||||
* testsuite/libffi.call/nested_struct5.c (B_gn): Mark cif and userdata
|
||||
unused.
|
||||
* testsuite/libffi.call/nested_struct6.c: Mention related PR.
|
||||
(B_gn): Mark cif and userdata unused.
|
||||
* testsuite/libffi.call/nested_struct7.c (B_gn): Mark cif and userdata
|
||||
unused.
|
||||
* testsuite/libffi.call/nested_struct8.c (B_gn): Likewise.
|
||||
* testsuite/libffi.call/nested_struct9.c (B_gn): Likewise.
|
||||
* testsuite/libffi.call/problem1.c (stub): Likewise.
|
||||
* testsuite/libffi.call/pyobjc-tc.c (main): Cast the result to silence
|
||||
gcc.
|
||||
* testsuite/libffi.call/return_fl2.c (return_fl): Add the note mentioned
|
||||
in the last commit for this test case in the test case itself.
|
||||
* testsuite/libffi.call/closure_fn0.c (closure_test_fn0): Mark cif as
|
||||
unused.
|
||||
* testsuite/libffi.call/closure_fn1.c (closure_test_fn1): Likewise.
|
||||
* testsuite/libffi.call/closure_fn2.c (closure_test_fn2): Likewise.
|
||||
* testsuite/libffi.call/closure_fn3.c (closure_test_fn3): Likewise.
|
||||
* testsuite/libffi.call/closure_fn4.c (closure_test_fn0): Likewise.
|
||||
* testsuite/libffi.call/closure_fn5.c (closure_test_fn5): Likewise.
|
||||
* testsuite/libffi.call/closure_fn6.c (closure_test_fn0): Likewise.
|
||||
|
||||
2006-02-22 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* src/sh/sysv.S: Fix register numbers in the FDE for
|
||||
ffi_closure_SYSV.
|
||||
|
||||
2006-02-20 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libffi.call/return_fl2.c (return_fl): Remove static
|
||||
declaration to avoid a false negative on ix86. See PR323.
|
||||
|
||||
2006-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable
|
||||
and cast integer to void * if needed. Update the pointer to
|
||||
the FP register saved area correctly.
|
||||
|
||||
2006-02-17 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libffi.call/nested_struct6.c: XFAIL this test until PR25630
|
||||
is fixed.
|
||||
* testsuite/libffi.call/nested_struct4.c: Likewise.
|
||||
|
||||
2006-02-16 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libffi.call/return_dbl.c: New test case.
|
||||
* testsuite/libffi.call/return_dbl1.c: Likewise.
|
||||
* testsuite/libffi.call/return_dbl2.c: Likewise.
|
||||
* testsuite/libffi.call/return_fl.c: Likewise.
|
||||
* testsuite/libffi.call/return_fl1.c: Likewise.
|
||||
* testsuite/libffi.call/return_fl2.c: Likewise.
|
||||
* testsuite/libffi.call/return_fl3.c: Likewise.
|
||||
* testsuite/libffi.call/closure_fn6.c: Likewise.
|
||||
|
||||
* testsuite/libffi.call/nested_struct2.c: Remove ffi_type_mylong
|
||||
definition.
|
||||
* testsuite/libffi.call/ffitest.h: Add ffi_type_mylong definition
|
||||
here to be used by other test cases too.
|
||||
|
||||
* testsuite/libffi.call/nested_struct10.c: New test case.
|
||||
* testsuite/libffi.call/nested_struct9.c: Likewise.
|
||||
* testsuite/libffi.call/nested_struct8.c: Likewise.
|
||||
* testsuite/libffi.call/nested_struct7.c: Likewise.
|
||||
* testsuite/libffi.call/nested_struct6.c: Likewise.
|
||||
* testsuite/libffi.call/nested_struct5.c: Likewise.
|
||||
* testsuite/libffi.call/nested_struct4.c: Likewise.
|
||||
|
||||
2006-01-21 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* configure.ac: Enable libffi for sparc64-*-freebsd*.
|
||||
* configure: Rebuilt.
|
||||
|
||||
2006-01-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* src/powerpc/sysv.S (smst_two_register): Don't call __ashldi3,
|
||||
instead do the shifting inline.
|
||||
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't compute %r5
|
||||
shift count unconditionally. Simplify load sequences for 1, 2, 3, 4
|
||||
and 8 byte structs, for the remaining struct sizes don't call
|
||||
__lshrdi3, instead do the shifting inline.
|
||||
|
||||
2005-12-07 Thiemo Seufer <ths@networkno.de>
|
||||
|
||||
* src/mips/ffitarget.h: Remove obsolete sgidefs.h include. Add
|
||||
missing parentheses.
|
||||
* src/mips/o32.S (ffi_call_O32): Code formatting. Define
|
||||
and use A3_OFF, FP_OFF, RA_OFF. Micro-optimizations.
|
||||
(ffi_closure_O32): Likewise, but with newly defined A3_OFF2,
|
||||
A2_OFF2, A1_OFF2, A0_OFF2, RA_OFF2, FP_OFF2, S0_OFF2, GP_OFF2,
|
||||
V1_OFF2, V0_OFF2, FA_1_1_OFF2, FA_1_0_OFF2, FA_0_1_OFF2,
|
||||
FA_0_0_OFF2.
|
||||
* src/mips/ffi.c (ffi_prep_args): Code formatting. Fix
|
||||
endianness bugs.
|
||||
(ffi_prep_closure): Improve trampoline instruction scheduling.
|
||||
(ffi_closure_mips_inner_O32): Fix endianness bugs.
|
||||
|
||||
2005-12-03 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* src/powerpc/ffi.c: Formatting.
|
||||
(ffi_prep_args_SYSV): Avoid possible aliasing problems by using unions.
|
||||
(ffi_prep_args64): Likewise.
|
||||
|
||||
2005-09-30 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* testsuite/lib/libffi-dg.exp (libffi_target_compile): For
|
||||
|
||||
Reference in New Issue
Block a user