Commit Graph

130 Commits

Author SHA1 Message Date
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