1. 08 May, 2003 1 commit
  2. 18 Apr, 2003 1 commit
    • configure.in (powerpc64*-*-linux*): Remove. · e9b84181
      	* configure.in (powerpc64*-*-linux*): Remove.
      	* configure: Rebuilt.
      libffi/
      	* include/ffi.h.in (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.
      	* configure.in: 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.
      	(NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
      	ASM_NEEDS_REGISTERS64): New.
      	(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
      	__powerpc64__.
      	* 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.
      	* Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
      	src/powerpc/linux64_closure.S.
      	(TARGET_SRC_POWERPC): Likewise.
      
      	* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
      	closure_test_fn3): Fix result printing on big-endian 64-bit
      	machines.
      	(main): Print tst2_arg instead of uninitialized tst2_result.
      
      	* src/ffitest.c (main): Hide what closure pointer really points to
      	from the compiler.
      
      From-SVN: r65781
      Jakub Jelinek committed
  3. 16 Apr, 2003 1 commit
  4. 11 Apr, 2003 1 commit
  5. 05 Apr, 2003 1 commit
  6. 24 Mar, 2003 1 commit
    • configure.in: Avoid trailing /. · 6db450f9
      2003-03-10  Andreas Schwab  <schwab@suse.de>
      
      boehm-gc:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libf2c:
      	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* configure: Rebuilt.
      
      libffi:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libjava:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libobjc:
      	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* configure: Rebuilt.
      
      libstdc++-v3:
      	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* aclocal.m4, configure: Rebuilt.
      
      zlib:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      From-SVN: r64805
      Andreas Schwab committed
  7. 21 Mar, 2003 1 commit
  8. 12 Mar, 2003 1 commit
    • configure.in: Avoid trailing /. · ff8b9ca8
      2003-03-10  Andreas Schwab  <schwab@suse.de>
      
      boehm-gc:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libf2c:
      	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* configure: Rebuilt.
      
      libffi:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libjava:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      libobjc:
      	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* configure: Rebuilt.
      
      libstdc++-v3:
      	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
      	glibcpp_toolexeclibdir.
      	* aclocal.m4, configure: Rebuilt.
      
      zlib:
      	* configure.in: Avoid trailing /. in toolexeclibdir.
      	* configure: Rebuilt.
      
      From-SVN: r64267
      Andreas Schwab committed
  9. 10 Mar, 2003 1 commit
  10. 20 Feb, 2003 1 commit
  11. 07 Feb, 2003 1 commit
  12. 05 Feb, 2003 1 commit
  13. 01 Feb, 2003 1 commit
  14. 31 Jan, 2003 1 commit
  15. 29 Jan, 2003 1 commit
  16. 28 Jan, 2003 3 commits
  17. 27 Jan, 2003 1 commit
  18. 22 Jan, 2003 1 commit
  19. 21 Jan, 2003 1 commit
  20. 14 Jan, 2003 3 commits
  21. 10 Jan, 2003 1 commit
  22. 03 Jan, 2003 1 commit
  23. 16 Dec, 2002 1 commit
  24. 06 Dec, 2002 1 commit
    • ffi.h.in: Added FFI_STDCALL ffi_type enumeration for X86_WIN32. · eb3c46a1
      2002-11-10  Ranjit Mathew <rmathew@hotmail.com>
      
      	* include/ffi.h.in: Added FFI_STDCALL ffi_type
      	  enumeration for X86_WIN32.
      	* src/x86/win32.S: Added ffi_call_STDCALL function
      	  definition.
      	* src/x86/ffi.c (ffi_call/ffi_raw_call): Added
      	  switch cases for recognising FFI_STDCALL and
      	  calling ffi_call_STDCALL if target is X86_WIN32.
      	* src/ffitest.c (my_stdcall_strlen/stdcall_many):
      	  stdcall versions of the "my_strlen" and "many"
      	  test functions (for X86_WIN32).
      	  Added test cases to test stdcall invocation using
      	  these functions.
      
      From-SVN: r59878
      Ranjit Mathew committed
  25. 27 Nov, 2002 1 commit
  26. 26 Nov, 2002 1 commit
  27. 15 Nov, 2002 1 commit
  28. 12 Nov, 2002 1 commit
  29. 08 Oct, 2002 1 commit
    • java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word values, not ffi_raw. · 8177895b
      	* src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
      	raw data as _Jv_word values, not ffi_raw.
      	(ffi_java_ptrarray_to_raw): Likewise.
      	(ffi_java_rvalue_to_raw): New function.
      	(ffi_java_raw_call): Call it.
      	(ffi_java_raw_to_rvalue): New function.
      	(ffi_java_translate_args): Call it.
      	* src/ffitest.c (closure_test_fn): Interpret return value
      	as ffi_arg, not int.
      	* src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
      	FFI_TYPE_POINTER case.
      	(ffi_closure_helper_SYSV): Likewise.  Also, assume return
      	values extended to word size.
      
      From-SVN: r57926
      Ulrich Weigand committed
  30. 02 Oct, 2002 1 commit
  31. 01 Oct, 2002 1 commit
  32. 30 Sep, 2002 1 commit
    • configure.in: Add s390x-*-linux-* target. · c4f17c6f
      	* configure.in: Add s390x-*-linux-* target.
      	* configure: Regenerate.
      	* include/ffi.h.in: Define S390X for s390x targets.
      	(FFI_CLOSURES): Define for s390/s390x.
      	(FFI_TRAMPOLINE_SIZE): Likewise.
      	(FFI_NATIVE_RAW_API): Likewise.
      	* src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
      	* src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
      	* src/s390/ffi.c: Major rework of existing code.  Add support for
      	s390x targets.  Add closure support.
      	* src/s390/sysv.S: Likewise.
      
      From-SVN: r57646
      Ulrich Weigand committed
  33. 29 Sep, 2002 1 commit
  34. 28 Sep, 2002 1 commit
  35. 27 Sep, 2002 1 commit
  36. 23 Sep, 2002 1 commit
    • Makefile.am (all-multi): Fix multilib parallel build. · 6c5d742e
      boehm-gc:
      	* Makefile.am (all-multi): Fix multilib parallel build.
      libf2c:
      	* Makefile.in (all): Fix multilib parallel build.
      libffi:
      	* Makefile.am (all-multi): Fix multilib parallel build.
      libiberty:
      	* Makefile.in (all): Fix multilib parallel build.
      libjava:
      	* Makefile.am (all-multi): Fix multilib parallel build.
      libobjc:
      	* Makefile.in (all): Fix multilib parallel build.
      libstdc++-v3:
      	* Makefile.am (all-multi): Fix multilib parallel build.
      zlib:
      	* Makefile.am (all-multi): Fix multilib parallel build.
      
      From-SVN: r57423
      Kaveh R. Ghazi committed