1. 23 Feb, 2005 2 commits
  2. 11 Feb, 2005 1 commit
  3. 08 Feb, 2005 1 commit
  4. 12 Jan, 2005 1 commit
  5. 31 Dec, 2004 2 commits
  6. 27 Dec, 2004 1 commit
  7. 25 Dec, 2004 1 commit
    • ffi64.c (struct register_args): Rename from stackLayout. · 1a0f488c
              * src/x86/ffi64.c (struct register_args): Rename from stackLayout.
              (enum x86_64_reg_class): Add X86_64_COMPLEX_X87_CLASS.
              (merge_classes): Check for it.
              (SSE_CLASS_P): New.
              (classify_argument): Pass byte_offset by value; perform all updates
              inside struct case.
              (examine_argument): Add classes argument; handle
              X86_64_COMPLEX_X87_CLASS.
              (ffi_prep_args): Merge into ...
              (ffi_call): ... here.  Share stack frame with ffi_call_unix64.
              (ffi_prep_cif_machdep): Setup cif->flags for proper structure return.
              (ffi_fill_return_value): Remove.
              (ffi_prep_closure): Remove dead assert.
              (ffi_closure_unix64_inner): Rename from ffi_closure_UNIX64_inner.
              Rewrite to use struct register_args instead of va_list.  Create
              flags for handling structure returns.
              * src/x86/unix64.S: Remove dead strings.
              (ffi_call_unix64): Rename from ffi_call_UNIX64.  Rewrite to share
              stack frame with ffi_call.  Handle structure returns properly.
              (float2sse, floatfloat2sse, double2sse): Remove.
              (sse2float, sse2double, sse2floatfloat): Remove.
              (ffi_closure_unix64): Rename from ffi_closure_UNIX64.  Rewrite
              to handle structure returns properly.
      
      From-SVN: r92602
      Richard Henderson committed
  8. 08 Dec, 2004 1 commit
  9. 02 Dec, 2004 1 commit
  10. 29 Nov, 2004 1 commit
  11. 25 Nov, 2004 2 commits
  12. 24 Nov, 2004 2 commits
    • libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all. · 2c92e90f
      2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
      	from CVS libtool to always pass_all.
      	* boehm-gc/configure: Regenerate.
      	* libffi/configure: Regenerate.
      	* libgfortran/configure: Regenerate.
      	* libjava/configure: Regenerate.
      	* libobjc/configure: Regenerate.
      	* libstdc++-v3/configure: Regenerate.
      	* zlib/configure: Regenerate.
      
      From-SVN: r91200
      Kelley Cook committed
    • target-libpath.exp: New file defining set_ld_library_path_env_vars and… · 1df8e834
      target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars.
      
      	* lib/target-libpath.exp: New file defining set_ld_library_path_env_vars
      	and restore_ld_library_path_env_vars.
      	* g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp,
      	lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs.
      	* ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH
      	to LD_LIBRARY_PATH.  Export LD_LIBRARY_PATH.
      
      	* testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libjava.exp,
      	testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
      
      From-SVN: r91137
      John David Anglin committed
  13. 23 Nov, 2004 2 commits
  14. 22 Nov, 2004 1 commit
  15. 27 Oct, 2004 2 commits
  16. 25 Oct, 2004 2 commits
    • re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite) · 1e02510f
      gcc/testsuite:
      	PR other/18138
      	* lib/g++.exp: Accept more than one multilib libgcc.
      	* lib/gcc-dg.exp: Likewise.
      	* lib/objc.exp: Likewise.
      	* lib/treelang.exp: Likewise.
      	* lib/gfortran.exp: Likewise.
      
      libffi:
      	PR other/18138
      	* testsuite/lib/libffi-dg.exp: Accept more than one multilib
      	libgcc.
      
      libjava:
      	PR other/18138
      	* testsuite/lib/libjava.exp: Accept more than one multilib
      	libgcc.
      
      libmudflap!:
      	PR other/18138
      	* testsuite/lib/libmudflap.exp: Accept more than one multilib
      	libgcc.
      
      libstdc++-v3:
      	PR other/18138
      	* testsuite/lib/libstdc++.exp: Accept more than one multilib
      	libgcc.
      
      From-SVN: r89528
      Eric Botcazou committed
    • (FFII_CLOSURES): Set to 0. · d9a193b2
      From-SVN: r89527
      Kazuhiro Inaoka committed
  17. 21 Oct, 2004 1 commit
  18. 18 Oct, 2004 1 commit
  19. 13 Oct, 2004 1 commit
    • Makefile.am: Add m32r support. · a472e9d4
      * Makefile.am: Add m32r support.
      * configure.ac: Likewise.
      * Makefile.in: Regenerate.
      * confiugre: Regenerate.
      * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF
       (uint64, sint64, double, longdouble)
      * src/m32r: New directory.
      * src/m32r/ffi.c: New file.
      * src/m32r/sysv.S: Likewise.
      * src/m32r/ffitarget.h: Likewise.
      
      From-SVN: r88993
      Kazuhiro Inaoka committed
  20. 02 Oct, 2004 1 commit
  21. 14 Sep, 2004 1 commit
  22. 04 Sep, 2004 2 commits
    • many_win32.c: Remove whitespaces. · 2010caea
      2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/libffi.call/many_win32.c: Remove whitespaces.
      	* testsuite/libffi.call/promotion.c: Likewise.
      	* testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
      	whitespaces.
      	* testsuite/libffi.call/return_sc.c: Likewise.
      	* testsuite/libffi.call/return_uc.c: Likewise.
      
      From-SVN: r87091
      Andreas Tobler committed
    • darwin.S: Fix comments and identation. · 894be816
      2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* src/powerpc/darwin.S: Fix comments and identation.
      	* src/powerpc/darwin_closure.S: Likewise.
      
      From-SVN: r87090
      Andreas Tobler committed
  23. 02 Sep, 2004 2 commits
    • ffi_darwin.c: Add flag for longdouble return values. · 2fe7404a
      2004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* src/powerpc/ffi_darwin.c: Add flag for longdouble return values.
      	(ffi_prep_args): Handle longdouble arguments.
      	(ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for
      	longdouble.
      	(ffi_closure_helper_DARWIN): Add closure handling for longdouble.
      	* src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble
      	values.
      	* src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise.
      	* src/types.c: Defined longdouble size and alignment for darwin.
      
      From-SVN: r86992
      Andreas Tobler committed
    • 004-09-02 Andreas Tobler <a.tobler@schweiz.ch> · 16070e45
      	* src/powerpc/aix.S: Remove whitespaces.
      	* src/powerpc/aix_closure.S: Likewise.
      	* src/powerpc/asm.h: Likewise.
      	* src/powerpc/ffi.c: Likewise.
      	* src/powerpc/ffitarget.h: Likewise.
      	* src/powerpc/linux64.S: Likewise.
      	* src/powerpc/linux64_closure.S: Likewise.
      	* src/powerpc/ppc_closure.S: Likewise.
      	* src/powerpc/sysv.S: Likewise.
      
      From-SVN: r86991
      Andreas Tobler committed
  24. 30 Aug, 2004 2 commits
    • Fix brown-bag typo in ChangeLog entry. · a23adb4d
      From-SVN: r86786
      Anthony Green committed
    • Makefile.am: Add frv support. · 88d8c771
      2004-08-30  Anthony Green  <green@redhat.com>
      
              * Makefile.am: Add frv support.
              * Makefile.in, testsuite/Makefile.in: Rebuilt.
              * configure.ac: Read configure.host.
              * configure, aclocal.m4: Rebuilt.
              * configure.host: New file.  frv-elf needs libgloss.
              * include/ffi.h.in: Force ffi_closure to have a nice big (8)
              alignment.  This is needed to frv and should harm the others.
              * include/ffi_common.h (ALIGN_DOWN): New macro.
              * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files.
      
      From-SVN: r86779
      Anthony Green committed
  25. 25 Aug, 2004 1 commit
    • closure_fn0.c: Xfail mips64* instead of mips*. · 4c5f37d5
      2004-08-24  David Daney  <daney@avtrex.com>
      
      	* testsuite/libffi.call/closure_fn0.c: Xfail mips64* instead of mips*.
      	* testsuite/libffi.call/closure_fn1.c: Likewise.
      	* testsuite/libffi.call/closure_fn2.c  Likewise.
      	* testsuite/libffi.call/closure_fn3.c: Likewise.
      	* testsuite/libffi.call/closure_fn4.c: Likewise.
      	* testsuite/libffi.call/closure_fn5.c: Likewise.
      	* testsuite/libffi.call/cls_18byte.c: Likewise.
      	* testsuite/libffi.call/cls_19byte.c: Likewise.
      	* testsuite/libffi.call/cls_1_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_20byte.c: Likewise.
      	* testsuite/libffi.call/cls_20byte1.c: Likewise.
      	* testsuite/libffi.call/cls_24byte.c: Likewise.
      	* testsuite/libffi.call/cls_2byte.c: Likewise.
      	* testsuite/libffi.call/cls_3_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_3byte1.c: Likewise.
      	* testsuite/libffi.call/cls_3byte2.c: Likewise.
      	* testsuite/libffi.call/cls_4_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_4byte.c: Likewise.
      	* testsuite/libffi.call/cls_64byte.c: Likewise.
      	* testsuite/libffi.call/cls_6byte.c: Likewise.
      	* testsuite/libffi.call/cls_7byte.c: Likewise.
      	* testsuite/libffi.call/cls_8byte.c: Likewise.
      	* testsuite/libffi.call/cls_9byte1.c: Likewise.
      	* testsuite/libffi.call/cls_9byte2.c: Likewise.
      	* testsuite/libffi.call/cls_align_double.c: Likewise.
      	* testsuite/libffi.call/cls_align_float.c: Likewise.
      	* testsuite/libffi.call/cls_align_longdouble.c: Likewise.
      	* testsuite/libffi.call/cls_align_pointer.c: Likewise.
      	* testsuite/libffi.call/cls_align_sint16.c: Likewise.
      	* testsuite/libffi.call/cls_align_sint32.c: Likewise.
      	* testsuite/libffi.call/cls_align_sint64.c: Likewise.
      	* testsuite/libffi.call/cls_align_uint16.c: Likewise.
      	* testsuite/libffi.call/cls_align_uint32.c: Likewise.
      	* testsuite/libffi.call/cls_align_uint64.c: Likewise.
      	* testsuite/libffi.call/cls_double.c: Likewise.
      	* testsuite/libffi.call/cls_float.c: Likewise.
      	* testsuite/libffi.call/cls_multi_schar.c: Likewise.
      	* testsuite/libffi.call/cls_multi_sshort.c: Likewise.
      	* testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
      	* testsuite/libffi.call/cls_multi_uchar.c: Likewise.
      	* testsuite/libffi.call/cls_multi_ushort.c: Likewise.
      	* testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
      	* testsuite/libffi.call/cls_schar.c: Likewise.
      	* testsuite/libffi.call/cls_sint.c: Likewise.
      	* testsuite/libffi.call/cls_sshort.c: Likewise.
      	* testsuite/libffi.call/cls_uchar.c: Likewise.
      	* testsuite/libffi.call/cls_uint.c: Likewise.
      	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
      	* testsuite/libffi.call/cls_ushort.c: Likewise.
      	* testsuite/libffi.call/nested_struct.c: Likewise.
      	* testsuite/libffi.call/nested_struct1.c: Likewise.
      	* testsuite/libffi.call/nested_struct2.c: Likewise.
      	* testsuite/libffi.call/nested_struct3.c: Likewise.
      	* testsuite/libffi.call/problem1.c: Likewise.
      	* testsuite/libffi.special/unwindtest.cc: Likewise.
      	* testsuite/libffi.call/cls_12byte.c: Likewise and set return value
      	to zero.
      	* testsuite/libffi.call/cls_16byte.c: Likewise.
      	* testsuite/libffi.call/cls_5byte.c: Likewise.
      
      From-SVN: r86534
      David Daney committed
  26. 23 Aug, 2004 1 commit
    • re PR libffi/13141 (FAIL: InvokeReturn output - source compiled test <libffi problem>) · 39dca114
      2004-08-23  David Daney <daney@avtrex.com>
      
      	PR libgcj/13141
      	* src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI.
      	* src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
      	(ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point
      	parameters and return types.
      	(ffi_call): Handle FFI_O32_SOFT_FLOAT ABI.
      	(ffi_prep_closure): Ditto.
      	(ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix
      	alignment calculations.
      	* src/mips/o32.S (ffi_closure_O32): Don't use floating point
      	instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant.
      
      From-SVN: r86429
      David Daney committed
  27. 15 Aug, 2004 1 commit
    • ffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as… · b790003a
      ffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as return type for any 64-bit...
      
      2004-08-14  Casey Marshall <csm@gnu.org>
      
      	* src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
      	contain `FFI_TYPE_UINT64' as return type for any 64-bit
      	integer (O32 ABI only).
      	(ffi_prep_closure): new function.
      	(ffi_closure_mips_inner_O32): new function.
      	* src/mips/ffitarget.h: Define `FFI_CLOSURES' and
      	`FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32.
      	* src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return
      	64 bit integers correctly.
      	(ffi_closure_O32): new function.
      	Added DWARF-2 unwind info for both functions.
      
      From-SVN: r86019
      Casey Marshall committed
  28. 10 Aug, 2004 1 commit
  29. 03 Aug, 2004 2 commits
    • configure.in: Turn mt-linux into mt-gnu. · 98a5bb3b
      ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
      	libmudflap for all GNU-based systems (with Glibc).
      	* configure: Regenerate.
      
      config/ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* mt-linux: Rename to ...
      	* mt-gnu: ... this.
      
      libffi/ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
      	* configure: Regenerate.
      
      From-SVN: r85501
      Robert Millan committed
    • acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap()… · 4d447364
      acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset...
      
      2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>
      
      	* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
      	and mmap() explicitly instead of relying on preset autoconf cache
      	variables.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r85500
      Maciej W. Rozycki committed