Commit Graph

206 Commits

Author SHA1 Message Date
Alexandre Oliva
0e292c0153 configure.in (toolexecdir, [...]): Set and AC_SUBST.
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

[[Split portion of a mixed commit.]]

From-SVN: r61935.2
2003-01-28 01:48:33 +00:00
David Edelsohn
acabc2201e Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
* Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
        * Makefile.in: Regenerate.

From-SVN: r61899
2003-01-27 15:25:43 -05:00
Andrew Haley
be0acd4269 darwin.S (_ffi_call_AIX): Add Augmentation size to unwind info.
2003-01-22  Andrew Haley  <aph@redhat.com>

        * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
        unwind info.

From-SVN: r61608
2003-01-22 18:21:55 +00:00
Andreas Tobler
ed695c8e6c darwin.S: Add unwind info.
2003-01-21  Andreas Tobler  <a.tobler@schweiz.ch>

	* src/powerpc/darwin.S: Add unwind info.
	* src/powerpc/darwin_closure.S: Likewise.

From-SVN: r61568
2003-01-21 20:49:26 +00:00
Andrew Haley
45ba15f410 ffi64.c (ffi_prep_args): Check for void retval.
2003-01-14  Andrew Haley  <aph@redhat.com>

        * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
        (ffi_prep_cif_machdep): Likewise.
        * src/x86/unix64.S: Add unwind info.

From-SVN: r61291
2003-01-14 18:42:29 +00:00
Andreas Jaeger
4b5f402e2d ffitest.c (main): Only use ffi_closures if those are supported.
* src/ffitest.c (main): Only use ffi_closures if those are
	supported.

From-SVN: r61273
2003-01-14 10:50:48 +01:00
Tom Tromey
7b5102af84 [multiple changes]
2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>

	* libffi/src/ffitest.c
         add closure testcases

2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>

	* libffi/src/powerpc/ffi.c
         fix alignment bug for float (4 byte aligned iso 8 byte)

From-SVN: r61263
2003-01-14 05:15:21 +00:00
Geoffrey Keating
5f7c78d8a4 ffi_darwin.c: Remove RCS version string.
* src/powerpc/ffi_darwin.c: Remove RCS version string.
	* src/powerpc/darwin.S: Remove RCS version string.

From-SVN: r61135
2003-01-10 00:01:32 +00:00
Jeff Sturm
c75c7793f5 ffi.h.in: Add closure defines for SPARC, SPARC64.
* include/ffi.h.in: Add closure defines for SPARC, SPARC64.
* src/ffitest.c (main): Use static storage for closure.
* src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
* src/sparc/v8.S (ffi_closure_v8): New.
* src/sparc/v9.S (ffi_closure_v9): New.

From-SVN: r60857
2003-01-03 23:08:56 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Ranjit Mathew
eb3c46a17e ffi.h.in: Added FFI_STDCALL ffi_type enumeration for X86_WIN32.
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
2002-12-06 01:16:45 +00:00
Ulrich Weigand
67333e84d7 * src/s390/sysv.S (.eh_frame section): Make section read-only.
From-SVN: r59574
2002-11-27 16:44:35 +00:00
Jim Wilson
bc3cf76072 Fix Portable .NET bug with IA-64 pointer size.
* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.

From-SVN: r59541
2002-11-26 14:24:05 -08:00
Ulrich Weigand
18789f4e75 s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
gcc/ChangeLog:
	* config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

libffi/ChangeLog:
	* src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.

From-SVN: r59134
2002-11-15 16:57:49 +00:00
DJ Delorie
6bee537279 * configure.in: Look for common files in the right place.
From-SVN: r59039
2002-11-11 23:45:57 -05:00
Ulrich Weigand
8177895b71 java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word values, not ffi_raw.
* 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
2002-10-08 14:55:03 +00:00
Andreas Jaeger
af50f4c807 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
From-SVN: r57726
2002-10-02 08:21:54 +02:00
Bo Thorsen
5d2975841c * include/ffi.h.in: Fix i386 win32 compilation.
From-SVN: r57691
2002-10-01 17:38:00 +02:00
Ulrich Weigand
c4f17c6f58 configure.in: Add s390x-*-linux-* target.
* 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
2002-09-30 11:59:42 +00:00
Richard Earnshaw
d7b5262524 * src/arm/sysv.S: Fix typo.
From-SVN: r57627
2002-09-29 18:08:58 +00:00
Richard Earnshaw
28165e22cd sysv.S: If we don't have machine/asm.h and the pre-processor has defined...
* src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
has defined __USER_LABEL_PREFIX__, then use it in CNAME.
(ffi_call_SYSV): Handle soft-float.

From-SVN: r57609
2002-09-28 12:09:27 +00:00
Bo Thorsen
0b0f416385 ffi.h.in: Fix multilib x86-64 support.
2002-09-27  Bo Thorsen  <bo@suse.de>

        * include/ffi.h.in: Fix multilib x86-64 support.

From-SVN: r57589
2002-09-27 16:37:23 +02:00
Kaveh R. Ghazi
6c5d742e3b Makefile.am (all-multi): Fix multilib parallel build.
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
2002-09-23 03:52:55 +00:00
Alexandre Oliva
f5cc59a784 configure, configure: Rebuilt.
* boehm-gc/configure, libf2c/configure: Rebuilt.
* libffi/configure, libiberty/configure: Ditto.
* libjava/configure, libobjc/configure: Ditto.
* libstdc++-v3/configure, zlib/configure: Ditto.
Merged from binutils:
2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
From Steve Ellcey <sje@cup.hp.com>:
* libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
(lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
IA64.
* ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
* ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
soname_spec, sys_lib_search_path_spec): Ditto.

From-SVN: r56270
2002-08-14 02:40:00 +00:00
Kaz Kojima
f4b2b0d665 configure.in (sh[34]*-*-linux*): Add brackets.
* configure.in (sh[34]*-*-linux*): Add brackets.
	* configure: Regenerate.

From-SVN: r55589
2002-07-19 15:30:58 +00:00
Kaz Kojima
ddebdfebad Makefile.am: Add SH support.
* Makefile.am: Add SH support.
	* Makefile.in: Regenerate.
	* configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
	* configure: Regenerate.
	* include/ffi.h.in: Add SH support.
	* src/sh/ffi.c: New file.
	* src/sh/sysv.S: New file.
	* src/types.c: Add SH support.

From-SVN: r55574
2002-07-19 01:08:43 +00:00
Bo Thorsen
7e31e4ae78 Forgot this file.
From-SVN: r55573
2002-07-19 02:37:03 +02:00
Bo Thorsen
c94974caed [multiple changes]
2002-07-16  Bo Thorsen  <bo@suse.de>

	* src/x86/ffi64.c: New file that adds x86-64 support.
	* src/x86/unix64.S: New file that handles argument setup for
	x86-64.
	* src/x86/sysv.S: Don't use this on x86-64.
	* src/x86/ffi.c: Don't use this on x86-64.
	Remove unused vars.
	* src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
	for x86-64.
	* src/ffitest.c (struct6): New test that tests a special case in
	the x86-64 ABI.
	(struct7): Likewise.
	(struct8): Likewise.
	(struct9): Likewise.
	(closure_test_fn): Silence warning about this when it's not used.
	(main): Add the new tests.
	(main): Fix a couple of wrong casts and silence some compiler warnings.
	* include/ffi.h.in: Add x86-64 ABI definition.
	* fficonfig.h.in: Regenerate.
	* Makefile.am: Add x86-64 support.
	* configure.in: Likewise.
	* Makefile.in: Regenerate.
	* configure: Likewise.

2002-06-24  Bo Thorsen  <bo@suse.de>

	* src/types.c: Merge settings for similar architectures.
	Add x86-64 sizes and alignments.

2002-06-23  Bo Thorsen  <bo@suse.de>

	* src/arm/ffi.c (ffi_prep_args): Remove unused vars.
	* src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
	* src/mips/ffi.c (ffi_prep_args): Likewise.
	* src/m68k/ffi.c (ffi_prep_args): Likewise.

From-SVN: r55571
2002-07-19 01:08:31 +02:00
H.J. Lu
5be36a8f27 Makefile.am (TARGET_SRC_MIPS_LINUX): New.
2002-07-18  H.J. Lu  (hjl@gnu.org)

	* Makefile.am (TARGET_SRC_MIPS_LINUX): New.
	(libffi_la_SOURCES): Support MIPS_LINUX.
	(libffi_convenience_la_SOURCES): Likewise.
	* Makefile.in: Regenerated.

	* configure.in (mips64*-*): Skip.
	(mips*-*-linux*): New.
	* configure: Regenerated.

	* src/mips/ffi.c: Include <sgidefs.h>.

From-SVN: r55561
2002-07-18 10:55:28 -07:00
Ulrich Weigand
ad5e163ca6 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
From-SVN: r54317
2002-06-06 12:51:23 +00:00
Bo Thorsen
4075db8f84 Fix last commit. Sorry about that.
From-SVN: r53946
2002-05-28 09:11:42 +02:00
Roger Sayle
ee4586c531 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
From-SVN: r53942
2002-05-28 02:02:46 +00:00
Bo Thorsen
b86aa7b048 ffi.c (ffi_prep_args): Remove unused variable and fix formatting.
2002-05-27  Bo Thorsen  <bo@suse.de>

	* src/x86/ffi.c (ffi_prep_args): Remove unused variable and
	fix formatting.

From-SVN: r53926
2002-05-27 15:54:44 +02:00
Andreas Tobler
859f7aaf41 ffi_darwin.c (ffi_prep_closure): Declare fd at beginning of function (for older apple cc).
2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
        beginning of function (for older apple cc).

From-SVN: r53430
2002-05-13 16:19:10 -04:00
Alexandre Oliva
6706f1167e configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.

From-SVN: r53278
2002-05-08 04:38:00 +00:00
Jason Thorpe
fad655c869 configure.in (sparc64-*-netbsd*): Add target.
* configure.in (sparc64-*-netbsd*): Add target.
(sparc-*-netbsdelf*): Likewise.
* configure: Regenerate.

From-SVN: r53171
2002-05-05 05:03:33 +00:00
David S. Miller
189ab118de configure.in, configure: Fix SPARC test in previous change.
2002-04-28  David S. Miller  <davem@redhat.com>

	* configure.in, configure: Fix SPARC test in previous change.

From-SVN: r52878
2002-04-28 22:48:05 -07:00
Gerhard Tonn
22bcf65c52 Makefile.am: Add Linux for S/390 support.
2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>

	* Makefile.am: Add Linux for S/390 support.
	* Makefile.in: Regenerate.
	* configure.in: Add Linux for S/390 support.
	* configure: Regenerate.
	* include/ffi.h.in: Add Linux for S/390 support.
	* src/s390/ffi.c: New file from libffi CVS tree.
	* src/s390/sysv.S: New file from libffi CVS tree.

From-SVN: r52873
2002-04-29 05:14:44 +01:00
Jakub Jelinek
5d84cf0b8d configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
	%r_disp32().
	* src/sparc/v8.S: Use it.
	* src/sparc/v9.S: Likewise.
	* fficonfig.h.in: Rebuilt.
	* configure: Rebuilt.

From-SVN: r52858
2002-04-28 21:57:42 +02:00
Hans Boehm
cc382e5c1a java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly.
* src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
	correctly.
	* src/ia64/unix.S: Add unwind information. Fix comments.
	Save sp in a way that's compatible with unwind info.
	(ffi_call_unix): Correctly restore sp in all cases.
	* src/ia64/ffi.c: Add, fix comments.

From-SVN: r52048
2002-04-08 23:59:13 +00:00
Jakub Jelinek
dc79864588 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
From-SVN: r52041
2002-04-08 22:24:17 +02:00
Jason Thorpe
da00eaab0b configure.in (alpha*-*-netbsd*): Add target.
* configure.in (alpha*-*-netbsd*): Add target.
* configure: Regenerate.

From-SVN: r51976
2002-04-07 04:19:31 +00:00
Jeff Sturm
0c0b87addd v8.S: Add unwind info.
* src/sparc/v8.S: Add unwind info.
	* src/sparc/v9.S: Likewise.

From-SVN: r51873
2002-04-04 21:19:13 +00:00
Krister Walfridsson
320d7e7ad6 configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.

libffi:
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in: Enable i*86-*-netbsdelf*.
	* configure: Rebuilt.

From-SVN: r51620
2002-03-31 00:33:17 +00:00
David Billinghurst
c75e51ed68 re PR other/2620 (Filenames differ only in case)
2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>

	PR other/2620
	* src/mips/n32.s: Delete
	* src/mips/o32.s: Delete

From-SVN: r51537
2002-03-29 00:39:57 +00:00
Loren J. Rittle
5bb366e023 configure.in: Enable alpha*-*-freebsd*.
* configure.in: Enable alpha*-*-freebsd*.
	* configure: Rebuilt.

From-SVN: r51143
2002-03-21 22:14:56 +00:00
Bryce McKinlay
1eb7ba303a Makefile.am: Define ffitest_OBJECTS.
* Makefile.am: Define ffitest_OBJECTS.
	* Makefile.in: Rebuilt.

From-SVN: r50904
2002-03-17 01:05:11 +00:00
Bryce McKinlay
ce3b24a73a Makefile.am: Make target library a convenience library.
zlib:
	* Makefile.am: Make target library a convenience library.
	* Makefile.in: Rebuilt.

libffi:
	* Makefile.am: libfficonvenience -> libffi_convenience.
	* Makefile.in: Rebuilt.

boehm-gc:
	* Makefile.am: Make a convenience library.
	* Makefile.in: Rebuilt.

libjava:
	Build a single libgcj.so, without separate gc and zlib libraries.
	* configure.in: Use convenience libraries for boehm-gc and zlib. Set
	SYS_ZLIBS if system zlib is used.
	* configure: Rebuilt.
	* Makefile.am: Use boehm-gc and zlib convenience libraries.
	* Makefile.in: Rebuilt.
	* libtool-version: Increment .so version number.

From-SVN: r50900
2002-03-17 00:35:21 +00:00
David Edelsohn
3df3221216 - Add Darwin and AIX to supported platforms.
From-SVN: r50414
2002-03-07 17:11:35 -05:00
Andreas Tobler
073ae293d9 Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
	    David Edelsohn  <edelsohn@gnu.org>

	* Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
	(TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
	(TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
	* Makefile.in: Regenerate.
	* include/ffi.h.in: Add AIX and Darwin closure definitions.
	* src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
	(flush_icache, flush_range): New functions.
	(ffi_closure_helper_DARWIN): New function.
	* src/powerpc/aix_closure.S: New file.
	* src/powerpc/darwin_closure.S: New file.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r50408
2002-03-07 13:24:42 -05:00
Jeff Sturm
02c521f439 ffi.h.in: Add typedef for ffi_arg.
* include/ffi.h.in: Add typedef for ffi_arg.
        * src/ffitest.c (main): Declare rint with ffi_arg.

From-SVN: r50006
2002-02-24 17:31:45 +00:00
Andreas Tobler
287dd527bd ffi_darwin.c (ffi_prep_args): Skip appropriate number of GPRs for floating-point arguments.
2002-02-21  Andreas Tobler  <toa@pop.agri.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
        number of GPRs for floating-point arguments.

From-SVN: r49934
2002-02-21 14:14:28 -05:00
Anthony Green
e2f2e70a94 Configure changes to enable cross compiling.
From-SVN: r49378
2002-01-31 22:25:31 +00:00
David Edelsohn
1f7d54133e - Symmetrically define ffi_call_DARWIN for AIX.
From-SVN: r48993
2002-01-18 13:41:11 -05:00
David Edelsohn
15b9b32f43 - Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.
From-SVN: r48989
2002-01-18 11:22:34 -05:00
David Edelsohn
2f4006f8c7 Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
* Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
        (TARGET_SRC_POWERPC_AIX): New.
        (POWERPC_AIX): New stanza.
        * Makefile.in: Regenerate.
        * configure.in: Add AIX case.
        * configure: Regenerate.
        * include/ffi.h.in (ffi_abi): Add FFI_AIX.
        * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
        size.  Fix "long double" support.
        (ffi_call): Add FFI_AIX case.
        * src/powerpc/aix.S: New.

From-SVN: r48956
2002-01-17 11:04:21 -05:00
John Hornkvist
3c017635c9 Implement Darwin PowerPC ABI.
2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>

        Implement Darwin PowerPC ABI.
        * configure.in: Handle powerpc-*-darwin*.
        * Makefile.am: Set source files for POWERPC_DARWIN.
        * configure: Rebuilt.
        * Makefile.in: Rebuilt.
        * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
        POWERPC_DARWIN.
        * src/powerpc/darwin.S: New file.
        * src/powerpc/ffi_darwin.c: New file.

From-SVN: r46112
2001-10-09 06:32:16 +01:00
Joseph Myers
cc712abf04 acinclude.m4: Fix spelling error of "separate" as "seperate".
config:
	* acinclude.m4: Fix spelling error of "separate" as "seperate".

gcc:
	* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
	genmultilib, toplev.c: Fix spelling errors of "separate" as
	"seperate", and corresponding spelling errors of related words.

gcc/ada:
	* 5oosinte.adb: Fix spelling error of "separate" as "seperate".

gcc/testsuite:
	* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
	spelling errors of "separate" as "seperate".

libffi:
	* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".

libjava:
	* defineclass.cc, java/awt/image/ColorModel.java,
	java/awt/image/SampleModel.java, java/lang/Package.java,
	java/security/cert/X509Extension.java: Fix spelling errors of
	"separate" as "seperate", and corresponding spelling errors of
	related words.

libstdc++-v3:
	* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
	spelling errors of "separate" as "seperate", and corresponding
	spelling errors of related words.
	* docs/html/faq/index.txt: Regenerate.

From-SVN: r46063
2001-10-07 19:02:46 +01:00
Rainer Orth
03a8de49b8 sysv.S: Avoid gas-only .balign directive.
* src/x86/sysv.S: Avoid gas-only .balign directive.
	Use C style comments.

From-SVN: r44046
2001-07-16 17:12:14 +00:00
Rainer Orth
92a0e6c6c8 re PR bootstrap/3563 (Error building libffi)
* src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
	Fixes PR bootstrap/3563.

From-SVN: r44045
2001-07-16 16:53:43 +00:00
Rainer Orth
57482f585e * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
From-SVN: r43578
2001-06-26 12:04:29 +00:00
Rainer Orth
d7e2dd2ff1 configure.in: Recognize sparc*-sun-* host.
* configure.in: Recognize sparc*-sun-* host.
	* configure: Regenerate.

From-SVN: r43557
2001-06-25 20:04:56 +00:00
Andrew Haley
be72207cd2 osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
2001-06-06  Andrew Haley  <aph@redhat.com>

        * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.

From-SVN: r43268
2001-06-12 19:14:04 +00:00
Andrew Haley
552cb45af3 osf.S: Add unwind info.
2001-06-03  Andrew Haley  <aph@redhat.com>

        * src/alpha/osf.S: Add unwind info.
        * src/powerpc/sysv.S: Add unwind info.
        * src/powerpc/ppc_closure.S: Likewise.

From-SVN: r42828
2001-06-03 14:05:38 +00:00
Jeff Sturm
7d45b96823 configure.in: Fix AC_ARG_ENABLE usage.
* configure.in: Fix AC_ARG_ENABLE usage.
* configure: Rebuilt.

From-SVN: r42768
2001-06-01 04:09:21 +00:00
Alexandre Oliva
334564454e ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

From-SVN: r42351
2001-05-20 18:55:59 +00:00
Bryce McKinlay
2a7f63c436 configure.in: Remove warning about beta code.
* configure.in: Remove warning about beta code.
	* configure: Rebuilt.

From-SVN: r41875
2001-05-06 13:55:28 +01:00
Hans Boehm
03a5525282 unix.S: Restore stack pointer when returning from ffi_closure_UNIX.
* src/ia64/unix.S: Restore stack pointer when returning from
	ffi_closure_UNIX.
	* src/ia64/ffi.c: Fix typo in comment

From-SVN: r41594
2001-04-26 16:08:59 +00:00
Hans Boehm
7b518b3953 Restore stack pointer when returning from ffi_closure_UNIX.
From-SVN: r41565
2001-04-26 00:46:38 +00:00
Hans Boehm
4bb7ff6dae *** empty log message ***
From-SVN: r41563
2001-04-26 00:30:36 +00:00
Jim Wilson
df5da1c419 Eliminate assembler warnings found by ia64-linux bootstrap.
* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
	to eliminate RAW DV.

From-SVN: r41411
2001-04-18 13:30:48 -07:00
Bryce McKinlay
52c2897732 Makefile.am: Make a libtool convenience library.
libffi:
	* Makefile.am: Make a libtool convenience library.
	* Makefile.in: Rebuilt.

libjava:
	* java/io/File.java (normalizePath): New private method.
	(File (String)): Use normalizePath().
	(File (String, String)): Likewise.

	* Makefile.am (libffi_files): Removed.
	(libgcj.la): Link libffi as a convenience library instead of
	refering to its object files directly.
	* Makefile.in: Rebuilt.

From-SVN: r41298
2001-04-12 10:32:50 +01:00
Bryce McKinlay
3b905056f9 configure.in: Use different syntax for subdirectory creation.
* configure.in: Use different syntax for subdirectory creation.
       * configure: Rebuilt.

From-SVN: r40955
2001-03-29 01:03:27 +01:00
Jon Beniston
d6c4152ac0 configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
2001-03-27  Jon Beniston  <jon@beniston.com>

	* configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
	* configure: Rebuilt.
	* Makefile.am: Added X86_WIN32 target support.
	* Makefile.in: Rebuilt.

	* include/ffi.h.in: Added X86_WIN32 target support.

	* src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
	* src/types.c: Added X86_WIN32 target support.

	* src/x86/win32.S: New file. Based on sysv.S, but with EH
	stuff removed and made to work with CygWin's gas.

From-SVN: r40860
2001-03-27 03:39:16 +01:00
Bryce McKinlay
675cdab3df configure.in: Make target subdirectory in build dir.
* configure.in: Make target subdirectory in build dir.
	* Makefile.am: Override suffix based rules to specify correct output
	subdirectory.
	* Makefile.in: Rebuilt.
	* configure: Rebuilt.

From-SVN: r40853
2001-03-26 23:52:36 +01:00
Kevin B Hendricks
e5f8858a87 Fixed ChangeLog header
From-SVN: r40808
2001-03-24 03:36:08 +00:00
Kevin B Hendricks
cc4c8975aa ppc_closure.S: New file.
* src/powerpc/ppc_closure.S: New file.
	* src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
	involving long long and register pairs.
	(ffi_prep_closure): New function.
	(flush_icache): Likewise.
	(ffi_closure_helper_SYSV): Likewise.
	* include/ffi.h.in (FFI_CLOSURES): Define on PPC.
	(FFI_TRAMPOLINE_SIZE): Likewise.
	(FFI_NATIVE_RAW_API): Likewise.
	* Makefile.in: Rebuilt.
	* Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
	(TARGET_SRC_POWERPC): Likewise.

From-SVN: r40807
2001-03-24 03:26:28 +00:00
Tom Tromey
9450a9295b Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (ffitest_LDFLAGS): New macro.

From-SVN: r40768
2001-03-23 01:26:33 +00:00
Nick Clifton
4d2cf7156f Remove RCS ident strings to allow comparisions with multiple source checkouts to work
From-SVN: r40195
2001-03-02 22:21:24 +00:00
Joseph Myers
7e5fd99fd3 gcj.texi: Change sources.redhat.com reference to gcc.gnu.org.
gcc/java/:
	* gcj.texi: Change sources.redhat.com reference to gcc.gnu.org.

libffi/:
	* include/ffi.h.in: Change sourceware.cygnus.com references to
	gcc.gnu.org.

libjava/:
	* README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc:
	Change sources.redhat.com and sourceware.cygnus.com references to
	gcc.gnu.org.

From-SVN: r39531
2001-02-08 01:49:53 +00:00
Richard Henderson
3f67ba6e95 Richards changes to the closure code for alpha
From-SVN: r38169
2000-12-10 07:13:18 +00:00
Richard Henderson
29fe047981 libffi closures for Alpha
From-SVN: r38136
2000-12-08 19:41:15 +00:00
Alexandre Oliva
5f5272039d ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug.
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.

From-SVN: r36673
2000-09-30 06:11:54 +00:00
Alexandre Oliva
ed1c1a1a58 config.guess, [...]: Removed.
* config.guess, config.sub, install-sh: Removed.
* ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
* Makefile.in: Rebuilt.

From-SVN: r36289
2000-09-10 07:45:10 +00:00
Alexandre Oliva
2f7bf5b7eb acinclude.m4: Include libtool macros from the top level.
* acinclude.m4: Include libtool macros from the top level.
* aclocal.m4, configure: Rebuilt.

From-SVN: r36287
2000-09-10 07:43:14 +00:00
Alexandre Oliva
e15a68e7bc configure.in [...] (TARGET, TARGETDIR): Set.
* configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
* configure: Rebuilt.

From-SVN: r35928
2000-08-24 01:01:57 +00:00
Tom Tromey
c6cfab3763 README updated for ARM
From-SVN: r33853
2000-05-11 18:20:33 +00:00
Scott Bambrough
7f8c11d571 sysv.S (ffi_call_SYSV): Doubles are not saved to memory correctly.
2000-05-11  Scott Bambrough  <scottb@netwinder.org>

	* libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
	memory correctly.  Use conditional instructions, not branches where
	possible.

From-SVN: r33852
2000-05-11 18:16:37 +00:00
Tom Tromey
c5acf51f3d configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Match `arm*-*-linux-*'.
	From Chris Dornan <cdornan@arm.com>.

From-SVN: r33666
2000-05-04 14:33:15 +00:00
Jakub Jelinek
91bffbe9d6 Makefile.am (SUBDIRS): Define.
2000-04-28  Jakub Jelinek  <jakub@redhat.com>

	* Makefile.am (SUBDIRS): Define.
	(AM_MAKEFLAGS): Likewise.
	(Multilib support.): Add section.
	* Makefile.in: Rebuilt.
	* ltconfig (extra_compiler_flags, extra_compiler_flags_value):
        New variables. Set for gcc using -print-multi-lib. Export them
        to libtool.
        (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
        * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
        for -shared links.
        (extra_compiler_flags_value, extra_compiler_flags): Check these
        for extra compiler options which need to be passed down in
        compiler_flags.

From-SVN: r33586
2000-05-01 21:35:35 +00:00
Anthony Green
bd66587eed configure: Rebuiltd.
2000-04-16  Anthony Green  <green@redhat.com>

	* configure: Rebuiltd.
	* configure.in: Change i*86-pc-linux* to i*86-*-linux*.

From-SVN: r33197
2000-04-17 02:22:22 +00:00
Jakub Jelinek
3791773c93 Port to sparc 32 and 64 Linux.
From-SVN: r33196
2000-04-17 02:15:32 +00:00
Alexandre Petit-Bianco
db45959597 Top level:
2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * configure.in: (i[3456]86-*-solaris2*): Removed `target-libffi'
        from list. Patch proposed by Anthony Green.

Libffi:

2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * configure: Rebuilt.
        * configure.in: (i*86-*-solaris*): New libffi target. Patch
        proposed by Bryce McKinlay.

From-SVN: r32906
2000-04-04 11:22:01 -07:00
Tom Tromey
c1f6390295 * Makefile.in: Hand edit for java_raw_api.lo.
From-SVN: r32660
2000-03-21 01:03:02 +00:00
Bryce McKinlay
0f72dc9e31 re GNATS gcj/168 (Build fails on Alpha)
2000-03-08  Bryce McKinlay  <bryce@albatross.co.nz>

        * config.guess, config.sub: Update from the gcc tree.
        Fix for PR libgcj/168.

From-SVN: r32442
2000-03-09 04:47:57 +00:00
Tom Tromey
323eee8ae3 * Makefile.in: Fixed ia64 by hand.
From-SVN: r32314
2000-03-03 19:33:11 +00:00
Tom Tromey
3c18f2d1d0 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in (--enable-multilib): New option.
	(libffi_basedir): New subst.
	(AC_OUTPUT): Added multilib code.

From-SVN: r32311
2000-03-03 16:58:42 +00:00
Tom Tromey
a2b10a92a3 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
	directory name.

From-SVN: r32301
2000-03-03 01:19:22 +00:00
Hans Boehm
dc5de37072 ffi.c, [...]: New files.
2000-02-25  Hans Boehm <boehm@acm.org>

	* src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
	files.
	* src/raw_api.c (ffi_translate_args): Fixed typo in argument
	list.
	(ffi_prep_raw_closure): Use ffi_translate_args, not
	ffi_closure_translate.
	* src/java_raw_api.c: New file.
	* src/ffitest.c (closure_test_fn): New function.
	(main): Define `rint' as long long on IA64.  Added new test when
	FFI_CLOSURES is defined.
	* include/ffi.h.in (ALIGN): Use size_t, not unsigned.
	(ffi_abi): Recognize IA64.
	(ffi_raw): Added `flt' field.
	Added "Java raw API" code.
	* configure.in: Recognize ia64.
	* Makefile.am (TARGET_SRC_IA64): New macro.
	(libffi_la_common_SOURCES): Added java_raw_api.c.
	(libffi_la_SOURCES): Define in IA64 case.

From-SVN: r32151
2000-02-25 19:13:44 +00:00
Tom Tromey
d79229bd58 * Makefile.in: Rebuilt with newer automake.
From-SVN: r31220
2000-01-04 23:06:17 +00:00
Tom Tromey
2c33b220da * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
From-SVN: r31152
1999-12-31 22:44:09 +00:00
Tom Tromey
6ba9e3b09e ffi.h.in: Removed PACKAGE and VERSION defines and undefs.
* include/ffi.h.in: Removed PACKAGE and VERSION defines and
	undefs.
	* fficonfig.h.in: Rebuilt.
	* configure: Rebuilt.
	* configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
	Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
	* acconfig.h: Don't #undef PACKAGE or VERSION.

From-SVN: r29038
1999-09-01 23:16:34 +00:00
Rainer Orth
0721f64ea4 Makefile.in: Rebuilt.
* include/Makefile.in: Rebuilt.
	* Makefile.in: Rebuilt
	* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
	builds.
	Use USE_LIBDIR.

	* configure: Rebuilt.
	* configure.in (USE_LIBDIR): Define for native builds.
	Use lowercase in configure --help explanations.

From-SVN: r28639
1999-08-10 05:29:27 +00:00
Anthony Green
8d25f6084d * include/ffi.h.in (FFI_FN): Remove `...'.
From-SVN: r28610
1999-08-09 02:52:58 +00:00
Anthony Green
248c0b6908 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
        * Makefile.am (AM_CFLAGS): Compile with -fexceptions.

        * src/x86/sysv.S: Add exception handling metadata.

also, add missing files.

From-SVN: r28601
1999-08-08 22:58:30 +00:00
Anthony Green
63e5e3e0db Initial revision
From-SVN: r28593
1999-08-08 13:27:18 +00:00