1 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
4 Remove USE_LIBDIR conditional.
5 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6 * Makefile.in, configure: Rebuilt.
8 2003-01027 David Edelsohn <edelsohn@gnu.org>
10 * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
11 * Makefile.in: Regenerate.
13 2003-01-22 Andrew Haley <aph@redhat.com>
15 * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
18 2003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
20 * src/powerpc/darwin.S: Add unwind info.
21 * src/powerpc/darwin_closure.S: Likewise.
23 2003-01-14 Andrew Haley <aph@redhat.com>
25 * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
26 (ffi_prep_cif_machdep): Likewise.
27 * src/x86/unix64.S: Add unwind info.
29 2003-01-14 Andreas Jaeger <aj@suse.de>
31 * src/ffitest.c (main): Only use ffi_closures if those are
34 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
36 * libffi/src/ffitest.c
39 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
41 * libffi/src/powerpc/ffi.c
42 fix alignment bug for float (4 byte aligned iso 8 byte)
44 2003-01-09 Geoffrey Keating <geoffk@apple.com>
46 * src/powerpc/ffi_darwin.c: Remove RCS version string.
47 * src/powerpc/darwin.S: Remove RCS version string.
49 2003-01-03 Jeff Sturm <jsturm@one-point.com>
51 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
52 * src/ffitest.c (main): Use static storage for closure.
53 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
54 * src/sparc/v8.S (ffi_closure_v8): New.
55 * src/sparc/v9.S (ffi_closure_v9): New.
57 2002-11-10 Ranjit Mathew <rmathew@hotmail.com>
59 * include/ffi.h.in: Added FFI_STDCALL ffi_type
60 enumeration for X86_WIN32.
61 * src/x86/win32.S: Added ffi_call_STDCALL function
63 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
64 switch cases for recognising FFI_STDCALL and
65 calling ffi_call_STDCALL if target is X86_WIN32.
66 * src/ffitest.c (my_stdcall_strlen/stdcall_many):
67 stdcall versions of the "my_strlen" and "many"
68 test functions (for X86_WIN32).
69 Added test cases to test stdcall invocation using
72 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
74 * src/sh/sysv.S: Add DWARF2 unwind info.
76 2002-11-27 Ulrich Weigand <uweigand@de.ibm.com>
78 * src/s390/sysv.S (.eh_frame section): Make section read-only.
80 2002-11-26 Jim Wilson <wilson@redhat.com>
82 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
84 2002-11-23 H.J. Lu <hjl@gnu.org>
86 * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
87 Include ../config/accross.m4.
88 * aclocal.m4; Rebuild.
89 * configure: Likewise.
91 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
93 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
95 2002-11-11 DJ Delorie <dj@redhat.com>
97 * configure.in: Look for common files in the right place.
99 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
101 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
102 raw data as _Jv_word values, not ffi_raw.
103 (ffi_java_ptrarray_to_raw): Likewise.
104 (ffi_java_rvalue_to_raw): New function.
105 (ffi_java_raw_call): Call it.
106 (ffi_java_raw_to_rvalue): New function.
107 (ffi_java_translate_args): Call it.
108 * src/ffitest.c (closure_test_fn): Interpret return value
110 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
111 FFI_TYPE_POINTER case.
112 (ffi_closure_helper_SYSV): Likewise. Also, assume return
113 values extended to word size.
115 2002-10-02 Andreas Jaeger <aj@suse.de>
117 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
119 2002-10-01 Bo Thorsen <bo@smetana.suse.de>
121 * include/ffi.h.in: Fix i386 win32 compilation.
123 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
125 * configure.in: Add s390x-*-linux-* target.
126 * configure: Regenerate.
127 * include/ffi.h.in: Define S390X for s390x targets.
128 (FFI_CLOSURES): Define for s390/s390x.
129 (FFI_TRAMPOLINE_SIZE): Likewise.
130 (FFI_NATIVE_RAW_API): Likewise.
131 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
132 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
133 * src/s390/ffi.c: Major rework of existing code. Add support for
134 s390x targets. Add closure support.
135 * src/s390/sysv.S: Likewise.
137 2002-09-29 Richard Earnshaw <rearnsha@arm.com>
139 * src/arm/sysv.S: Fix typo.
141 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
143 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
144 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
145 (ffi_call_SYSV): Handle soft-float.
147 2002-09-27 Bo Thorsen <bo@suse.de>
149 * include/ffi.h.in: Fix multilib x86-64 support.
151 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
153 * Makefile.am (all-multi): Fix multilib parallel build.
155 2002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
157 * configure.in (sh[34]*-*-linux*): Add brackets.
158 * configure: Regenerate.
160 2002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
162 * Makefile.am: Add SH support.
163 * Makefile.in: Regenerate.
164 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
165 * configure: Regenerate.
166 * include/ffi.h.in: Add SH support.
167 * src/sh/ffi.c: New file.
168 * src/sh/sysv.S: New file.
169 * src/types.c: Add SH support.
171 2002-07-16 Bo Thorsen <bo@suse.de>
173 * src/x86/ffi64.c: New file that adds x86-64 support.
174 * src/x86/unix64.S: New file that handles argument setup for
176 * src/x86/sysv.S: Don't use this on x86-64.
177 * src/x86/ffi.c: Don't use this on x86-64.
179 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
181 * src/ffitest.c (struct6): New test that tests a special case in
186 (closure_test_fn): Silence warning about this when it's not used.
187 (main): Add the new tests.
188 (main): Fix a couple of wrong casts and silence some compiler warnings.
189 * include/ffi.h.in: Add x86-64 ABI definition.
190 * fficonfig.h.in: Regenerate.
191 * Makefile.am: Add x86-64 support.
192 * configure.in: Likewise.
193 * Makefile.in: Regenerate.
194 * configure: Likewise.
196 2002-06-24 Bo Thorsen <bo@suse.de>
198 * src/types.c: Merge settings for similar architectures.
199 Add x86-64 sizes and alignments.
201 2002-06-23 Bo Thorsen <bo@suse.de>
203 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
204 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
205 * src/mips/ffi.c (ffi_prep_args): Likewise.
206 * src/m68k/ffi.c (ffi_prep_args): Likewise.
208 2002-07-18 H.J. Lu (hjl@gnu.org)
210 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
211 (libffi_la_SOURCES): Support MIPS_LINUX.
212 (libffi_convenience_la_SOURCES): Likewise.
213 * Makefile.in: Regenerated.
215 * configure.in (mips64*-*): Skip.
216 (mips*-*-linux*): New.
217 * configure: Regenerated.
219 * src/mips/ffi.c: Include <sgidefs.h>.
221 2002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
223 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
225 2002-05-27 Roger Sayle <roger@eyesopen.com>
227 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
229 2002-05-27 Bo Thorsen <bo@suse.de>
231 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
234 2002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
236 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
237 beginning of function (for older apple cc).
239 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
241 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
242 script entry, and set LD to it when configuring multilibs.
243 * configure: Rebuilt.
245 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
247 * configure.in (sparc64-*-netbsd*): Add target.
248 (sparc-*-netbsdelf*): Likewise.
249 * configure: Regenerate.
251 2002-04-28 David S. Miller <davem@redhat.com>
253 * configure.in, configure: Fix SPARC test in previous change.
255 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
257 * Makefile.am: Add Linux for S/390 support.
258 * Makefile.in: Regenerate.
259 * configure.in: Add Linux for S/390 support.
260 * configure: Regenerate.
261 * include/ffi.h.in: Add Linux for S/390 support.
262 * src/s390/ffi.c: New file from libffi CVS tree.
263 * src/s390/sysv.S: New file from libffi CVS tree.
265 2002-04-28 Jakub Jelinek <jakub@redhat.com>
267 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
269 * src/sparc/v8.S: Use it.
270 * src/sparc/v9.S: Likewise.
271 * fficonfig.h.in: Rebuilt.
272 * configure: Rebuilt.
274 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
276 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
278 * src/ia64/unix.S: Add unwind information. Fix comments.
279 Save sp in a way that's compatible with unwind info.
280 (ffi_call_unix): Correctly restore sp in all cases.
281 * src/ia64/ffi.c: Add, fix comments.
283 2002-04-08 Jakub Jelinek <jakub@redhat.com>
285 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
287 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
289 * configure.in (alpha*-*-netbsd*): Add target.
290 * configure: Regenerate.
292 2002-04-04 Jeff Sturm <jsturm@one-point.com>
294 * src/sparc/v8.S: Add unwind info.
295 * src/sparc/v9.S: Likewise.
297 2002-03-30 Krister Walfridsson <cato@df.lth.se>
299 * configure.in: Enable i*86-*-netbsdelf*.
300 * configure: Rebuilt.
302 2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
305 * src/mips/n32.s: Delete
306 * src/mips/o32.s: Delete
308 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
310 * configure.in: Enable alpha*-*-freebsd*.
311 * configure: Rebuilt.
313 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
315 * Makefile.am: libfficonvenience -> libffi_convenience.
316 * Makefile.in: Rebuilt.
318 * Makefile.am: Define ffitest_OBJECTS.
319 * Makefile.in: Rebuilt.
321 2002-03-07 Andreas Tobler <toa@pop.agri.ch>
322 David Edelsohn <edelsohn@gnu.org>
324 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
325 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
326 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
327 * Makefile.in: Regenerate.
328 * include/ffi.h.in: Add AIX and Darwin closure definitions.
329 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
330 (flush_icache, flush_range): New functions.
331 (ffi_closure_helper_DARWIN): New function.
332 * src/powerpc/aix_closure.S: New file.
333 * src/powerpc/darwin_closure.S: New file.
335 2002-02-24 Jeff Sturm <jsturm@one-point.com>
337 * include/ffi.h.in: Add typedef for ffi_arg.
338 * src/ffitest.c (main): Declare rint with ffi_arg.
340 2002-02-21 Andreas Tobler <toa@pop.agri.ch>
342 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
343 number of GPRs for floating-point arguments.
345 2002-01-31 Anthony Green <green@redhat.com>
347 * configure: Rebuilt.
348 * configure.in: Replace CHECK_SIZEOF and endian tests with
349 cross-compiler friendly macros.
350 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
353 2002-01-18 David Edelsohn <edelsohn@gnu.org>
355 * src/powerpc/darwin.S (_ffi_call_AIX): New.
356 * src/powerpc/aix.S (ffi_call_DARWIN): New.
358 2002-01-17 David Edelsohn <edelsohn@gnu.org>
360 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
361 (TARGET_SRC_POWERPC_AIX): New.
362 (POWERPC_AIX): New stanza.
363 * Makefile.in: Regenerate.
364 * configure.in: Add AIX case.
365 * configure: Regenerate.
366 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
367 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
368 size. Fix "long double" support.
369 (ffi_call): Add FFI_AIX case.
370 * src/powerpc/aix.S: New.
372 2001-10-09 John Hornkvist <john@toastedmarshmallow.com>
374 Implement Darwin PowerPC ABI.
375 * configure.in: Handle powerpc-*-darwin*.
376 * Makefile.am: Set source files for POWERPC_DARWIN.
377 * configure: Rebuilt.
378 * Makefile.in: Rebuilt.
379 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
381 * src/powerpc/darwin.S: New file.
382 * src/powerpc/ffi_darwin.c: New file.
384 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
386 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
388 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
390 * src/x86/sysv.S: Avoid gas-only .balign directive.
391 Use C style comments.
393 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
395 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
396 Fixes PR bootstrap/3563.
398 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
400 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
402 2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
404 * configure.in: Recognize sparc*-sun-* host.
405 * configure: Regenerate.
407 2001-06-06 Andrew Haley <aph@redhat.com>
409 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
411 2001-06-03 Andrew Haley <aph@redhat.com>
413 * src/alpha/osf.S: Add unwind info.
414 * src/powerpc/sysv.S: Add unwind info.
415 * src/powerpc/ppc_closure.S: Likewise.
417 2000-05-31 Jeff Sturm <jsturm@one-point.com>
419 * configure.in: Fix AC_ARG_ENABLE usage.
420 * configure: Rebuilt.
422 2001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
424 * configure.in: Remove warning about beta code.
425 * configure: Rebuilt.
427 2001-04-25 Hans Boehm <Hans_Boehm@hp.com>
429 * src/ia64/unix.S: Restore stack pointer when returning from
431 * src/ia64/ffi.c: Fix typo in comment.
433 2001-04-18 Jim Wilson <wilson@redhat.com>
435 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
438 2001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
440 * Makefile.am: Make a libtool convenience library.
441 * Makefile.in: Rebuilt.
443 2001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
445 * configure.in: Use different syntax for subdirectory creation.
446 * configure: Rebuilt.
448 2001-03-27 Jon Beniston <jon@beniston.com>
450 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
451 * configure: Rebuilt.
452 * Makefile.am: Added X86_WIN32 target support.
453 * Makefile.in: Rebuilt.
455 * include/ffi.h.in: Added X86_WIN32 target support.
457 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
458 * src/types.c: Added X86_WIN32 target support.
460 * src/x86/win32.S: New file. Based on sysv.S, but with EH
461 stuff removed and made to work with CygWin's gas.
463 2001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
465 * configure.in: Make target subdirectory in build dir.
466 * Makefile.am: Override suffix based rules to specify correct output
468 * Makefile.in: Rebuilt.
469 * configure: Rebuilt.
471 2001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
473 * src/powerpc/ppc_closure.S: New file.
474 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
475 involving long long and register pairs.
476 (ffi_prep_closure): New function.
477 (flush_icache): Likewise.
478 (ffi_closure_helper_SYSV): Likewise.
479 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
480 (FFI_TRAMPOLINE_SIZE): Likewise.
481 (FFI_NATIVE_RAW_API): Likewise.
482 * Makefile.in: Rebuilt.
483 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
484 (TARGET_SRC_POWERPC): Likewise.
486 2001-03-19 Tom Tromey <tromey@redhat.com>
488 * Makefile.in: Rebuilt.
489 * Makefile.am (ffitest_LDFLAGS): New macro.
491 2001-03-02 Nick Clifton <nickc@redhat.com>
493 * include/ffi.h.in: Remove RCS ident string.
494 * include/ffi_mips.h: Remove RCS ident string.
495 * src/debug.c: Remove RCS ident string.
496 * src/ffitest.c: Remove RCS ident string.
497 * src/prep_cif.c: Remove RCS ident string.
498 * src/types.c: Remove RCS ident string.
499 * src/alpha/ffi.c: Remove RCS ident string.
500 * src/alpha/osf.S: Remove RCS ident string.
501 * src/arm/ffi.c: Remove RCS ident string.
502 * src/arm/sysv.S: Remove RCS ident string.
503 * src/mips/ffi.c: Remove RCS ident string.
504 * src/mips/n32.S: Remove RCS ident string.
505 * src/mips/o32.S: Remove RCS ident string.
506 * src/sparc/ffi.c: Remove RCS ident string.
507 * src/sparc/v8.S: Remove RCS ident string.
508 * src/sparc/v9.S: Remove RCS ident string.
509 * src/x86/ffi.c: Remove RCS ident string.
510 * src/x86/sysv.S: Remove RCS ident string.
512 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
514 * include/ffi.h.in: Change sourceware.cygnus.com references to
517 2000-12-09 Richard Henderson <rth@redhat.com>
519 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
520 (ffi_closure_osf_inner): Index rather than increment avalue
521 and arg_types. Give ffi_closure_osf the raw return value type.
522 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
525 2000-12-07 Richard Henderson <rth@redhat.com>
527 * src/raw_api.c (ffi_translate_args): Fix typo.
528 (ffi_prep_closure): Likewise.
530 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
532 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
533 cif->bytes for new ffi_call_osf implementation.
534 (ffi_prep_args): Absorb into ...
535 (ffi_call): ... here. Do all stack allocation here and
536 avoid a callback function.
537 (ffi_prep_closure, ffi_closure_osf_inner): New.
538 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
539 (ffi_closure_osf): New.
541 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
543 * config.guess, config.sub, install-sh: Removed.
544 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
545 * Makefile.in: Rebuilt.
547 * acinclude.m4: Include libtool macros from the top level.
548 * aclocal.m4, configure: Rebuilt.
550 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
552 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
553 * configure: Rebuilt.
555 2000-05-11 Scott Bambrough <scottb@netwinder.org>
557 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
558 memory correctly. Use conditional instructions, not branches where
561 2000-05-04 Tom Tromey <tromey@cygnus.com>
563 * configure: Rebuilt.
564 * configure.in: Match `arm*-*-linux-*'.
565 From Chris Dornan <cdornan@arm.com>.
567 2000-04-28 Jakub Jelinek <jakub@redhat.com>
569 * Makefile.am (SUBDIRS): Define.
570 (AM_MAKEFLAGS): Likewise.
571 (Multilib support.): Add section.
572 * Makefile.in: Rebuilt.
573 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
574 New variables. Set for gcc using -print-multi-lib. Export them
576 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
577 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
579 (extra_compiler_flags_value, extra_compiler_flags): Check these
580 for extra compiler options which need to be passed down in
583 2000-04-16 Anthony Green <green@redhat.com>
585 * configure: Rebuilt.
586 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
588 2000-04-14 Jakub Jelinek <jakub@redhat.com>
590 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
591 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
592 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
593 Replace all void * sizeofs with sizeof(int).
594 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
595 different than DOUBLE.
596 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
597 (ffi_prep_args_v9): New function.
598 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
599 (ffi_V9_return_struct): New function.
600 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
601 32bit code (not yet cross-arch calls).
602 * src/sparc/v8.S: Add struct return delay nop.
604 * src/sparc/v9.S: New file.
605 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
606 is used on sparc64 only for structures larger than 32 bytes.
607 Pass by reference for structures is done for structure arguments
608 larger than 16 bytes.
609 * src/ffitest.c (main): Use 64bit rint on sparc64.
610 Run long long tests on sparc.
611 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
613 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
615 * configure.in (sparc-*-linux*): New supported target.
616 (sparc64-*-linux*): Likewise.
617 * configure: Rebuilt.
618 * Makefile.am: Add v9.S to SPARC files.
619 * Makefile.in: Likewise.
620 (LINK): Surround $(CCLD) into double quotes, so that multilib
621 compiles work correctly.
623 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
625 * configure: Rebuilt.
626 * configure.in: (i*86-*-solaris*): New libffi target. Patch
627 proposed by Bryce McKinlay.
629 2000-03-20 Tom Tromey <tromey@cygnus.com>
631 * Makefile.in: Hand edit for java_raw_api.lo.
633 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
635 * config.guess, config.sub: Update from the gcc tree.
636 Fix for PR libgcj/168.
638 2000-03-03 Tom Tromey <tromey@cygnus.com>
640 * Makefile.in: Fixed ia64 by hand.
642 * configure: Rebuilt.
643 * configure.in (--enable-multilib): New option.
644 (libffi_basedir): New subst.
645 (AC_OUTPUT): Added multilib code.
647 2000-03-02 Tom Tromey <tromey@cygnus.com>
649 * Makefile.in: Rebuilt.
650 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
653 2000-02-25 Hans Boehm <boehm@acm.org>
655 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
657 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
659 (ffi_prep_raw_closure): Use ffi_translate_args, not
660 ffi_closure_translate.
661 * src/java_raw_api.c: New file.
662 * src/ffitest.c (closure_test_fn): New function.
663 (main): Define `rint' as long long on IA64. Added new test when
664 FFI_CLOSURES is defined.
665 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
666 (ffi_abi): Recognize IA64.
667 (ffi_raw): Added `flt' field.
668 Added "Java raw API" code.
669 * configure.in: Recognize ia64.
670 * Makefile.am (TARGET_SRC_IA64): New macro.
671 (libffi_la_common_SOURCES): Added java_raw_api.c.
672 (libffi_la_SOURCES): Define in IA64 case.
674 2000-01-04 Tom Tromey <tromey@cygnus.com>
676 * Makefile.in: Rebuilt with newer automake.
678 1999-12-31 Tom Tromey <tromey@cygnus.com>
680 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
682 1999-09-01 Tom Tromey <tromey@cygnus.com>
684 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
686 * fficonfig.h.in: Rebuilt.
687 * configure: Rebuilt.
688 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
689 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
690 * acconfig.h: Don't #undef PACKAGE or VERSION.
692 1999-08-09 Anthony Green <green@cygnus.com>
694 * include/ffi.h.in: Try to work around messy header problem
695 with PACKAGE and VERSION.
697 * configure: Rebuilt.
698 * configure.in: Change version to 2.00-beta.
700 * fficonfig.h.in: Rebuilt.
701 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
703 * src/x86/ffi.c (ffi_raw_call): Rename.
705 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
707 * src/x86/ffi.c (ffi_closure_SYSV): New function.
708 (ffi_prep_incoming_args_SYSV): Ditto.
709 (ffi_prep_closure): Ditto.
710 (ffi_closure_raw_SYSV): Ditto.
711 (ffi_prep_raw_closure): More ditto.
712 (ffi_call_raw): Final ditto.
714 * include/ffi.h.in: Add definitions for closure and raw API.
716 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
719 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
721 * src/raw_api.c: New file.
723 * include/ffi.h.in (ffi_raw): New type.
724 (UINT_ARG, SINT_ARG): New defines.
725 (ffi_closure, ffi_raw_closure): New types.
726 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
728 * configure.in: Add check for endianness and sizeof void*.
730 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
733 * configure: Rebuilt.
735 Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
737 * configure.in: Add x86 and powerpc BeOS configurations.
738 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
740 1999-05-09 Anthony Green <green@cygnus.com>
742 * configure.in: Add warning about this being beta code.
743 Remove src/Makefile.am from the picture.
744 * configure: Rebuilt.
746 * Makefile.am: Move logic from src/Makefile.am. Add changes
747 to support libffi as a target library.
748 * Makefile.in: Rebuilt.
750 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
751 Upgraded to new autoconf, automake, libtool.
755 * LICENSE: Update copyright date.
757 * src/Makefile.am, src/Makefile.in: Removed.
759 1998-11-29 Anthony Green <green@cygnus.com>
761 * include/ChangeLog: Removed.
762 * src/ChangeLog: Removed.
763 * src/mips/ChangeLog: Removed.
764 * src/sparc/ChangeLog: Remboved.
765 * src/x86/ChangeLog: Removed.
767 * ChangeLog.v1: Created.