1. 23 Sep, 2009 1 commit
    • PR libffi/40242, PR libffi/41443 · 29d1370a
      2009-09-23  Matthias Klose  <doko@ubuntu.com>
      
              PR libffi/40242, PR libffi/41443
              * src/arm/sysv.S (__ARM_ARCH__): Define for processors
              __ARM_ARCH_6T2__, __ARM_ARCH_6M__, __ARM_ARCH_7__,
              __ARM_ARCH_7A__, __ARM_ARCH_7R__, __ARM_ARCH_7M__.
              Change the conditionals to __SOFTFP__ || __ARM_EABI__
              for -mfloat-abi=softfp to work.
      
      From-SVN: r152075
      Matthias Klose committed
  2. 17 Sep, 2009 1 commit
  3. 15 Sep, 2009 1 commit
    • java_raw_api.c (ffi_java_raw_to_rvalue): Remove special handling for FFI_TYPE_POINTER. · 5cbf8c8d
      2009-09-15  David Daney  <ddaney@caviumnetworks.com>
      
      	* src/java_raw_api.c (ffi_java_raw_to_rvalue): Remove special
      	handling for FFI_TYPE_POINTER.
      	* src/mips/ffitarget.h (FFI_TYPE_STRUCT_D_SOFT,
      	FFI_TYPE_STRUCT_F_SOFT, FFI_TYPE_STRUCT_DD_SOFT,
      	FFI_TYPE_STRUCT_FF_SOFT, FFI_TYPE_STRUCT_FD_SOFT,
      	FFI_TYPE_STRUCT_DF_SOFT, FFI_TYPE_STRUCT_SOFT): New defines.
      	(FFI_N32_SOFT_FLOAT, FFI_N64_SOFT_FLOAT): New ffi_abi enumerations.
      	(enum ffi_abi): Set FFI_DEFAULT_ABI for soft-float.
      	* src/mips/n32.S (ffi_call_N32): Add handling for soft-float
      	structure and pointer returns.
      	(ffi_closure_N32): Add handling for pointer returns.
      	* src/mips/ffi.c (ffi_prep_args, calc_n32_struct_flags,
      	calc_n32_return_struct_flags): Handle soft-float.
      	(ffi_prep_cif_machdep):  Handle soft-float, fix pointer handling.
      	(ffi_call_N32): Declare proper argument types.
      	(ffi_call, copy_struct_N32, ffi_closure_mips_inner_N32): Handle
      	soft-float.
      
      From-SVN: r151726
      David Daney committed
  4. 24 Aug, 2009 1 commit
    • Update AC_PREREQ entries to 2.64 · df58e648
      /:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      intl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libdecnumber/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libiberty/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/classpath/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/libltdl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.  Remove FIXME.
      
      libssp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libobjc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libstdc++-v3/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libada/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgfortran/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      boehm-gc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gnattools/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      fixincludes/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libmudflap/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      zlib/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libffi/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libcpp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgomp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      From-SVN: r151059
      Ralf Wildenhues committed
  5. 22 Aug, 2009 2 commits
    • Cleanups after the update to Autoconf 2.64, Automake 1.11. · 70fa0efa
      /:
      	* configure.ac: Remove --with-datarootdir, --with-docdir,
      	--with-pdfdir, --with-htmldir switches.
      	* configure: Regenerate.
      
      gcc/:
      	* configure.ac: Remove --with-datarootdir, --with-docdir,
      	--with-htmldir switches.  No need to call AC_SUBST for
      	datarootdir, docdir, htmldir any more.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration): Document --datarootdir,
      	--docdir, --htmldir, --pdfdir; update documentation for
      	--infodir, --mandir.
      	(Prerequisites): Bump Autoconf version to 2.64, Automake to
      	1.11, M4 to 1.4.6.
      
      libgfortran/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libjava/classpath/:
      	* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
      	Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
      
      libjava/:
      	* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/:
      	* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
      	2.64 and Automake 1.11 in examples; update link to Autoconf
      	manual page about quadrigraphs.
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libssp/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      boehm-gc/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libmudflap/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      zlib/:
      	* Makefile.am (install-html, install-pdf, html): Remove.
      	* Makefile.in: Regenerate.
      
      libffi/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libgomp/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      From-SVN: r151015
      Ralf Wildenhues committed
    • Regenerate tree using Autoconf 2.64 and Automake 1.11. · 5213506e
      config/:
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.
      
      :
      	* configure: Regenerate.
      
      intl/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libiberty/:
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      boehm-gc/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/gc_config.h.in: Regenerate.
      
      fixincludes/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      gcc/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libgcc/:
      	* configure: Regenerate.
      
      gnattools/:
      	* configure: Regenerate.
      
      libada/:
      	* configure: Regenerate.
      
      libcpp/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libdecnumber/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      libffi/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* fficonfig.h.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libgfortran/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libgomp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/classpath/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* doc/api/Makefile.in: Regenerate.
      	* examples/Makefile.in: Regenerate.
      	* external/Makefile.in: Regenerate.
      	* external/jsr166/Makefile.in: Regenerate.
      	* external/relaxngDatatype/Makefile.in: Regenerate.
      	* external/sax/Makefile.in: Regenerate.
      	* external/w3c_dom/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* lib/Makefile.in: Regenerate.
      	* native/Makefile.in: Regenerate.
      	* native/fdlibm/Makefile.in: Regenerate.
      	* native/jawt/Makefile.in: Regenerate.
      	* native/jni/Makefile.in: Regenerate.
      	* native/jni/classpath/Makefile.in: Regenerate.
      	* native/jni/gconf-peer/Makefile.in: Regenerate.
      	* native/jni/gstreamer-peer/Makefile.in: Regenerate.
      	* native/jni/gtk-peer/Makefile.in: Regenerate.
      	* native/jni/java-io/Makefile.in: Regenerate.
      	* native/jni/java-lang/Makefile.in: Regenerate.
      	* native/jni/java-math/Makefile.in: Regenerate.
      	* native/jni/java-net/Makefile.in: Regenerate.
      	* native/jni/java-nio/Makefile.in: Regenerate.
      	* native/jni/java-util/Makefile.in: Regenerate.
      	* native/jni/midi-alsa/Makefile.in: Regenerate.
      	* native/jni/midi-dssi/Makefile.in: Regenerate.
      	* native/jni/native-lib/Makefile.in: Regenerate.
      	* native/jni/qt-peer/Makefile.in: Regenerate.
      	* native/jni/xmlj/Makefile.in: Regenerate.
      	* native/plugin/Makefile.in: Regenerate.
      	* resource/Makefile.in: Regenerate.
      	* scripts/Makefile.in: Regenerate.
      	* tools/Makefile.in: Regenerate.
      
      libjava/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/libltdl/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config-h.in: Regenerate.
      	* configure: Regenerate.
      
      libmudflap/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libobjc/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libssp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libstdc++-v3/:
      	* Makefile.in: Regenerate.
      	* acinclude.m4: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      zlib/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r151014
      Ralf Wildenhues committed
  6. 30 Jul, 2009 1 commit
    • extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand for Autoconf 2.62 or newer. · 1b3b24c2
      config/
      	* extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand
      	for Autoconf 2.62 or newer.
      	* tls.m4 (GCC_CHECK_TLS): Fix m4 quotation.
      	* no-executables.m4 (_AC_COMPILER_EXEEXT): Fix m4 quotation.
      	* override.m4 (m4_copy_force, m4_rename_force): Provide
      	macros if not defined.
      	(AC_PREREQ): Use m4_copy_force.
      
      boehm-gc/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libada/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libffi/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libgfortran/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libgomp/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libjava/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libmudflap/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libobjc/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libssp/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      zlib/
      	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
      
      libstdc++-v3/
      	* acinclude.m4 (GLIBCXX_CONFIGURE): Use m4_rename_force.
      
      From-SVN: r150269
      Ralf Wildenhues committed
  7. 24 Jul, 2009 1 commit
    • re PR libffi/40807 (libffi.call/return_sc.c) · 723512ba
      	PR libffi/40807
      	* src/x86/ffi.c (ffi_prep_cif_machdep): Also use sign/zero-extending
      	return types for X86_WIN32.
      	* src/x86/win32.S (_ffi_call_SYSV): Handle omitted return types.
      	(_ffi_call_STDCALL, _ffi_closure_SYSV, _ffi_closure_raw_SYSV,
      	_ffi_closure_STDCALL): Likewise.
      
      	* src/closures.c (is_selinux_enabled): Define to const 0 for Cygwin.
      	(dlmmap, dlmunmap): Also use these functions on Cygwin.
      
      From-SVN: r150042
      Dave Korn committed
  8. 11 Jul, 2009 1 commit
    • re PR testsuite/40699 (All sparcv9 libjava execution tests fail on Solaris 11/SPARC) · 33cde516
      gcc/testsuite/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp,
      	lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp,
      	lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp,
      	g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit.
      
      libstdc++-v3/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit.
      
      libjava/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libjava.exp: Revert 2009-06-30 commit.
      
      libgomp/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits.
      	* testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp,
      	testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits.
      
      libffi/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and
      	2009-06-30 commits.
      
      libmudflap/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libmudflap.exp: Revert 2009-06-30 commit.
      
      From-SVN: r149508
      Richard Sandiford committed
  9. 01 Jul, 2009 2 commits
  10. 30 Jun, 2009 1 commit
    • gcc-defs.exp (gcc-set-multilib-library-path): Delete. · b30bfd40
      gcc/testsuite/
      	* lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete.
      	* lib/target-libpath.exp (ld_library_path_vars): New variable.
      	(init_ld_library_path_env_vars): New function, replacing the
      	orig_*_saved assignments.  Call it after defining it.
      	(set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars.
      	(restore_ld_library_path_env_vars): Likewise.
      	(add_path, find_libgcc_s): New functions.
      	* lib/objc.exp (objc_init): Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	(objc_target_compile): Don't add "." to ld_library_path.
      	Use add_path.
      	* lib/gfortran.exp (gfortran_link_flags): Don't add "." to
      	ld_library_path.  Use add_path.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/g++.exp (g++_link_flags): Likewise.
      	* lib/obj-c++.exp (obj-c++_link_flags): Likewise.
      	* lib/c-torture.exp: Do not manipulate ld_library_path at the
      	top level; do it...
      	(c-torture-execute): ...here instead.  Use $ld_library_path_multilib
      	to tell when this needs to happen.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/gcc-dg.exp: Likewise.
      	* lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path.
      	* g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "."
      	unless it is in $ALT_LD_LIBRARY_PATH.
      	* g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise.
      
      libffi/
      	* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s
      	to ld_library_path, not every libgcc multilib directory.
      
      libgomp/
      	* testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
      	ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      	* testsuite/libgomp.c/c.exp (ld_library_path): Don't call
      	gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
      	* testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
      	Use add_path.
      	* testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
      
      libjava/
      	* testsuite/lib/libjava.exp (libjava_init): Just add
      	find_libgcc_s to libjava_libgcc_s_path, rather than every
      	libgcc multilib directory.
      	(libjava_arguments): Explain why we add "." to ld_library_path.
      	(gcj_invoke, exec_gij, libjava_invoke): Use add_path.
      
      libmudflap/
      	* testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      libstdc++-v3/
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      From-SVN: r149113
      Richard Sandiford committed
  11. 16 Jun, 2009 4 commits
  12. 15 Jun, 2009 2 commits
  13. 12 Jun, 2009 1 commit
    • [multiple changes] · 062b8279
      2009-06-12  Andrew Haley  <aph@redhat.com>
      
      	* ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c,
      	testsuite/libffi.call/cls_align_uint64.c,
      	testsuite/libffi.call/cls_ulonglong.c,
      	testsuite/libffi.call/return_ll1.c,
      	testsuite/libffi.call/stret_medium2.c: Fix printf format
      	specifiers.
      	testsuite/libffi.special/unwindtest.cc: include stdint.h.
      
      2009-06-11  Timothy Wall  <twall@users.sf.net>
      
      	* Makefile.am,
              configure.ac,
              include/ffi.h.in,
              include/ffi_common.h,
              src/closures.c,
              src/dlmalloc.c,
              src/x86/ffi.c,
              src/x86/ffitarget.h,
              src/x86/win64.S (new),
      	README: Added win64 support (mingw or MSVC)
              * Makefile.in,
              include/Makefile.in,
              man/Makefile.in,
              testsuite/Makefile.in,
              configure,
              aclocal.m4: Regenerated
              * ltcf-c.sh: properly escape cygwin/w32 path
              * man/ffi_call.3: Clarify size requirements for return value.
              * src/x86/ffi64.c: Fix filename in comment.
              * src/x86/win32.S: Remove unused extern.
      
              * testsuite/libffi.call/closure_fn0.c,
              testsuite/libffi.call/closure_fn1.c,
              testsuite/libffi.call/closure_fn2.c,
              testsuite/libffi.call/closure_fn3.c,
              testsuite/libffi.call/closure_fn4.c,
              testsuite/libffi.call/closure_fn5.c,
              testsuite/libffi.call/closure_fn6.c,
      	testsuite/libffi.call/closure_stdcall.c,
      	testsuite/libffi.call/cls_12byte.c,
      	testsuite/libffi.call/cls_16byte.c,
      	testsuite/libffi.call/cls_18byte.c,
      	testsuite/libffi.call/cls_19byte.c,
      	testsuite/libffi.call/cls_1_1byte.c,
      	testsuite/libffi.call/cls_20byte.c,
      	testsuite/libffi.call/cls_20byte1.c,
      	testsuite/libffi.call/cls_24byte.c,
      	testsuite/libffi.call/cls_2byte.c,
      	testsuite/libffi.call/cls_3_1byte.c,
      	testsuite/libffi.call/cls_3byte1.c,
       	testsuite/libffi.call/cls_3byte2.c,
       	testsuite/libffi.call/cls_4_1byte.c,
       	testsuite/libffi.call/cls_4byte.c,
       	testsuite/libffi.call/cls_5_1_byte.c,
       	testsuite/libffi.call/cls_5byte.c,
       	testsuite/libffi.call/cls_64byte.c,
       	testsuite/libffi.call/cls_6_1_byte.c,
       	testsuite/libffi.call/cls_6byte.c,
       	testsuite/libffi.call/cls_7_1_byte.c,
       	testsuite/libffi.call/cls_7byte.c,
       	testsuite/libffi.call/cls_8byte.c,
       	testsuite/libffi.call/cls_9byte1.c,
       	testsuite/libffi.call/cls_9byte2.c,
       	testsuite/libffi.call/cls_align_double.c,
       	testsuite/libffi.call/cls_align_float.c,
       	testsuite/libffi.call/cls_align_longdouble.c,
       	testsuite/libffi.call/cls_align_longdouble_split.c,
       	testsuite/libffi.call/cls_align_longdouble_split2.c,
       	testsuite/libffi.call/cls_align_pointer.c,
       	testsuite/libffi.call/cls_align_sint16.c,
       	testsuite/libffi.call/cls_align_sint32.c,
       	testsuite/libffi.call/cls_align_sint64.c,
       	testsuite/libffi.call/cls_align_uint16.c,
       	testsuite/libffi.call/cls_align_uint32.c,
       	testsuite/libffi.call/cls_align_uint64.c,
       	testsuite/libffi.call/cls_dbls_struct.c,
       	testsuite/libffi.call/cls_double.c,
       	testsuite/libffi.call/cls_double_va.c,
       	testsuite/libffi.call/cls_float.c,
       	testsuite/libffi.call/cls_longdouble.c,
       	testsuite/libffi.call/cls_longdouble_va.c,
       	testsuite/libffi.call/cls_multi_schar.c,
       	testsuite/libffi.call/cls_multi_sshort.c,
       	testsuite/libffi.call/cls_multi_sshortchar.c,
       	testsuite/libffi.call/cls_multi_uchar.c,
       	testsuite/libffi.call/cls_multi_ushort.c,
       	testsuite/libffi.call/cls_multi_ushortchar.c,
       	testsuite/libffi.call/cls_pointer.c,
       	testsuite/libffi.call/cls_pointer_stack.c,
       	testsuite/libffi.call/cls_schar.c,
       	testsuite/libffi.call/cls_sint.c,
       	testsuite/libffi.call/cls_sshort.c,
       	testsuite/libffi.call/cls_uchar.c,
       	testsuite/libffi.call/cls_uint.c,
       	testsuite/libffi.call/cls_ulonglong.c,
       	testsuite/libffi.call/cls_ushort.c,
       	testsuite/libffi.call/err_bad_abi.c,
       	testsuite/libffi.call/err_bad_typedef.c,
       	testsuite/libffi.call/float2.c,
       	testsuite/libffi.call/huge_struct.c,
       	testsuite/libffi.call/nested_struct.c,
       	testsuite/libffi.call/nested_struct1.c,
       	testsuite/libffi.call/nested_struct10.c,
       	testsuite/libffi.call/nested_struct2.c,
       	testsuite/libffi.call/nested_struct3.c,
       	testsuite/libffi.call/nested_struct4.c,
       	testsuite/libffi.call/nested_struct5.c,
       	testsuite/libffi.call/nested_struct6.c,
       	testsuite/libffi.call/nested_struct7.c,
       	testsuite/libffi.call/nested_struct8.c,
       	testsuite/libffi.call/nested_struct9.c,
       	testsuite/libffi.call/problem1.c,
       	testsuite/libffi.call/return_ldl.c,
       	testsuite/libffi.call/return_ll1.c,
       	testsuite/libffi.call/stret_large.c,
       	testsuite/libffi.call/stret_large2.c,
       	testsuite/libffi.call/stret_medium.c,
       	testsuite/libffi.call/stret_medium2.c,
              testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead
              of checking for MMAP.  Use intptr_t instead of long casts.
      
      2009-06-12  Andrew Haley  <aph@redhat.com>
      
      	* Makefile.am: Remove info_TEXINFOS.
      
      From-SVN: r148433
      Andrew Haley committed
  14. 11 Jun, 2009 1 commit
  15. 09 Jun, 2009 2 commits
    • freebsd.S: Add missing file. · 6aa0b218
      2009-06-09  Andrew Haley  <aph@redhat.com>
      
              * src/x86/freebsd.S: Add missing file.
      
      From-SVN: r148313
      Andrew Haley committed
    • Import from libffi 3.0.8: · b7b857bb
      2009-06-08  Andrew Haley  <aph@redhat.com>
      
      	Import from libffi 3.0.8:
      
      	* doc/libffi.texi: New file.
      	* doc/libffi.info: Likewise.
      	* doc/stamp-vti: Likewise.
      	* man/Makefile.am: New file.
      	* man/ffi_call.3: New file.
      
      	* Makefile.am (EXTRA_DIST): Add src/x86/darwin64.S,
      	src/dlmalloc.c.
      	(nodist_libffi_la_SOURCES): Add X86_FREEBSD.
      
      	* configure.ac: Bump version to 3.0.8.
      	parisc*-*-linux*: Add.
      	i386-*-freebsd* | i386-*-openbsd*: Add.
      	powerpc-*-beos*: Add.
      	AM_CONDITIONAL X86_FREEBSD: Add.
      	AC_CONFIG_FILES: Add man/Makefile.
      
      	* include/ffi.h.in (FFI_FN): Change void (*)() to void (*)(void).
      
      From-SVN: r148309
      Andrew Haley committed
  16. 08 Jun, 2009 2 commits
    • README: Import from libffi 3.0.8. · 491e6ad1
      2009-06-08  Andrew Haley  <aph@redhat.com>
      
      	* README: Import from libffi 3.0.8.
      
      From-SVN: r148286
      Andrew Haley committed
    • [multiple changes] · 3b5b1a73
      2009-06-08  Andrew Haley  <aph@redhat.com>
      
      	* testsuite/libffi.call/err_bad_abi.c: Add xfails.
      	* testsuite/libffi.call/cls_longdouble_va.c: Add xfails.
      	* testsuite/libffi.call/cls_dbls_struct.c: Add xfail x86_64-*-linux-*.
      	* testsuite/libffi.call/err_bad_typedef.c: Add xfails.
      
      	* testsuite/libffi.call/stret_medium2.c: Add __UNUSED__ to args.
      	* testsuite/libffi.call/stret_medium.c: Likewise.
      	* testsuite/libffi.call/stret_large2.c: Likewise.
      	* testsuite/libffi.call/stret_large.c:  Likewise.
      
      2008-12-26  Timothy Wall  <twall@users.sf.net>
      
              * testsuite/libffi.call/cls_longdouble.c,
              testsuite/libffi.call/cls_longdouble_va.c,
              testsuite/libffi.call/cls_align_longdouble.c,
              testsuite/libffi.call/cls_align_longdouble_split.c,
              testsuite/libffi.call/cls_align_longdouble_split2.c: mark expected
              failures on x86_64 cygwin/mingw.
      
      2008-12-22  Timothy Wall  <twall@users.sf.net>
      
              * testsuite/libffi.call/closure_fn0.c,
              testsuite/libffi.call/closure_fn1.c,
              testsuite/libffi.call/closure_fn2.c,
              testsuite/libffi.call/closure_fn3.c,
              testsuite/libffi.call/closure_fn4.c,
              testsuite/libffi.call/closure_fn5.c,
              testsuite/libffi.call/closure_fn6.c,
              testsuite/libffi.call/closure_loc_fn0.c,
              testsuite/libffi.call/closure_stdcall.c,
              testsuite/libffi.call/cls_align_pointer.c,
              testsuite/libffi.call/cls_pointer.c,
              testsuite/libffi.call/cls_pointer_stack.c: use portable cast from
              pointer to integer (intptr_t).
              * testsuite/libffi.call/cls_longdouble.c: disable for win64.
      
      2008-07-24  Anthony Green  <green@redhat.com>
      
              * testsuite/libffi.call/cls_dbls_struct.c,
              testsuite/libffi.call/cls_double_va.c,
              testsuite/libffi.call/cls_longdouble.c,
              testsuite/libffi.call/cls_longdouble_va.c,
              testsuite/libffi.call/cls_pointer.c,
              testsuite/libffi.call/cls_pointer_stack.c,
              testsuite/libffi.call/err_bad_abi.c: Clean up failures from
              compiler warnings.
      
      2008-03-04  Anthony Green  <green@redhat.com>
                  Blake Chaffin
                  hos@tamanegi.org
      
              * testsuite/libffi.call/cls_align_longdouble_split2.c
                testsuite/libffi.call/cls_align_longdouble_split.c
                testsuite/libffi.call/cls_dbls_struct.c
                testsuite/libffi.call/cls_double_va.c
                testsuite/libffi.call/cls_longdouble.c
                testsuite/libffi.call/cls_longdouble_va.c
                testsuite/libffi.call/cls_pointer.c
                testsuite/libffi.call/cls_pointer_stack.c
                testsuite/libffi.call/err_bad_abi.c
                testsuite/libffi.call/err_bad_typedef.c
                testsuite/libffi.call/stret_large2.c
                testsuite/libffi.call/stret_large.c
                testsuite/libffi.call/stret_medium2.c
                testsuite/libffi.call/stret_medium.c: New tests from Apple.
      
      From-SVN: r148285
      Andrew Haley committed
  17. 05 Jun, 2009 1 commit
  18. 04 Jun, 2009 5 commits
    • ffitarget.h, [...]: Back out stdcall changes. · 90409e4c
      2009-06-04  Andrew Haley  <aph@redhat.com>
      
      	* src/x86/ffitarget.h, src/x86/win32.S, src/x86/ffi.c: Back out
      	stdcall changes.
      
      From-SVN: r148178
      Andrew Haley committed
    • [multiple changes] · b1393750
      2008-02-26  Anthony Green  <green@redhat.com>
                  Thomas Heller  <theller@ctypes.org>
      
              * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
              comment.
      
      2008-02-03  Timothy Wall  <twall@users.sf.net>
      
              * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
                offset based on code pointer, not data pointer.
      
      2008-01-31  Timothy Wall <twall@users.sf.net>
      
              * testsuite/libffi.call/closure_stdcall.c: Add test for stdcall
              closures.
              * src/x86/ffitarget.h: Increase size of trampoline for stdcall
              closures.
              * src/x86/win32.S: Add assembly for stdcall closure.
              * src/x86/ffi.c: Initialize stdcall closure trampoline.
      
      From-SVN: r148174
      Andrew Haley committed
    • ffi.h.in: Change void (*)() to void (*)(void). · 96baa251
      2009-06-04  Andrew Haley  <aph@redhat.com>
      
      	* include/ffi.h.in: Change void (*)() to void (*)(void).
      	* src/x86/ffi.c: Likewise.
      
      From-SVN: r148173
      Andrew Haley committed
    • [multiple changes] · 7446546a
      2009-06-04  Andrew Haley  <aph@redhat.com>
      
      	* src/powerpc/ppc_closure.S: Insert licence header.
      	* src/powerpc/linux64_closure.S: Likewise.
      	* src/m68k/sysv.S: Likewise.
      
      	* src/sh64/ffi.c: Change void (*)() to void (*)(void).
      	* src/powerpc/ffi.c: Likewise.
      	* src/powerpc/ffi_darwin.c: Likewise.
      	* src/m32r/ffi.c: Likewise.
      	* src/sh64/ffi.c: Likewise.
      	* src/x86/ffi64.c: Likewise.
      	* src/alpha/ffi.c: Likewise.
      	* src/alpha/osf.S: Likewise.
      	* src/frv/ffi.c: Likewise.
      	* src/s390/ffi.c: Likewise.
      	* src/pa/ffi.c: Likewise.
      	* src/pa/hpux32.S: Likewise.
      	* src/ia64/unix.S: Likewise.
      	* src/ia64/ffi.c: Likewise.
      	* src/sparc/ffi.c: Likewise.
      	* src/mips/ffi.c: Likewise.
      	* src/sh/ffi.c: Likewise.
      
      2008-02-15  David Daney  <ddaney@avtrex.com>
      
              * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
              Define (conditionally), and use it to include cachectl.h.
              (ffi_prep_closure_loc): Fix cache flushing.
              * src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define.
      
      From-SVN: r148172
      Andrew Haley committed
    • 2009-06-04 Andrew Haley <aph@redhat.com> · 5f933ef0
              include/ffi.h.in,
              src/arm/ffitarget.h,
              src/arm/ffi.c,
              src/arm/sysv.S,
              src/powerpc/ffitarget.h,
              src/closures.c,
              src/sh64/ffitarget.h,
              src/sh64/ffi.c,
              src/sh64/sysv.S,
              src/types.c,
              src/x86/ffi64.c,
              src/x86/ffitarget.h,
              src/x86/win32.S,
              src/x86/darwin.S,
              src/x86/ffi.c,
              src/x86/sysv.S,
              src/x86/unix64.S,
              src/alpha/ffitarget.h,
              src/alpha/ffi.c,
              src/alpha/osf.S,
              src/m68k/ffitarget.h,
              src/frv/ffitarget.h,
              src/frv/ffi.c,
              src/s390/ffitarget.h,
              src/s390/sysv.S,
              src/cris/ffitarget.h,
              src/pa/linux.S,
              src/pa/ffitarget.h,
              src/pa/ffi.c,
              src/raw_api.c,
              src/ia64/ffitarget.h,
              src/ia64/unix.S,
              src/ia64/ffi.c,
              src/ia64/ia64_flags.h,
              src/java_raw_api.c,
              src/debug.c,
              src/sparc/v9.S,
              src/sparc/ffitarget.h,
              src/sparc/ffi.c,
              src/sparc/v8.S,
              src/mips/ffitarget.h,
              src/mips/n32.S,
              src/mips/o32.S,
              src/mips/ffi.c,
              src/prep_cif.c,
              src/sh/ffitarget.h,
              src/sh/ffi.c,
              src/sh/sysv.S: Update license text.
      
      From-SVN: r148171
      Andrew Haley committed
  19. 22 May, 2009 2 commits
  20. 09 Apr, 2009 1 commit
  21. 01 Mar, 2009 1 commit
    • backport: Support GNU/kOpenSolaris. · 7a9d3fe8
      	Backport from git Libtool:
      
      	2009-01-19  Robert Millan  <rmh@aybabtu.com>
      	Support GNU/kOpenSolaris.
      	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
      	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
      	(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
      	GNU/kOpenSolaris.
      
      libjava/classpath/
      	* configure: Regenerate.
      
      libjava/
      	* configure: Regenerate.
      
      libssp/
      	* configure: Regenerate.
      
      libobjc/
      	* configure: Regenerate.
      
      libstdc++-v3/
      	* configure: Regenerate.
      
      libgfortran/
      	* configure: Regenerate.
      
      boehm-gc/
      	* configure: Regenerate.
      
      gcc/
      	* configure: Regenerate.
      
      libmudflap/
      	* configure: Regenerate.
      
      zlib/
      	* configure: Regenerate.
      
      libffi/
      	* configure: Regenerate.
      
      libgomp/
      	* configure: Regenerate.
      
      From-SVN: r144527
      Ralf Wildenhues committed
  22. 19 Dec, 2008 1 commit
    • re PR libffi/26048 (libffi doesn't build on Solaris 10/x86 with native assembler) · 4d3d4078
      	PR libffi/26048
      	* configure.ac (HAVE_AS_X86_PCREL): New test.
      	* configure: Regenerate.
      	* fficonfig.h.in: Regenerate.
      	* src/x86/sysv.S [!FFI_NO_RAW_API]: Precalculate
      	RAW_CLOSURE_CIF_OFFSET, RAW_CLOSURE_FUN_OFFSET,
      	RAW_CLOSURE_USER_DATA_OFFSET for the Solaris 10/x86 assembler.
      	(.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL.
      	* src/x86/unix64.S (.Lstore_table): Move to .text section.
      	(.Lload_table): Likewise.
      	(.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL.
      
      From-SVN: r142835
      Rainer Orth committed
  23. 18 Dec, 2008 1 commit
    • Backport from upstream Libtool: · baafc534
      	* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER)
      	(_LT_LINKER_SHLIBS): Add cache variables to tests that
      	require the linker to work.  For shlibpath_overrides_runpath,
      	this also changes the semantics to let the result from the C
      	compiler take precedence.
      
      boehm-gc/
      
      	* configure: Regenerate.
      
      fixincludes/
      
      	* configure: Regenerate.
      
      gcc/
      
      	* configure: Regenerate.
      
      libffi/
      
      	* configure: Regenerate.
      
      libgfortran/
      
      	* configure: Regenerate.
      
      libgomp/
      
      	* configure: Regenerate.
      
      libjava/classpath/
      
      	* configure: Regenerate.
      
      libjava/
      
      	* configure: Regenerate.
      
      libmudflap/
      
      	* configure: Regenerate.
      
      libobjc/
      
      	* configure: Regenerate.
      
      libssp/
      
      	* configure: Regenerate.
      
      libstdc++-v3/
      
      	* configure: Regenerate.
      
      zlib/
      
      	* configure: Regenerate.
      
      From-SVN: r142817
      Ralf Wildenhues committed
  24. 21 Nov, 2008 1 commit
  25. 26 Sep, 2008 1 commit
  26. 25 Aug, 2008 1 commit
    • ffitarget.h (ffi_abi): Add FFI_LINUX and FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum. · d7f68a67
      2008-08-25  Andreas Tobler  <a.tobler@schweiz.org>
      
      	* src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and
      	FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum.
      	Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT.
      	Adjust copyright notice.
      	* src/powerpc/ffi.c: Add two new flags to indicate if we have one
      	register or two register to use for FFI_SYSV structs.
      	(ffi_prep_cif_machdep): Pass the right register flag introduced above.
      	(ffi_closure_helper_SYSV): Fix the return type for
      	FFI_SYSV_TYPE_SMALL_STRUCT. Comment.
      	Adjust copyright notice.
      
      From-SVN: r139567
      Andreas Tobler committed
  27. 16 Jul, 2008 1 commit