1 2000-05-11 Scott Bambrough <scottb@netwinder.org>
3 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
4 memory correctly. Use conditional instructions, not branches where
7 2000-05-04 Tom Tromey <tromey@cygnus.com>
10 * configure.in: Match `arm*-*-linux-*'.
11 From Chris Dornan <cdornan@arm.com>.
13 2000-04-28 Jakub Jelinek <jakub@redhat.com>
15 * Makefile.am (SUBDIRS): Define.
16 (AM_MAKEFLAGS): Likewise.
17 (Multilib support.): Add section.
18 * Makefile.in: Rebuilt.
19 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
20 New variables. Set for gcc using -print-multi-lib. Export them
22 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
23 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
25 (extra_compiler_flags_value, extra_compiler_flags): Check these
26 for extra compiler options which need to be passed down in
29 2000-04-16 Anthony Green <green@redhat.com>
32 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
34 2000-04-14 Jakub Jelinek <jakub@redhat.com>
36 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
37 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
38 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
39 Replace all void * sizeofs with sizeof(int).
40 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
41 different than DOUBLE.
42 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
43 (ffi_prep_args_v9): New function.
44 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
45 (ffi_V9_return_struct): New function.
46 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
47 32bit code (not yet cross-arch calls).
48 * src/sparc/v8.S: Add struct return delay nop.
50 * src/sparc/v9.S: New file.
51 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
52 is used on sparc64 only for structures larger than 32 bytes.
53 Pass by reference for structures is done for structure arguments
55 * src/ffitest.c (main): Use 64bit rint on sparc64.
56 Run long long tests on sparc.
57 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
59 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
61 * configure.in (sparc-*-linux*): New supported target.
62 (sparc64-*-linux*): Likewise.
64 * Makefile.am: Add v9.S to SPARC files.
65 * Makefile.in: Likewise.
66 (LINK): Surround $(CCLD) into double quotes, so that multilib
67 compiles work correctly.
69 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
72 * configure.in: (i*86-*-solaris*): New libffi target. Patch
73 proposed by Bryce McKinlay.
75 2000-03-20 Tom Tromey <tromey@cygnus.com>
77 * Makefile.in: Hand edit for java_raw_api.lo.
79 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
81 * config.guess, config.sub: Update from the gcc tree.
82 Fix for PR libgcj/168.
84 2000-03-03 Tom Tromey <tromey@cygnus.com>
86 * Makefile.in: Fixed ia64 by hand.
89 * configure.in (--enable-multilib): New option.
90 (libffi_basedir): New subst.
91 (AC_OUTPUT): Added multilib code.
93 2000-03-02 Tom Tromey <tromey@cygnus.com>
95 * Makefile.in: Rebuilt.
96 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
99 2000-02-25 Hans Boehm <boehm@acm.org>
101 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
103 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
105 (ffi_prep_raw_closure): Use ffi_translate_args, not
106 ffi_closure_translate.
107 * src/java_raw_api.c: New file.
108 * src/ffitest.c (closure_test_fn): New function.
109 (main): Define `rint' as long long on IA64. Added new test when
110 FFI_CLOSURES is defined.
111 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
112 (ffi_abi): Recognize IA64.
113 (ffi_raw): Added `flt' field.
114 Added "Java raw API" code.
115 * configure.in: Recognize ia64.
116 * Makefile.am (TARGET_SRC_IA64): New macro.
117 (libffi_la_common_SOURCES): Added java_raw_api.c.
118 (libffi_la_SOURCES): Define in IA64 case.
120 2000-01-04 Tom Tromey <tromey@cygnus.com>
122 * Makefile.in: Rebuilt with newer automake.
124 1999-12-31 Tom Tromey <tromey@cygnus.com>
126 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
128 1999-09-01 Tom Tromey <tromey@cygnus.com>
130 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
132 * fficonfig.h.in: Rebuilt.
133 * configure: Rebuilt.
134 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
135 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
136 * acconfig.h: Don't #undef PACKAGE or VERSION.
138 1999-08-09 Anthony Green <green@cygnus.com>
140 * include/ffi.h.in: Try to work around messy header problem
141 with PACKAGE and VERSION.
143 * configure: Rebuilt.
144 * configure.in: Change version to 2.00-beta.
146 * fficonfig.h.in: Rebuilt.
147 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
149 * src/x86/ffi.c (ffi_raw_call): Rename.
151 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
153 * src/x86/ffi.c (ffi_closure_SYSV): New function.
154 (ffi_prep_incoming_args_SYSV): Ditto.
155 (ffi_prep_closure): Ditto.
156 (ffi_closure_raw_SYSV): Ditto.
157 (ffi_prep_raw_closure): More ditto.
158 (ffi_call_raw): Final ditto.
160 * include/ffi.h.in: Add definitions for closure and raw API.
162 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
165 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
167 * src/raw_api.c: New file.
169 * include/ffi.h.in (ffi_raw): New type.
170 (UINT_ARG, SINT_ARG): New defines.
171 (ffi_closure, ffi_raw_closure): New types.
172 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
174 * configure.in: Add check for endianness and sizeof void*.
176 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
179 * configure: Rebuilt.
181 Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
183 * configure.in: Add x86 and powerpc BeOS configurations.
184 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
186 1999-05-09 Anthony Green <green@cygnus.com>
188 * configure.in: Add warning about this being beta code.
189 Remove src/Makefile.am from the picture.
190 * configure: Rebuilt.
192 * Makefile.am: Move logic from src/Makefile.am. Add changes
193 to support libffi as a target library.
194 * Makefile.in: Rebuilt.
196 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
197 Upgraded to new autoconf, automake, libtool.
201 * LICENSE: Update copyright date.
203 * src/Makefile.am, src/Makefile.in: Removed.
205 1998-11-29 Anthony Green <green@cygnus.com>
207 * include/ChangeLog: Removed.
208 * src/ChangeLog: Removed.
209 * src/mips/ChangeLog: Removed.
210 * src/sparc/ChangeLog: Remboved.
211 * src/x86/ChangeLog: Removed.
213 * ChangeLog.v1: Created.