OSDN Git Service

423c4b058fbdda51e64966cce625f03c2b1dde74
[pf3gnuchains/gcc-fork.git] / libffi / ChangeLog
1 2002-11-27  Ulrich Weigand  <uweigand@de.ibm.com>
2
3         * src/s390/sysv.S (.eh_frame section): Make section read-only.
4
5 2002-11-26  Jim Wilson  <wilson@redhat.com>
6
7         * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
8
9 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
10
11         * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
12
13 2002-11-11  DJ Delorie  <dj@redhat.com>
14
15         * configure.in: Look for common files in the right place.
16
17 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
18
19         * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
20         raw data as _Jv_word values, not ffi_raw.
21         (ffi_java_ptrarray_to_raw): Likewise.
22         (ffi_java_rvalue_to_raw): New function.
23         (ffi_java_raw_call): Call it.
24         (ffi_java_raw_to_rvalue): New function.
25         (ffi_java_translate_args): Call it.
26         * src/ffitest.c (closure_test_fn): Interpret return value
27         as ffi_arg, not int.
28         * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
29         FFI_TYPE_POINTER case.
30         (ffi_closure_helper_SYSV): Likewise.  Also, assume return
31         values extended to word size.
32
33 2002-10-02  Andreas Jaeger  <aj@suse.de>
34
35         * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
36
37 2002-10-01  Bo Thorsen  <bo@smetana.suse.de>
38
39         * include/ffi.h.in: Fix i386 win32 compilation.
40
41 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
42
43         * configure.in: Add s390x-*-linux-* target.
44         * configure: Regenerate.
45         * include/ffi.h.in: Define S390X for s390x targets.
46         (FFI_CLOSURES): Define for s390/s390x.
47         (FFI_TRAMPOLINE_SIZE): Likewise.
48         (FFI_NATIVE_RAW_API): Likewise.
49         * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
50         * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
51         * src/s390/ffi.c: Major rework of existing code.  Add support for 
52         s390x targets.  Add closure support.
53         * src/s390/sysv.S: Likewise.
54
55 2002-09-29  Richard Earnshaw  <rearnsha@arm.com>
56
57         * src/arm/sysv.S: Fix typo.
58
59 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
60
61         * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
62         has defined __USER_LABEL_PREFIX__, then use it in CNAME.
63         (ffi_call_SYSV): Handle soft-float.
64
65 2002-09-27  Bo Thorsen  <bo@suse.de>
66
67         * include/ffi.h.in: Fix multilib x86-64 support.
68
69 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
70
71         * Makefile.am (all-multi): Fix multilib parallel build.
72
73 2002-07-19  Kaz Kojima  <kkojima@gcc.gnu.org>
74
75         * configure.in (sh[34]*-*-linux*): Add brackets.
76         * configure: Regenerate.
77
78 2002-07-18  Kaz Kojima  <kkojima@gcc.gnu.org>
79
80         * Makefile.am: Add SH support.
81         * Makefile.in: Regenerate.
82         * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
83         * configure: Regenerate.
84         * include/ffi.h.in: Add SH support.
85         * src/sh/ffi.c: New file.
86         * src/sh/sysv.S: New file.
87         * src/types.c: Add SH support.
88
89 2002-07-16  Bo Thorsen  <bo@suse.de>
90
91         * src/x86/ffi64.c: New file that adds x86-64 support.
92         * src/x86/unix64.S: New file that handles argument setup for
93         x86-64.
94         * src/x86/sysv.S: Don't use this on x86-64.
95         * src/x86/ffi.c: Don't use this on x86-64.
96         Remove unused vars.
97         * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
98         for x86-64.
99         * src/ffitest.c (struct6): New test that tests a special case in
100         the x86-64 ABI.
101         (struct7): Likewise.
102         (struct8): Likewise.
103         (struct9): Likewise.
104         (closure_test_fn): Silence warning about this when it's not used.
105         (main): Add the new tests.
106         (main): Fix a couple of wrong casts and silence some compiler warnings.
107         * include/ffi.h.in: Add x86-64 ABI definition.
108         * fficonfig.h.in: Regenerate.
109         * Makefile.am: Add x86-64 support.
110         * configure.in: Likewise.
111         * Makefile.in: Regenerate.
112         * configure: Likewise.
113
114 2002-06-24  Bo Thorsen  <bo@suse.de>
115
116         * src/types.c: Merge settings for similar architectures.
117         Add x86-64 sizes and alignments.
118
119 2002-06-23  Bo Thorsen  <bo@suse.de>
120
121         * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
122         * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
123         * src/mips/ffi.c (ffi_prep_args): Likewise.
124         * src/m68k/ffi.c (ffi_prep_args): Likewise.
125
126 2002-07-18  H.J. Lu  (hjl@gnu.org)
127
128         * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
129         (libffi_la_SOURCES): Support MIPS_LINUX.
130         (libffi_convenience_la_SOURCES): Likewise.
131         * Makefile.in: Regenerated.
132
133         * configure.in (mips64*-*): Skip.
134         (mips*-*-linux*): New.
135         * configure: Regenerated.
136
137         * src/mips/ffi.c: Include <sgidefs.h>.
138
139 2002-06-06  Ulrich Weigand  <uweigand@de.ibm.com>
140
141         * src/s390/sysv.S: Save/restore %r6.  Add DWARF-2 unwind info.
142
143 2002-05-27  Roger Sayle  <roger@eyesopen.com>
144
145         * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
146
147 2002-05-27  Bo Thorsen  <bo@suse.de>
148
149         * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
150         fix formatting.
151
152 2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>
153
154         * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
155         beginning of function (for older apple cc).
156
157 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
158
159         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
160         script entry, and set LD to it when configuring multilibs.
161         * configure: Rebuilt.
162
163 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
164
165         * configure.in (sparc64-*-netbsd*): Add target.
166         (sparc-*-netbsdelf*): Likewise.
167         * configure: Regenerate.
168
169 2002-04-28  David S. Miller  <davem@redhat.com>
170
171         * configure.in, configure: Fix SPARC test in previous change.
172
173 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
174
175         * Makefile.am: Add Linux for S/390 support.
176         * Makefile.in: Regenerate.
177         * configure.in: Add Linux for S/390 support.
178         * configure: Regenerate.
179         * include/ffi.h.in: Add Linux for S/390 support.
180         * src/s390/ffi.c: New file from libffi CVS tree.
181         * src/s390/sysv.S: New file from libffi CVS tree.
182
183 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
184
185         * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
186         %r_disp32().
187         * src/sparc/v8.S: Use it.
188         * src/sparc/v9.S: Likewise.
189         * fficonfig.h.in: Rebuilt.
190         * configure: Rebuilt.
191
192 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
193
194         * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
195         correctly.
196         * src/ia64/unix.S: Add unwind information. Fix comments.
197         Save sp in a way that's compatible with unwind info.
198         (ffi_call_unix): Correctly restore sp in all cases.
199         * src/ia64/ffi.c: Add, fix comments.
200
201 2002-04-08  Jakub Jelinek  <jakub@redhat.com>
202
203         * src/sparc/v8.S: Make .eh_frame dependent on target word size.
204
205 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
206
207         * configure.in (alpha*-*-netbsd*): Add target.
208         * configure: Regenerate.
209
210 2002-04-04  Jeff Sturm  <jsturm@one-point.com>
211
212         * src/sparc/v8.S: Add unwind info.
213         * src/sparc/v9.S: Likewise.
214
215 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
216
217         * configure.in: Enable i*86-*-netbsdelf*.
218         * configure: Rebuilt.
219         
220 2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>
221
222         PR other/2620
223         * src/mips/n32.s: Delete
224         * src/mips/o32.s: Delete
225
226 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
227
228         * configure.in: Enable alpha*-*-freebsd*.
229         * configure: Rebuilt.
230
231 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
232
233         * Makefile.am: libfficonvenience -> libffi_convenience.
234         * Makefile.in: Rebuilt.
235         
236         * Makefile.am: Define ffitest_OBJECTS.
237         * Makefile.in: Rebuilt.
238
239 2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
240             David Edelsohn  <edelsohn@gnu.org>
241
242         * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
243         (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
244         (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
245         * Makefile.in: Regenerate.
246         * include/ffi.h.in: Add AIX and Darwin closure definitions.
247         * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
248         (flush_icache, flush_range): New functions.
249         (ffi_closure_helper_DARWIN): New function.
250         * src/powerpc/aix_closure.S: New file.
251         * src/powerpc/darwin_closure.S: New file.
252         
253 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
254
255         * include/ffi.h.in: Add typedef for ffi_arg.
256         * src/ffitest.c (main): Declare rint with ffi_arg.
257  
258 2002-02-21  Andreas Tobler  <toa@pop.agri.ch>
259
260         * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
261         number of GPRs for floating-point arguments.
262
263 2002-01-31  Anthony Green  <green@redhat.com>
264
265         * configure: Rebuilt.
266         * configure.in: Replace CHECK_SIZEOF and endian tests with
267         cross-compiler friendly macros.
268         * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
269         macros.
270
271 2002-01-18  David Edelsohn  <edelsohn@gnu.org>
272
273         * src/powerpc/darwin.S (_ffi_call_AIX): New.
274         * src/powerpc/aix.S (ffi_call_DARWIN): New.
275
276 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
277
278         * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
279         (TARGET_SRC_POWERPC_AIX): New.
280         (POWERPC_AIX): New stanza.
281         * Makefile.in: Regenerate.
282         * configure.in: Add AIX case.
283         * configure: Regenerate.
284         * include/ffi.h.in (ffi_abi): Add FFI_AIX.
285         * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
286         size.  Fix "long double" support.
287         (ffi_call): Add FFI_AIX case.
288         * src/powerpc/aix.S: New.
289
290 2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>
291
292         Implement Darwin PowerPC ABI.
293         * configure.in: Handle powerpc-*-darwin*.
294         * Makefile.am: Set source files for POWERPC_DARWIN.
295         * configure: Rebuilt.
296         * Makefile.in: Rebuilt.
297         * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
298         POWERPC_DARWIN.
299         * src/powerpc/darwin.S: New file.
300         * src/powerpc/ffi_darwin.c: New file.
301
302 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
303
304         * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
305
306 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
307
308         * src/x86/sysv.S: Avoid gas-only .balign directive.
309         Use C style comments.
310
311 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
312
313         * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
314         Fixes PR bootstrap/3563.
315
316 2001-06-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
317
318         * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
319
320 2001-06-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
321
322         * configure.in: Recognize sparc*-sun-* host.
323         * configure: Regenerate.
324         
325 2001-06-06  Andrew Haley  <aph@redhat.com>
326
327         * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
328
329 2001-06-03  Andrew Haley  <aph@redhat.com>
330
331         * src/alpha/osf.S: Add unwind info.
332         * src/powerpc/sysv.S: Add unwind info.
333         * src/powerpc/ppc_closure.S: Likewise.
334
335 2000-05-31  Jeff Sturm  <jsturm@one-point.com>
336
337         * configure.in: Fix AC_ARG_ENABLE usage.
338         * configure: Rebuilt.
339
340 2001-05-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
341
342         * configure.in: Remove warning about beta code.
343         * configure: Rebuilt.
344
345 2001-04-25  Hans Boehm <Hans_Boehm@hp.com>
346
347         * src/ia64/unix.S: Restore stack pointer when returning from
348         ffi_closure_UNIX.
349         * src/ia64/ffi.c: Fix typo in comment.
350
351 2001-04-18  Jim Wilson  <wilson@redhat.com>
352
353         * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
354         to eliminate RAW DV.
355
356 2001-04-12  Bryce McKinlay  <bryce@albatross.co.nz>
357
358         * Makefile.am: Make a libtool convenience library.
359         * Makefile.in: Rebuilt.
360
361 2001-03-29  Bryce McKinlay  <bryce@albatross.co.nz>
362
363         * configure.in: Use different syntax for subdirectory creation.
364         * configure: Rebuilt.
365
366 2001-03-27  Jon Beniston  <jon@beniston.com>
367
368         * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
369         * configure: Rebuilt.
370         * Makefile.am: Added X86_WIN32 target support.
371         * Makefile.in: Rebuilt.
372
373         * include/ffi.h.in: Added X86_WIN32 target support.
374
375         * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
376         * src/types.c: Added X86_WIN32 target support.
377
378         * src/x86/win32.S: New file. Based on sysv.S, but with EH
379         stuff removed and made to work with CygWin's gas.
380
381 2001-03-26  Bryce McKinlay  <bryce@albatross.co.nz>
382
383         * configure.in: Make target subdirectory in build dir.
384         * Makefile.am: Override suffix based rules to specify correct output
385         subdirectory.
386         * Makefile.in: Rebuilt.
387         * configure: Rebuilt.
388
389 2001-03-23  Kevin B Hendricks  <khendricks@ivey.uwo.ca>
390
391         * src/powerpc/ppc_closure.S: New file.
392         * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
393         involving long long and register pairs.
394         (ffi_prep_closure): New function.
395         (flush_icache): Likewise.
396         (ffi_closure_helper_SYSV): Likewise.
397         * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
398         (FFI_TRAMPOLINE_SIZE): Likewise.
399         (FFI_NATIVE_RAW_API): Likewise.
400         * Makefile.in: Rebuilt.
401         * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
402         (TARGET_SRC_POWERPC): Likewise.
403
404 2001-03-19  Tom Tromey  <tromey@redhat.com>
405
406         * Makefile.in: Rebuilt.
407         * Makefile.am (ffitest_LDFLAGS): New macro.
408
409 2001-03-02  Nick Clifton  <nickc@redhat.com>
410
411         * include/ffi.h.in: Remove RCS ident string.
412         * include/ffi_mips.h: Remove RCS ident string.
413         * src/debug.c: Remove RCS ident string.
414         * src/ffitest.c: Remove RCS ident string.
415         * src/prep_cif.c: Remove RCS ident string.
416         * src/types.c: Remove RCS ident string.
417         * src/alpha/ffi.c: Remove RCS ident string.
418         * src/alpha/osf.S: Remove RCS ident string.
419         * src/arm/ffi.c: Remove RCS ident string.
420         * src/arm/sysv.S: Remove RCS ident string.
421         * src/mips/ffi.c: Remove RCS ident string.
422         * src/mips/n32.S: Remove RCS ident string.
423         * src/mips/o32.S: Remove RCS ident string.
424         * src/sparc/ffi.c: Remove RCS ident string.
425         * src/sparc/v8.S: Remove RCS ident string.
426         * src/sparc/v9.S: Remove RCS ident string.
427         * src/x86/ffi.c: Remove RCS ident string.
428         * src/x86/sysv.S: Remove RCS ident string.
429
430 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
431
432         * include/ffi.h.in: Change sourceware.cygnus.com references to
433         gcc.gnu.org.
434
435 2000-12-09  Richard Henderson  <rth@redhat.com>
436
437         * src/alpha/ffi.c (ffi_call): Simplify struct return test.
438         (ffi_closure_osf_inner): Index rather than increment avalue
439         and arg_types.  Give ffi_closure_osf the raw return value type.
440         * src/alpha/osf.S (ffi_closure_osf): Handle return value type
441         promotion.
442
443 2000-12-07  Richard Henderson  <rth@redhat.com>
444
445         * src/raw_api.c (ffi_translate_args): Fix typo.
446         (ffi_prep_closure): Likewise.
447
448         * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
449         FFI_TRAMPOLINE_SIZE.
450         * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
451         cif->bytes for new ffi_call_osf implementation.
452         (ffi_prep_args): Absorb into ...
453         (ffi_call): ... here.  Do all stack allocation here and
454         avoid a callback function.
455         (ffi_prep_closure, ffi_closure_osf_inner): New.
456         * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
457         (ffi_closure_osf): New.
458
459 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
460
461         * config.guess, config.sub, install-sh: Removed.
462         * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
463         * Makefile.in: Rebuilt.
464
465         * acinclude.m4: Include libtool macros from the top level.
466         * aclocal.m4, configure: Rebuilt.
467
468 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
469
470         * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
471         * configure: Rebuilt.
472
473 2000-05-11  Scott Bambrough  <scottb@netwinder.org>
474
475         * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to 
476         memory correctly.  Use conditional instructions, not branches where 
477         possible.
478
479 2000-05-04  Tom Tromey  <tromey@cygnus.com>
480
481         * configure: Rebuilt.
482         * configure.in: Match `arm*-*-linux-*'.
483         From Chris Dornan <cdornan@arm.com>.
484
485 2000-04-28  Jakub Jelinek  <jakub@redhat.com>
486
487         * Makefile.am (SUBDIRS): Define.
488         (AM_MAKEFLAGS): Likewise.
489         (Multilib support.): Add section.
490         * Makefile.in: Rebuilt.
491         * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
492         New variables. Set for gcc using -print-multi-lib. Export them
493         to libtool.
494         (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
495         * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
496         for -shared links.
497         (extra_compiler_flags_value, extra_compiler_flags): Check these
498         for extra compiler options which need to be passed down in
499         compiler_flags.
500
501 2000-04-16  Anthony Green  <green@redhat.com>
502
503         * configure: Rebuilt.
504         * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
505
506 2000-04-14  Jakub Jelinek  <jakub@redhat.com>
507
508         * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
509         Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
510         * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
511         Replace all void * sizeofs with sizeof(int).
512         Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
513         different than DOUBLE.
514         Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
515         (ffi_prep_args_v9): New function.
516         (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
517         (ffi_V9_return_struct): New function.
518         (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
519         32bit code (not yet cross-arch calls).
520         * src/sparc/v8.S: Add struct return delay nop.
521         Handle long long.
522         * src/sparc/v9.S: New file.
523         * src/prep_cif.c (ffi_prep_cif): Return structure pointer
524         is used on sparc64 only for structures larger than 32 bytes.
525         Pass by reference for structures is done for structure arguments
526         larger than 16 bytes.
527         * src/ffitest.c (main): Use 64bit rint on sparc64.
528         Run long long tests on sparc.
529         * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
530         sparc64.
531         (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
532         on sparc64.
533         * configure.in (sparc-*-linux*): New supported target.
534         (sparc64-*-linux*): Likewise.
535         * configure: Rebuilt.
536         * Makefile.am: Add v9.S to SPARC files.
537         * Makefile.in: Likewise.
538         (LINK): Surround $(CCLD) into double quotes, so that multilib
539         compiles work correctly.
540
541 2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
542
543         * configure: Rebuilt.
544         * configure.in: (i*86-*-solaris*): New libffi target. Patch
545         proposed by Bryce McKinlay.
546
547 2000-03-20  Tom Tromey  <tromey@cygnus.com>
548
549         * Makefile.in: Hand edit for java_raw_api.lo.
550
551 2000-03-08  Bryce McKinlay  <bryce@albatross.co.nz>
552
553         * config.guess, config.sub: Update from the gcc tree.
554         Fix for PR libgcj/168.
555
556 2000-03-03  Tom Tromey  <tromey@cygnus.com>
557
558         * Makefile.in: Fixed ia64 by hand.
559
560         * configure: Rebuilt.
561         * configure.in (--enable-multilib): New option.
562         (libffi_basedir): New subst.
563         (AC_OUTPUT): Added multilib code.
564
565 2000-03-02  Tom Tromey  <tromey@cygnus.com>
566
567         * Makefile.in: Rebuilt.
568         * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
569         directory name.
570
571 2000-02-25  Hans Boehm <boehm@acm.org>
572
573         * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
574         files.
575         * src/raw_api.c (ffi_translate_args): Fixed typo in argument
576         list.
577         (ffi_prep_raw_closure): Use ffi_translate_args, not
578         ffi_closure_translate.
579         * src/java_raw_api.c: New file.
580         * src/ffitest.c (closure_test_fn): New function.
581         (main): Define `rint' as long long on IA64.  Added new test when
582         FFI_CLOSURES is defined.
583         * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
584         (ffi_abi): Recognize IA64.
585         (ffi_raw): Added `flt' field.
586         Added "Java raw API" code.
587         * configure.in: Recognize ia64.
588         * Makefile.am (TARGET_SRC_IA64): New macro.
589         (libffi_la_common_SOURCES): Added java_raw_api.c.
590         (libffi_la_SOURCES): Define in IA64 case.
591
592 2000-01-04  Tom Tromey  <tromey@cygnus.com>
593
594         * Makefile.in: Rebuilt with newer automake.
595
596 1999-12-31  Tom Tromey  <tromey@cygnus.com>
597
598         * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
599
600 1999-09-01  Tom Tromey  <tromey@cygnus.com>
601
602         * include/ffi.h.in: Removed PACKAGE and VERSION defines and
603         undefs.
604         * fficonfig.h.in: Rebuilt.
605         * configure: Rebuilt.
606         * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
607         Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
608         * acconfig.h: Don't #undef PACKAGE or VERSION.
609
610 1999-08-09  Anthony Green  <green@cygnus.com>
611
612         * include/ffi.h.in: Try to work around messy header problem
613         with PACKAGE and VERSION.
614
615         * configure: Rebuilt.
616         * configure.in: Change version to 2.00-beta.
617
618         * fficonfig.h.in: Rebuilt.
619         * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
620
621         * src/x86/ffi.c (ffi_raw_call): Rename.
622
623 1999-08-02  Kresten Krab Thorup  <krab@dominiq.is.s.u-tokyo.ac.jp>
624
625         * src/x86/ffi.c (ffi_closure_SYSV): New function.
626         (ffi_prep_incoming_args_SYSV): Ditto.
627         (ffi_prep_closure): Ditto.
628         (ffi_closure_raw_SYSV): Ditto.
629         (ffi_prep_raw_closure): More ditto.
630         (ffi_call_raw): Final ditto.
631
632         * include/ffi.h.in: Add definitions for closure and raw API.
633
634         * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
635         FFI_TYPE_UINT64.  
636
637         * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
638
639         * src/raw_api.c: New file.
640
641         * include/ffi.h.in (ffi_raw): New type.
642         (UINT_ARG, SINT_ARG): New defines.
643         (ffi_closure, ffi_raw_closure): New types.
644         (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
645         
646         * configure.in: Add check for endianness and sizeof void*.
647
648         * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
649         instead of directly.
650
651         * configure: Rebuilt.
652
653 Thu Jul  8 14:28:42 1999  Anthony Green  <green@cygnus.com>
654
655         * configure.in: Add x86 and powerpc BeOS configurations.
656         From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
657
658 1999-05-09  Anthony Green  <green@cygnus.com>
659
660         * configure.in: Add warning about this being beta code.
661         Remove src/Makefile.am from the picture.
662         * configure: Rebuilt.
663
664         * Makefile.am: Move logic from src/Makefile.am.  Add changes
665         to support libffi as a target library.
666         * Makefile.in: Rebuilt.
667
668         * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
669         Upgraded to new autoconf, automake, libtool.
670
671         * README: Tweaks.
672
673         * LICENSE: Update copyright date.
674
675         * src/Makefile.am, src/Makefile.in: Removed.
676
677 1998-11-29  Anthony Green  <green@cygnus.com>
678
679         * include/ChangeLog: Removed.
680         * src/ChangeLog: Removed.
681         * src/mips/ChangeLog: Removed.
682         * src/sparc/ChangeLog: Remboved.
683         * src/x86/ChangeLog: Removed.
684
685         * ChangeLog.v1: Created.