1 2002-01-18 David Edelsohn <edelsohn@gnu.org>
3 * src/powerpc/darwin.S (_ffi_call_AIX): New.
4 * src/powerpc/aix.S (ffi_call_DARWIN): New.
6 2002-01-17 David Edelsohn <edelsohn@gnu.org>
8 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
9 (TARGET_SRC_POWERPC_AIX): New.
10 (POWERPC_AIX): New stanza.
11 * Makefile.in: Regenerate.
12 * configure.in: Add AIX case.
13 * configure: Regenerate.
14 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
15 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
16 size. Fix "long double" support.
17 (ffi_call): Add FFI_AIX case.
18 * src/powerpc/aix.S: New.
20 2001-10-09 John Hornkvist <john@toastedmarshmallow.com>
22 Implement Darwin PowerPC ABI.
23 * configure.in: Handle powerpc-*-darwin*.
24 * Makefile.am: Set source files for POWERPC_DARWIN.
26 * Makefile.in: Rebuilt.
27 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
29 * src/powerpc/darwin.S: New file.
30 * src/powerpc/ffi_darwin.c: New file.
32 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
34 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
36 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
38 * src/x86/sysv.S: Avoid gas-only .balign directive.
41 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
43 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
44 Fixes PR bootstrap/3563.
46 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
48 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
50 2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
52 * configure.in: Recognize sparc*-sun-* host.
53 * configure: Regenerate.
55 2001-06-06 Andrew Haley <aph@redhat.com>
57 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
59 2001-06-03 Andrew Haley <aph@redhat.com>
61 * src/alpha/osf.S: Add unwind info.
62 * src/powerpc/sysv.S: Add unwind info.
63 * src/powerpc/ppc_closure.S: Likewise.
65 2000-05-31 Jeff Sturm <jsturm@one-point.com>
67 * configure.in: Fix AC_ARG_ENABLE usage.
70 2001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
72 * configure.in: Remove warning about beta code.
75 2001-04-25 Hans Boehm <Hans_Boehm@hp.com>
77 * src/ia64/unix.S: Restore stack pointer when returning from
79 * src/ia64/ffi.c: Fix typo in comment.
81 2001-04-18 Jim Wilson <wilson@redhat.com>
83 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
86 2001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
88 * Makefile.am: Make a libtool convenience library.
89 * Makefile.in: Rebuilt.
91 2001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
93 * configure.in: Use different syntax for subdirectory creation.
96 2001-03-27 Jon Beniston <jon@beniston.com>
98 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
100 * Makefile.am: Added X86_WIN32 target support.
101 * Makefile.in: Rebuilt.
103 * include/ffi.h.in: Added X86_WIN32 target support.
105 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
106 * src/types.c: Added X86_WIN32 target support.
108 * src/x86/win32.S: New file. Based on sysv.S, but with EH
109 stuff removed and made to work with CygWin's gas.
111 2001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
113 * configure.in: Make target subdirectory in build dir.
114 * Makefile.am: Override suffix based rules to specify correct output
116 * Makefile.in: Rebuilt.
117 * configure: Rebuilt.
119 2001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
121 * src/powerpc/ppc_closure.S: New file.
122 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
123 involving long long and register pairs.
124 (ffi_prep_closure): New function.
125 (flush_icache): Likewise.
126 (ffi_closure_helper_SYSV): Likewise.
127 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
128 (FFI_TRAMPOLINE_SIZE): Likewise.
129 (FFI_NATIVE_RAW_API): Likewise.
130 * Makefile.in: Rebuilt.
131 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
132 (TARGET_SRC_POWERPC): Likewise.
134 2001-03-19 Tom Tromey <tromey@redhat.com>
136 * Makefile.in: Rebuilt.
137 * Makefile.am (ffitest_LDFLAGS): New macro.
139 2001-03-02 Nick Clifton <nickc@redhat.com>
141 * include/ffi.h.in: Remove RCS ident string.
142 * include/ffi_mips.h: Remove RCS ident string.
143 * src/debug.c: Remove RCS ident string.
144 * src/ffitest.c: Remove RCS ident string.
145 * src/prep_cif.c: Remove RCS ident string.
146 * src/types.c: Remove RCS ident string.
147 * src/alpha/ffi.c: Remove RCS ident string.
148 * src/alpha/osf.S: Remove RCS ident string.
149 * src/arm/ffi.c: Remove RCS ident string.
150 * src/arm/sysv.S: Remove RCS ident string.
151 * src/mips/ffi.c: Remove RCS ident string.
152 * src/mips/n32.S: Remove RCS ident string.
153 * src/mips/o32.S: Remove RCS ident string.
154 * src/sparc/ffi.c: Remove RCS ident string.
155 * src/sparc/v8.S: Remove RCS ident string.
156 * src/sparc/v9.S: Remove RCS ident string.
157 * src/x86/ffi.c: Remove RCS ident string.
158 * src/x86/sysv.S: Remove RCS ident string.
160 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
162 * include/ffi.h.in: Change sourceware.cygnus.com references to
165 2000-12-09 Richard Henderson <rth@redhat.com>
167 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
168 (ffi_closure_osf_inner): Index rather than increment avalue
169 and arg_types. Give ffi_closure_osf the raw return value type.
170 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
173 2000-12-07 Richard Henderson <rth@redhat.com>
175 * src/raw_api.c (ffi_translate_args): Fix typo.
176 (ffi_prep_closure): Likewise.
178 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
180 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
181 cif->bytes for new ffi_call_osf implementation.
182 (ffi_prep_args): Absorb into ...
183 (ffi_call): ... here. Do all stack allocation here and
184 avoid a callback function.
185 (ffi_prep_closure, ffi_closure_osf_inner): New.
186 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
187 (ffi_closure_osf): New.
189 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
191 * config.guess, config.sub, install-sh: Removed.
192 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
193 * Makefile.in: Rebuilt.
195 * acinclude.m4: Include libtool macros from the top level.
196 * aclocal.m4, configure: Rebuilt.
198 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
200 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
201 * configure: Rebuilt.
203 2000-05-11 Scott Bambrough <scottb@netwinder.org>
205 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
206 memory correctly. Use conditional instructions, not branches where
209 2000-05-04 Tom Tromey <tromey@cygnus.com>
211 * configure: Rebuilt.
212 * configure.in: Match `arm*-*-linux-*'.
213 From Chris Dornan <cdornan@arm.com>.
215 2000-04-28 Jakub Jelinek <jakub@redhat.com>
217 * Makefile.am (SUBDIRS): Define.
218 (AM_MAKEFLAGS): Likewise.
219 (Multilib support.): Add section.
220 * Makefile.in: Rebuilt.
221 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
222 New variables. Set for gcc using -print-multi-lib. Export them
224 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
225 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
227 (extra_compiler_flags_value, extra_compiler_flags): Check these
228 for extra compiler options which need to be passed down in
231 2000-04-16 Anthony Green <green@redhat.com>
233 * configure: Rebuilt.
234 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
236 2000-04-14 Jakub Jelinek <jakub@redhat.com>
238 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
239 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
240 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
241 Replace all void * sizeofs with sizeof(int).
242 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
243 different than DOUBLE.
244 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
245 (ffi_prep_args_v9): New function.
246 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
247 (ffi_V9_return_struct): New function.
248 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
249 32bit code (not yet cross-arch calls).
250 * src/sparc/v8.S: Add struct return delay nop.
252 * src/sparc/v9.S: New file.
253 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
254 is used on sparc64 only for structures larger than 32 bytes.
255 Pass by reference for structures is done for structure arguments
256 larger than 16 bytes.
257 * src/ffitest.c (main): Use 64bit rint on sparc64.
258 Run long long tests on sparc.
259 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
261 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
263 * configure.in (sparc-*-linux*): New supported target.
264 (sparc64-*-linux*): Likewise.
265 * configure: Rebuilt.
266 * Makefile.am: Add v9.S to SPARC files.
267 * Makefile.in: Likewise.
268 (LINK): Surround $(CCLD) into double quotes, so that multilib
269 compiles work correctly.
271 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
273 * configure: Rebuilt.
274 * configure.in: (i*86-*-solaris*): New libffi target. Patch
275 proposed by Bryce McKinlay.
277 2000-03-20 Tom Tromey <tromey@cygnus.com>
279 * Makefile.in: Hand edit for java_raw_api.lo.
281 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
283 * config.guess, config.sub: Update from the gcc tree.
284 Fix for PR libgcj/168.
286 2000-03-03 Tom Tromey <tromey@cygnus.com>
288 * Makefile.in: Fixed ia64 by hand.
290 * configure: Rebuilt.
291 * configure.in (--enable-multilib): New option.
292 (libffi_basedir): New subst.
293 (AC_OUTPUT): Added multilib code.
295 2000-03-02 Tom Tromey <tromey@cygnus.com>
297 * Makefile.in: Rebuilt.
298 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
301 2000-02-25 Hans Boehm <boehm@acm.org>
303 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
305 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
307 (ffi_prep_raw_closure): Use ffi_translate_args, not
308 ffi_closure_translate.
309 * src/java_raw_api.c: New file.
310 * src/ffitest.c (closure_test_fn): New function.
311 (main): Define `rint' as long long on IA64. Added new test when
312 FFI_CLOSURES is defined.
313 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
314 (ffi_abi): Recognize IA64.
315 (ffi_raw): Added `flt' field.
316 Added "Java raw API" code.
317 * configure.in: Recognize ia64.
318 * Makefile.am (TARGET_SRC_IA64): New macro.
319 (libffi_la_common_SOURCES): Added java_raw_api.c.
320 (libffi_la_SOURCES): Define in IA64 case.
322 2000-01-04 Tom Tromey <tromey@cygnus.com>
324 * Makefile.in: Rebuilt with newer automake.
326 1999-12-31 Tom Tromey <tromey@cygnus.com>
328 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
330 1999-09-01 Tom Tromey <tromey@cygnus.com>
332 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
334 * fficonfig.h.in: Rebuilt.
335 * configure: Rebuilt.
336 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
337 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
338 * acconfig.h: Don't #undef PACKAGE or VERSION.
340 1999-08-09 Anthony Green <green@cygnus.com>
342 * include/ffi.h.in: Try to work around messy header problem
343 with PACKAGE and VERSION.
345 * configure: Rebuilt.
346 * configure.in: Change version to 2.00-beta.
348 * fficonfig.h.in: Rebuilt.
349 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
351 * src/x86/ffi.c (ffi_raw_call): Rename.
353 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
355 * src/x86/ffi.c (ffi_closure_SYSV): New function.
356 (ffi_prep_incoming_args_SYSV): Ditto.
357 (ffi_prep_closure): Ditto.
358 (ffi_closure_raw_SYSV): Ditto.
359 (ffi_prep_raw_closure): More ditto.
360 (ffi_call_raw): Final ditto.
362 * include/ffi.h.in: Add definitions for closure and raw API.
364 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
367 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
369 * src/raw_api.c: New file.
371 * include/ffi.h.in (ffi_raw): New type.
372 (UINT_ARG, SINT_ARG): New defines.
373 (ffi_closure, ffi_raw_closure): New types.
374 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
376 * configure.in: Add check for endianness and sizeof void*.
378 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
381 * configure: Rebuilt.
383 Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
385 * configure.in: Add x86 and powerpc BeOS configurations.
386 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
388 1999-05-09 Anthony Green <green@cygnus.com>
390 * configure.in: Add warning about this being beta code.
391 Remove src/Makefile.am from the picture.
392 * configure: Rebuilt.
394 * Makefile.am: Move logic from src/Makefile.am. Add changes
395 to support libffi as a target library.
396 * Makefile.in: Rebuilt.
398 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
399 Upgraded to new autoconf, automake, libtool.
403 * LICENSE: Update copyright date.
405 * src/Makefile.am, src/Makefile.in: Removed.
407 1998-11-29 Anthony Green <green@cygnus.com>
409 * include/ChangeLog: Removed.
410 * src/ChangeLog: Removed.
411 * src/mips/ChangeLog: Removed.
412 * src/sparc/ChangeLog: Remboved.
413 * src/x86/ChangeLog: Removed.
415 * ChangeLog.v1: Created.