2006-03-22 Thomas Koenig <Thomas.Koenig@onlien.de>
[official-gcc.git] / libffi / ChangeLog
blob0622223c04e1c5e86a55a564b85e4aa30ce7e14a
1 2006-03-15  Kaz Kojima  <kkojima@gcc.gnu.org>
3         * src/sh64/ffi.c (ffi_prep_cif_machdep): Handle float arguments
4         passed with FP registers correctly.
5         (ffi_closure_helper_SYSV): Likewise.
6         * src/sh64/sysv.S: Likewise.
8 2006-03-01  Andreas Tobler  <a.tobler@schweiz.ch>
10         * testsuite/libffi.special/unwindtest.cc (closure_test_fn): Mark cif,
11         args and userdata unused.
12         (closure_test_fn1): Mark cif and userdata unused.
13         (main): Remove unused res.
15 2006-02-28  Andreas Tobler  <a.tobler@schweiz.ch>
17         * testsuite/libffi.call/call.exp: Adjust FSF address. Add test runs for
18         -O2, -O3, -Os and the warning flags -W -Wall.
19         * testsuite/libffi.special/special.exp: Likewise.
20         * testsuite/libffi.call/ffitest.h: Add an __UNUSED__ macro to mark
21         unused parameter unused for gcc or else do nothing.
22         * testsuite/libffi.special/ffitestcxx.h: Likewise.
23         * testsuite/libffi.call/cls_12byte.c (cls_struct_12byte_gn): Mark cif
24         and userdata unused.
25         * testsuite/libffi.call/cls_16byte.c (cls_struct_16byte_gn): Likewise.
26         * testsuite/libffi.call/cls_18byte.c (cls_struct_18byte_gn): Likewise.
27         * testsuite/libffi.call/cls_19byte.c (cls_struct_19byte_gn): Likewise.
28         * testsuite/libffi.call/cls_1_1byte.c (cls_struct_1_1byte_gn): Likewise.
29         * testsuite/libffi.call/cls_20byte.c (cls_struct_20byte_gn): Likewise.
30         * testsuite/libffi.call/cls_20byte1.c (cls_struct_20byte_gn): Likewise.
31         * testsuite/libffi.call/cls_24byte.c (cls_struct_24byte_gn): Likewise.
32         * testsuite/libffi.call/cls_2byte.c (cls_struct_2byte_gn): Likewise.
33         * testsuite/libffi.call/cls_3_1byte.c (cls_struct_3_1byte_gn): Likewise.
34         * testsuite/libffi.call/cls_3byte1.c (cls_struct_3byte_gn): Likewise.
35         * testsuite/libffi.call/cls_3byte2.c (cls_struct_3byte_gn1): Likewise.
36         * testsuite/libffi.call/cls_4_1byte.c (cls_struct_4_1byte_gn): Likewise.
37         * testsuite/libffi.call/cls_4byte.c (cls_struct_4byte_gn): Likewise.
38         * testsuite/libffi.call/cls_5_1_byte.c (cls_struct_5byte_gn): Likewise.
39         * testsuite/libffi.call/cls_5byte.c (cls_struct_5byte_gn): Likewise.
40         * testsuite/libffi.call/cls_64byte.c (cls_struct_64byte_gn): Likewise.
41         * testsuite/libffi.call/cls_6_1_byte.c (cls_struct_6byte_gn): Likewise.
42         * testsuite/libffi.call/cls_6byte.c (cls_struct_6byte_gn): Likewise.
43         * testsuite/libffi.call/cls_7_1_byte.c (cls_struct_7byte_gn): Likewise.
44         * testsuite/libffi.call/cls_7byte.c (cls_struct_7byte_gn): Likewise.
45         * testsuite/libffi.call/cls_8byte.c (cls_struct_8byte_gn): Likewise.
46         * testsuite/libffi.call/cls_9byte1.c (cls_struct_9byte_gn): Likewise.
47         * testsuite/libffi.call/cls_9byte2.c (cls_struct_9byte_gn): Likewise.
48         * testsuite/libffi.call/cls_align_double.c (cls_struct_align_gn):
49         Likewise.
50         * testsuite/libffi.call/cls_align_float.c (cls_struct_align_gn):
51         Likewise.
52         * testsuite/libffi.call/cls_align_longdouble.c (cls_struct_align_gn):
53         Likewise.
54         * testsuite/libffi.call/cls_align_pointer.c (cls_struct_align_fn): Cast
55         void* to avoid compiler warning.
56         (main): Likewise.
57         (cls_struct_align_gn): Mark cif and userdata unused.
58         * testsuite/libffi.call/cls_align_sint16.c (cls_struct_align_gn):
59         Likewise.
60         * testsuite/libffi.call/cls_align_sint32.c (cls_struct_align_gn):
61         Likewise.
62         * testsuite/libffi.call/cls_align_sint64.c (cls_struct_align_gn):
63         Likewise.
64         * testsuite/libffi.call/cls_align_uint16.c (cls_struct_align_gn):
65         Likewise.
66         * testsuite/libffi.call/cls_align_uint32.c (cls_struct_align_gn):
67         Likewise.
68         * testsuite/libffi.call/cls_double.c (cls_ret_double_fn): Likewise.
69         * testsuite/libffi.call/cls_float.c (cls_ret_float_fn): Likewise.
70         * testsuite/libffi.call/cls_multi_schar.c (test_func_gn): Mark cif and
71         data unused.
72         (main): Cast res_call to silence gcc.
73         * testsuite/libffi.call/cls_multi_sshort.c (test_func_gn): Mark cif and
74         data unused.
75         (main): Cast res_call to silence gcc.
76         * testsuite/libffi.call/cls_multi_sshortchar.c (test_func_gn): Mark cif
77         and data unused.
78         (main): Cast res_call to silence gcc.
79         * testsuite/libffi.call/cls_multi_uchar.c (test_func_gn): Mark cif and
80         data unused.
81         (main): Cast res_call to silence gcc.
82         * testsuite/libffi.call/cls_multi_ushort.c (test_func_gn): Mark cif and
83         data unused.
84         (main): Cast res_call to silence gcc.
85         * testsuite/libffi.call/cls_multi_ushortchar.c (test_func_gn): Mark cif
86         and data unused.
87         (main): Cast res_call to silence gcc.
88         * testsuite/libffi.call/cls_schar.c (cls_ret_schar_fn): Mark cif and
89         userdata unused.
90         (cls_ret_schar_fn): Cast printf parameter to silence gcc.
91         * testsuite/libffi.call/cls_sint.c (cls_ret_sint_fn): Mark cif and
92         userdata unused.
93         (cls_ret_sint_fn): Cast printf parameter to silence gcc.
94         * testsuite/libffi.call/cls_sshort.c (cls_ret_sshort_fn): Mark cif and
95         userdata unused.
96         (cls_ret_sshort_fn): Cast printf parameter to silence gcc.
97         * testsuite/libffi.call/cls_uchar.c (cls_ret_uchar_fn):  Mark cif and
98         userdata unused.
99         (cls_ret_uchar_fn): Cast printf parameter to silence gcc.
100         * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Mark cif and
101         userdata unused.
102         (cls_ret_uint_fn): Cast printf parameter to silence gcc.
103         * testsuite/libffi.call/cls_ulonglong.c (cls_ret_ulonglong_fn): Mark cif
104         and userdata unused.
105         * testsuite/libffi.call/cls_ushort.c (cls_ret_ushort_fn): Mark cif and
106         userdata unused.
107         (cls_ret_ushort_fn): Cast printf parameter to silence gcc.
108         * testsuite/libffi.call/float.c (floating): Remove unused parameter e.
109         * testsuite/libffi.call/float1.c (main): Remove unused variable i.
110         Cleanup white spaces.
111         * testsuite/libffi.call/negint.c (checking): Remove unused variable i.
112         * testsuite/libffi.call/nested_struct.c (cls_struct_combined_gn): Mark
113         cif and userdata unused.
114         * testsuite/libffi.call/nested_struct1.c (cls_struct_combined_gn):
115         Likewise.
116         * testsuite/libffi.call/nested_struct10.c (B_gn): Likewise.
117         * testsuite/libffi.call/nested_struct2.c (B_fn): Adjust printf
118         formatters to silence gcc.
119         (B_gn): Mark cif and userdata unused.
120         * testsuite/libffi.call/nested_struct3.c (B_gn): Mark cif and userdata
121         unused.
122         * testsuite/libffi.call/nested_struct4.c: Mention related PR.
123         (B_gn): Mark cif and userdata unused.
124         * testsuite/libffi.call/nested_struct5.c (B_gn): Mark cif and userdata
125         unused.
126         * testsuite/libffi.call/nested_struct6.c: Mention related PR.
127         (B_gn): Mark cif and userdata unused.
128         * testsuite/libffi.call/nested_struct7.c (B_gn): Mark cif and userdata
129         unused.
130         * testsuite/libffi.call/nested_struct8.c (B_gn): Likewise.
131         * testsuite/libffi.call/nested_struct9.c (B_gn): Likewise.
132         * testsuite/libffi.call/problem1.c (stub): Likewise.
133         * testsuite/libffi.call/pyobjc-tc.c (main): Cast the result to silence
134         gcc.
135         * testsuite/libffi.call/return_fl2.c (return_fl): Add the note mentioned
136         in the last commit for this test case in the test case itself.
137         * testsuite/libffi.call/closure_fn0.c (closure_test_fn0): Mark cif as
138         unused.
139         * testsuite/libffi.call/closure_fn1.c (closure_test_fn1): Likewise.
140         * testsuite/libffi.call/closure_fn2.c (closure_test_fn2): Likewise.
141         * testsuite/libffi.call/closure_fn3.c (closure_test_fn3): Likewise.
142         * testsuite/libffi.call/closure_fn4.c (closure_test_fn0): Likewise.
143         * testsuite/libffi.call/closure_fn5.c (closure_test_fn5): Likewise.
144         * testsuite/libffi.call/closure_fn6.c (closure_test_fn0): Likewise.
146 2006-02-22  Kaz Kojima  <kkojima@gcc.gnu.org>
148         * src/sh/sysv.S: Fix register numbers in the FDE for
149         ffi_closure_SYSV.
151 2006-02-20  Andreas Tobler  <a.tobler@schweiz.ch>
153         * testsuite/libffi.call/return_fl2.c (return_fl): Remove static
154         declaration to avoid a false negative on ix86. See PR323.
156 2006-02-18  Kaz Kojima  <kkojima@gcc.gnu.org>
158         * src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable
159         and cast integer to void * if needed.  Update the pointer to
160         the FP register saved area correctly.
161         
162 2006-02-17  Andreas Tobler  <a.tobler@schweiz.ch>
164         * testsuite/libffi.call/nested_struct6.c: XFAIL this test until PR25630
165         is fixed.
166         * testsuite/libffi.call/nested_struct4.c: Likewise.
168 2006-02-16  Andreas Tobler  <a.tobler@schweiz.ch>
170         * testsuite/libffi.call/return_dbl.c: New test case.
171         * testsuite/libffi.call/return_dbl1.c: Likewise.
172         * testsuite/libffi.call/return_dbl2.c: Likewise.
173         * testsuite/libffi.call/return_fl.c: Likewise.
174         * testsuite/libffi.call/return_fl1.c: Likewise.
175         * testsuite/libffi.call/return_fl2.c: Likewise.
176         * testsuite/libffi.call/return_fl3.c: Likewise.
177         * testsuite/libffi.call/closure_fn6.c: Likewise.
179         * testsuite/libffi.call/nested_struct2.c: Remove ffi_type_mylong
180         definition.
181         * testsuite/libffi.call/ffitest.h: Add ffi_type_mylong definition
182         here to be used by other test cases too.
184         * testsuite/libffi.call/nested_struct10.c: New test case.
185         * testsuite/libffi.call/nested_struct9.c: Likewise.
186         * testsuite/libffi.call/nested_struct8.c: Likewise.
187         * testsuite/libffi.call/nested_struct7.c: Likewise.
188         * testsuite/libffi.call/nested_struct6.c: Likewise.
189         * testsuite/libffi.call/nested_struct5.c: Likewise.
190         * testsuite/libffi.call/nested_struct4.c: Likewise.
192 2006-01-21  Andreas Tobler  <a.tobler@schweiz.ch>
194         * configure.ac: Enable libffi for sparc64-*-freebsd*.
195         * configure: Rebuilt.
197 2006-01-18  Jakub Jelinek  <jakub@redhat.com>
199         * src/powerpc/sysv.S (smst_two_register): Don't call __ashldi3,
200         instead do the shifting inline.
201         * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't compute %r5
202         shift count unconditionally.  Simplify load sequences for 1, 2, 3, 4
203         and 8 byte structs, for the remaining struct sizes don't call
204         __lshrdi3, instead do the shifting inline.
206 2005-12-07  Thiemo Seufer  <ths@networkno.de>
208         * src/mips/ffitarget.h: Remove obsolete sgidefs.h include. Add
209         missing parentheses.
210         * src/mips/o32.S (ffi_call_O32): Code formatting. Define
211         and use A3_OFF, FP_OFF, RA_OFF. Micro-optimizations.
212         (ffi_closure_O32): Likewise, but with newly defined A3_OFF2,
213         A2_OFF2, A1_OFF2, A0_OFF2, RA_OFF2, FP_OFF2, S0_OFF2, GP_OFF2,
214         V1_OFF2, V0_OFF2, FA_1_1_OFF2, FA_1_0_OFF2, FA_0_1_OFF2,
215         FA_0_0_OFF2.
216         * src/mips/ffi.c (ffi_prep_args): Code formatting. Fix
217         endianness bugs.
218         (ffi_prep_closure): Improve trampoline instruction scheduling.
219         (ffi_closure_mips_inner_O32): Fix endianness bugs.
221 2005-12-03  Alan Modra  <amodra@bigpond.net.au>
223         * src/powerpc/ffi.c: Formatting.
224         (ffi_prep_args_SYSV): Avoid possible aliasing problems by using unions.
225         (ffi_prep_args64): Likewise.
227 2005-09-30  Geoffrey Keating  <geoffk@apple.com>
229         * testsuite/lib/libffi-dg.exp (libffi_target_compile): For
230         darwin, use -shared-libgcc not -lgcc_s, and explain why.
232 2005-09-26  Tom Tromey  <tromey@redhat.com>
234         * testsuite/libffi.call/float1.c (value_type): New typedef.
235         (CANARY): New define.
236         (main): Check for result buffer overflow.
237         * src/powerpc/linux64.S: Handle linux64 long double returns.
238         * src/powerpc/ffi.c (FLAG_RETURNS_128BITS): New constant.
239         (ffi_prep_cif_machdep): Handle linux64 long double returns.
241 2005-08-25  Alan Modra  <amodra@bigpond.net.au>
243         PR target/23404
244         * src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack
245         homed fp args.
246         (ffi_status ffi_prep_cif_machdep): Correct stack sizing for same.
248 2005-08-11  Jakub Jelinek  <jakub@redhat.com>
250         * configure.ac (HAVE_HIDDEN_VISIBILITY_ATTRIBUTE): New test.
251         (AH_BOTTOM): Add FFI_HIDDEN definition.
252         * configure: Rebuilt.
253         * fficonfig.h.in: Rebuilt.
254         * src/powerpc/ffi.c (hidden): Remove.
255         (ffi_closure_LINUX64, ffi_prep_args64, ffi_call_LINUX64,
256         ffi_closure_helper_LINUX64): Use FFI_HIDDEN instead of hidden.
257         * src/powerpc/linux64_closure.S (ffi_closure_LINUX64,
258         .ffi_closure_LINUX64): Use FFI_HIDDEN instead of .hidden.
259         * src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV): Remove,
260         add FFI_HIDDEN to its prototype.
261         (ffi_closure_SYSV_inner): New.
262         * src/x86/sysv.S (ffi_closure_SYSV, ffi_closure_raw_SYSV): New.
263         * src/x86/win32.S (ffi_closure_SYSV, ffi_closure_raw_SYSV): New.
265 2005-08-10  Alfred M. Szmidt  <ams@gnu.org>
267         PR libffi/21819:
268         * configure: Rebuilt.
269         * configure.ac: Handle i*86-*-gnu*.
271 2005-08-09  Jakub Jelinek  <jakub@redhat.com>
273         * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Use
274         DW_CFA_offset_extended_sf rather than
275         DW_CFA_GNU_negative_offset_extended.
276         * src/powerpc/sysv.S (ffi_call_SYSV): Likewise.
278 2005-07-22  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
280         * src/sh/sysv.S (ffi_call_SYSV): Stop argument popping correctly
281         on sh3.
282         (ffi_closure_SYSV): Change the stack layout for sh3 struct argument.
283         * src/sh/ffi.c (ffi_prep_args): Fix sh3 argument copy, when it is
284         partially on register.
285         (ffi_closure_helper_SYSV): Likewise.
286         (ffi_prep_cif_machdep): Don't set too many cif->flags.
288 2005-07-20  Kaz Kojima  <kkojima@gcc.gnu.org>
290         * src/sh/ffi.c (ffi_call): Handle small structures correctly.
291         Remove empty line.
292         * src/sh64/ffi.c (simple_type): Remove.
293         (return_type): Handle small structures correctly.
294         (ffi_prep_args): Likewise.
295         (ffi_call): Likewise.
296         (ffi_closure_helper_SYSV): Likewise.
297         * src/sh64/sysv.S (ffi_call_SYSV): Handle 1, 2 and 4-byte return.
298         Emit position independent code if PIC and remove wrong datalabel
299         prefixes from EH data.
301 2005-07-19  Andreas Tobler  <a.tobler@schweiz.ch>
303         * Makefile.am (nodist_libffi_la_SOURCES): Add POWERPC_FREEBSD.
304         * Makefile.in: Regenerate.
305         * include/Makefile.in: Likewise.
306         * testsuite/Makefile.in: Likewise.
307         * configure.ac: Add POWERPC_FREEBSD rules.
308         * configure: Regenerate.
309         * src/powerpc/ffitarget.h: Add POWERPC_FREEBSD rules.
310         (FFI_SYSV_TYPE_SMALL_STRUCT): Define.
311         * src/powerpc/ffi.c: Add flags to handle small structure returns
312         in ffi_call_SYSV.
313         (ffi_prep_cif_machdep): Handle small structures for SYSV 4 ABI.
314         Aka FFI_SYSV.
315         (ffi_closure_helper_SYSV): Likewise.
316         * src/powerpc/ppc_closure.S: Add return types for small structures.
317         * src/powerpc/sysv.S: Add bits to handle small structures for
318         final SYSV 4 ABI.
320 2005-07-10  Andreas Tobler  <a.tobler@schweiz.ch>
322         * testsuite/libffi.call/cls_5_1_byte.c: New test file.
323         * testsuite/libffi.call/cls_6_1_byte.c: Likewise.
324         * testsuite/libffi.call/cls_7_1_byte.c: Likewise.
326 2005-07-05  Randolph Chung  <tausq@debian.org>
328         * src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1
329         as FFI_TYPE_SMALL_STRUCT3.  Break out handling for 5-7 byte
330         structures.  Kill compilation warnings.
331         (ffi_closure_inner_LINUX): Print return values as hex in debug
332         message.  Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3.
333         Properly handle 5-7 byte structure returns.
334         * src/pa/ffitarget.h (FFI_TYPE_SMALL_STRUCT1)
335         (FFI_TYPE_SMALL_STRUCT2): Remove.
336         (FFI_TYPE_SMALL_STRUCT3, FFI_TYPE_SMALL_STRUCT5)
337         (FFI_TYPE_SMALL_STRUCT6, FFI_TYPE_SMALL_STRUCT7): Define.
338         * src/pa/linux.S: Mark source file as using PA1.1 assembly.
339         (checksmst1, checksmst2): Remove.
340         (checksmst3): Optimize handling of 3-byte struct returns.
341         (checksmst567): Properly handle 5-7 byte struct returns.
343 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
345         PR libgcj/21943
346         * src/mips/n32.S: Enforce PIC code.
347         * src/mips/o32.S: Likewise.
349 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
351         * configure.ac: Treat i*86-*-solaris2.10 and up as X86_64.
352         * configure: Regenerate.
353         
354 2005-06-01  Alan Modra  <amodra@bigpond.net.au>
356         * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
357         to call ffi_closure_helper_SYSV.  Append @local instead.
358         * src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV.
360 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
362         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
363         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
364         * Makefile.am (ACLOCAL_AMFLAGS): Remove -I ../config.
365         * aclocal.m4, configure, fficonfig.h.in, Makefile.in,
366         include/Makefile.in, testsuite/Makefile.in: Regenerate.
367         
368 2005-05-09  Mike Stump  <mrs@apple.com>
370         * configure: Regenerate.
372 2005-05-08  Richard Henderson  <rth@redhat.com>
374         PR libffi/21285
375         * src/alpha/osf.S: Update unwind into to match code.
377 2005-05-04  Andreas Degert <ad@papyrus-gmbh.de>
378             Richard Henderson  <rth@redhat.com>
380         * src/x86/ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in
381         bit 11 of flags.
382         (ffi_call): Mask return type field.  Pass ssecount to ffi_call_unix64.
383         (ffi_prep_closure): Set carry bit if sse-used flag set.
384         * src/x86/unix64.S (ffi_call_unix64): Add ssecount argument.
385         Only load sse registers if ssecount non-zero.
386         (ffi_closure_unix64): Only save sse registers if carry set on entry.
388 2005-04-29  Ralf Corsepius  <ralf.corsepius@rtems.org>
390         * configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*,
391         powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*.
392         * configure: Regenerate.
394 2005-04-20  Hans-Peter Nilsson  <hp@axis.com>
396         * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,
397         have Tcl8.3-compatible intermediate variable.
399 2005-04-18  Simon Posnjak <simon.posnjak@siol.net> 
400             Hans-Peter Nilsson  <hp@axis.com>
402         * Makefile.am: Add CRIS support.
403         * configure.ac: Likewise.
404         * Makefile.in, configure, testsuite/Makefile.in,
405         include/Makefile.in: Regenerate.
406         * src/cris: New directory.
407         * src/cris/ffi.c, src/cris/sysv.S, src/cris/ffitarget.h: New files.
408         * src/prep_cif.c (ffi_prep_cif): Wrap in #ifndef __CRIS__.
410         * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): Replace \n with
411         \r?\n in output tests.
413 2005-04-12  Mike Stump  <mrs@apple.com>
415         * configure: Regenerate.
417 2005-03-30  Hans Boehm  <Hans.Boehm@hp.com>
419         * src/ia64/ffitarget.h (ffi_arg): Use long long instead of DI.
420         
421 2005-03-30  Steve Ellcey  <sje@cup.hp.com>
423         * src/ia64/ffitarget.h (ffi_arg) ADD DI attribute.
424         (ffi_sarg) Ditto.
425         * src/ia64/unix.S (ffi_closure_unix): Extend gp
426         to 64 bits in ILP32 mode.
427         Load 64 bits even for short data.
429 2005-03-23  Mike Stump  <mrs@apple.com>
431         * src/powerpc/darwin.S: Update for -m64 multilib.
432         * src/powerpc/darwin_closure.S: Likewise.
434 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
436         * configure.ac: Do not invoke TL_AC_GCC_VERSION.
437         Do not set tool_include_dir.
438         * aclocal.m4, configure, Makefile.in, testsuite/Makefile.in:
439         Regenerate.
440         * include/Makefile.am: Set gcc_version and toollibffidir.
441         * include/Makefile.in: Regenerate.
443 2005-02-22  Andrew Haley  <aph@redhat.com>
445         * src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to
446         odd-numbered register pairs for 64-bit integer types.
448 2005-02-23  Andreas Tobler  <a.tobler@schweiz.ch>
450         PR libffi/20104
451         * testsuite/libffi.call/return_ll1.c: New test case.
453 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
455         * testsuite/libffi.call/cls_align_longdouble.c: Remove dg-options.
456         * testsuite/libffi.call/float.c: Ditto.
457         * testsuite/libffi.call/float2.c: Ditto.
458         * testsuite/libffi.call/float3.c: Ditto.
460 2005-02-08  Andreas Tobler  <a.tobler@schweiz.ch>
462         * src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv.
464 2005-01-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
466         * testsuite/libffi.special/special.exp (cxx_options): Add
467         -shared-libgcc.
469 2004-12-31  Richard Henderson  <rth@redhat.com>
471         * src/types.c (FFI_AGGREGATE_TYPEDEF): Remove.
472         (FFI_TYPEDEF): Rename from FFI_INTEGRAL_TYPEDEF.  Replace size and
473         offset parameters with a type parameter; deduce size and structure
474         alignment.  Update all users.
476 2004-12-31  Richard Henderson  <rth@redhat.com>
478         * src/types.c (FFI_TYPE_POINTER): Define with sizeof.
479         (FFI_TYPE_LONGDOUBLE): Fix for ia64.
480         * src/ia64/ffitarget.h (struct ffi_ia64_trampoline_struct): Move
481         into ffi_prep_closure.
482         * src/ia64/ia64_flags.h, src/ia64/ffi.c, src/ia64/unix.S: Rewrite
483         from scratch.
485 2004-12-27  Richard Henderson  <rth@redhat.com>
487         * src/x86/unix64.S: Fix typo in unwind info.
489 2004-12-25  Richard Henderson  <rth@redhat.com>
491         * src/x86/ffi64.c (struct register_args): Rename from stackLayout.
492         (enum x86_64_reg_class): Add X86_64_COMPLEX_X87_CLASS.
493         (merge_classes): Check for it.
494         (SSE_CLASS_P): New.
495         (classify_argument): Pass byte_offset by value; perform all updates
496         inside struct case.
497         (examine_argument): Add classes argument; handle
498         X86_64_COMPLEX_X87_CLASS.
499         (ffi_prep_args): Merge into ...
500         (ffi_call): ... here.  Share stack frame with ffi_call_unix64.
501         (ffi_prep_cif_machdep): Setup cif->flags for proper structure return.
502         (ffi_fill_return_value): Remove.
503         (ffi_prep_closure): Remove dead assert.
504         (ffi_closure_unix64_inner): Rename from ffi_closure_UNIX64_inner.
505         Rewrite to use struct register_args instead of va_list.  Create
506         flags for handling structure returns.
507         * src/x86/unix64.S: Remove dead strings.
508         (ffi_call_unix64): Rename from ffi_call_UNIX64.  Rewrite to share
509         stack frame with ffi_call.  Handle structure returns properly.
510         (float2sse, floatfloat2sse, double2sse): Remove.
511         (sse2float, sse2double, sse2floatfloat): Remove.
512         (ffi_closure_unix64): Rename from ffi_closure_UNIX64.  Rewrite
513         to handle structure returns properly.
515 2004-12-08  David Edelsohn  <edelsohn@gnu.org>
517         * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and
518         PICFLAG.
519         * Makefile.in: Regenerated.
521 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
523         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
524         * configure, aclocal.m4, Makefile.in: Regenerate.
525         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
527 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
529         * configure: Regenerate for libtool change.
531 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
533         * configure: Regenerate for libtool reversion.
535 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
537         * configure: Regenerate for libtool change.
539 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
541         * testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp.
543 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
545         * src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead
546         of jal.  Use an absolute encoding for the frame information.
548 2004-11-23  Kelley Cook  <kcook@gcc.gnu.org>
550         * Makefile.am: Remove no-dependencies.  Add ACLOCAL_AMFLAGS.
551         * acinclude.m4: Delete logic for sincludes.
552         * aclocal.m4, Makefile.in, configure: Regenerate.
553         * include/Makefile: Likewise.
554         * testsuite/Makefile: Likewise.
556 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
558         * src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integers
559         on a 8-byte boundary.
560         * src/sparc/v8.S (ffi_closure_v8): Reserve frame space for arguments.
562 2004-10-27  Richard Earnshaw  <rearnsha@arm.com>
564         * src/arm/ffi.c (ffi_prep_cif_machdep): Handle functions that return
565         long long values.  Round stack allocation to a multiple of 8 bytes
566         for ATPCS compatibility.
567         * src/arm/sysv.S (ffi_call_SYSV): Rework to avoid use of APCS register
568         names.  Handle returning long long types.  Add Thumb and interworking
569         support.  Improve soft-float code.
571 2004-10-27  Richard Earnshaw  <rearnsha@arm.com>
573         * testsuite/lib/libffi-db.exp (load_gcc_lib): New function.
574         (libffi_exit): New function.
575         (libffi_init): Build the testglue wrapper if needed.
577 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
579         PR other/18138
580         * testsuite/lib/libffi-dg.exp: Accept more than one multilib libgcc.
582 2004-10-25  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
584         * src/m32r/libffitarget.h (FFI_CLOSURES): Set to 0.
586 2004-10-20  Kaz Kojima  <kkojima@gcc.gnu.org>
588         * src/sh/sysv.S (ffi_call_SYSV): Don't align for double data.
589         * testsuite/libffi.call/float3.c: New test case.
591 2004-10-18  Kaz Kojima  <kkojima@gcc.gnu.org>
593         * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for
594         the function returning a structure pointed with R2.
595         * src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to
596         the structure return value if T bit set.  Emit position
597         independent code and EH data if PIC.
599 2004-10-13  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
601         * Makefile.am: Add m32r support.
602         * configure.ac: Likewise.
603         * Makefile.in: Regenerate.
604         * confiugre: Regenerate.
605         * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF
606         (uint64, sint64, double, longdouble)
607         * src/m32r: New directory.
608         * src/m32r/ffi.c: New file.
609         * src/m32r/sysv.S: Likewise.
610         * src/m32r/ffitarget.h: Likewise.
612 2004-10-02  Kaz Kojima  <kkojima@gcc.gnu.org>
614         * testsuite/libffi.call/negint.c: New test case.
616 2004-09-14  H.J. Lu  <hongjiu.lu@intel.com>
618         PR libgcj/17465
619         * testsuite/lib/libffi-dg.exp: Don't use global ld_library_path.
620         Set up LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
621         LD_LIBRARY64_PATH, LD_LIBRARY_PATH_32, LD_LIBRARY_PATH_64 and
622         DYLD_LIBRARY_PATH.
624 2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
626         * testsuite/libffi.call/many_win32.c: Remove whitespaces.
627         * testsuite/libffi.call/promotion.c: Likewise.
628         * testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
629         whitespaces.
630         * testsuite/libffi.call/return_sc.c: Likewise.
631         * testsuite/libffi.call/return_uc.c: Likewise.
633 2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
635         * src/powerpc/darwin.S: Fix comments and identation.
636         * src/powerpc/darwin_closure.S: Likewise.
638 2004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>
640         * src/powerpc/ffi_darwin.c: Add flag for longdouble return values.
641         (ffi_prep_args): Handle longdouble arguments.
642         (ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for
643         longdouble.
644         (ffi_closure_helper_DARWIN): Add closure handling for longdouble.
645         * src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble
646         values.
647         * src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise.
648         * src/types.c: Defined longdouble size and alignment for darwin.
650 2004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>
652         * src/powerpc/aix.S: Remove whitespaces.
653         * src/powerpc/aix_closure.S: Likewise.
654         * src/powerpc/asm.h: Likewise.
655         * src/powerpc/ffi.c: Likewise.
656         * src/powerpc/ffitarget.h: Likewise.
657         * src/powerpc/linux64.S: Likewise.
658         * src/powerpc/linux64_closure.S: Likewise.
659         * src/powerpc/ppc_closure.S: Likewise.
660         * src/powerpc/sysv.S: Likewise.
662 2004-08-30  Anthony Green  <green@redhat.com>
664         * Makefile.am: Add frv support.
665         * Makefile.in, testsuite/Makefile.in: Rebuilt.
666         * configure.ac: Read configure.host.
667         * configure.in: Read configure.host.
668         * configure.host: New file.  frv-elf needs libgloss.
669         * include/ffi.h.in: Force ffi_closure to have a nice big (8)
670         alignment.  This is needed to frv and shouldn't harm the others.
671         * include/ffi_common.h (ALIGN_DOWN): New macro.
672         * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files.
674 2004-08-24  David Daney  <daney@avtrex.com>
676         * testsuite/libffi.call/closure_fn0.c: Xfail mips64* instead of mips*.
677         * testsuite/libffi.call/closure_fn1.c: Likewise.
678         * testsuite/libffi.call/closure_fn2.c  Likewise.
679         * testsuite/libffi.call/closure_fn3.c: Likewise.
680         * testsuite/libffi.call/closure_fn4.c: Likewise.
681         * testsuite/libffi.call/closure_fn5.c: Likewise.
682         * testsuite/libffi.call/cls_18byte.c: Likewise.
683         * testsuite/libffi.call/cls_19byte.c: Likewise.
684         * testsuite/libffi.call/cls_1_1byte.c: Likewise.
685         * testsuite/libffi.call/cls_20byte.c: Likewise.
686         * testsuite/libffi.call/cls_20byte1.c: Likewise.
687         * testsuite/libffi.call/cls_24byte.c: Likewise.
688         * testsuite/libffi.call/cls_2byte.c: Likewise.
689         * testsuite/libffi.call/cls_3_1byte.c: Likewise.
690         * testsuite/libffi.call/cls_3byte1.c: Likewise.
691         * testsuite/libffi.call/cls_3byte2.c: Likewise.
692         * testsuite/libffi.call/cls_4_1byte.c: Likewise.
693         * testsuite/libffi.call/cls_4byte.c: Likewise.
694         * testsuite/libffi.call/cls_64byte.c: Likewise.
695         * testsuite/libffi.call/cls_6byte.c: Likewise.
696         * testsuite/libffi.call/cls_7byte.c: Likewise.
697         * testsuite/libffi.call/cls_8byte.c: Likewise.
698         * testsuite/libffi.call/cls_9byte1.c: Likewise.
699         * testsuite/libffi.call/cls_9byte2.c: Likewise.
700         * testsuite/libffi.call/cls_align_double.c: Likewise.
701         * testsuite/libffi.call/cls_align_float.c: Likewise.
702         * testsuite/libffi.call/cls_align_longdouble.c: Likewise.
703         * testsuite/libffi.call/cls_align_pointer.c: Likewise.
704         * testsuite/libffi.call/cls_align_sint16.c: Likewise.
705         * testsuite/libffi.call/cls_align_sint32.c: Likewise.
706         * testsuite/libffi.call/cls_align_sint64.c: Likewise.
707         * testsuite/libffi.call/cls_align_uint16.c: Likewise.
708         * testsuite/libffi.call/cls_align_uint32.c: Likewise.
709         * testsuite/libffi.call/cls_align_uint64.c: Likewise.
710         * testsuite/libffi.call/cls_double.c: Likewise.
711         * testsuite/libffi.call/cls_float.c: Likewise.
712         * testsuite/libffi.call/cls_multi_schar.c: Likewise.
713         * testsuite/libffi.call/cls_multi_sshort.c: Likewise.
714         * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
715         * testsuite/libffi.call/cls_multi_uchar.c: Likewise.
716         * testsuite/libffi.call/cls_multi_ushort.c: Likewise.
717         * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
718         * testsuite/libffi.call/cls_schar.c: Likewise.
719         * testsuite/libffi.call/cls_sint.c: Likewise.
720         * testsuite/libffi.call/cls_sshort.c: Likewise.
721         * testsuite/libffi.call/cls_uchar.c: Likewise.
722         * testsuite/libffi.call/cls_uint.c: Likewise.
723         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
724         * testsuite/libffi.call/cls_ushort.c: Likewise.
725         * testsuite/libffi.call/nested_struct.c: Likewise.
726         * testsuite/libffi.call/nested_struct1.c: Likewise.
727         * testsuite/libffi.call/nested_struct2.c: Likewise.
728         * testsuite/libffi.call/nested_struct3.c: Likewise.
729         * testsuite/libffi.call/problem1.c: Likewise.
730         * testsuite/libffi.special/unwindtest.cc: Likewise.
731         * testsuite/libffi.call/cls_12byte.c: Likewise and set return value
732         to zero.
733         * testsuite/libffi.call/cls_16byte.c: Likewise.
734         * testsuite/libffi.call/cls_5byte.c: Likewise.
736 2004-08-23  David Daney <daney@avtrex.com>
738         PR libgcj/13141
739         * src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI.
740         * src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
741         (ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point
742         parameters and return types.
743         (ffi_call): Handle FFI_O32_SOFT_FLOAT ABI.
744         (ffi_prep_closure): Ditto.
745         (ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix
746         alignment calculations.
747         * src/mips/o32.S (ffi_closure_O32): Don't use floating point
748         instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant.
750 2004-08-14  Casey Marshall <csm@gnu.org>
752         * src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
753         contain `FFI_TYPE_UINT64' as return type for any 64-bit
754         integer (O32 ABI only).
755         (ffi_prep_closure): new function.
756         (ffi_closure_mips_inner_O32): new function.
757         * src/mips/ffitarget.h: Define `FFI_CLOSURES' and
758         `FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32.
759         * src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return
760         64 bit integers correctly.
761         (ffi_closure_O32): new function.
762         Added DWARF-2 unwind info for both functions.
764 2004-08-10  Andrew Haley  <aph@redhat.com>
766         * src/x86/ffi64.c (ffi_prep_args ): 8-align all stack arguments.
768 2004-08-01  Robert Millan  <robertmh@gnu.org>
770         * configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
771         * configure: Regenerate.
773 2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>
775         * acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
776         and mmap() explicitly instead of relying on preset autoconf cache
777         variables.
778         * aclocal.m4: Regenerate.
779         * configure: Regenerate.
781 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
783         * src/s390/ffi.c (ffi_prep_args): Fix C aliasing violation.
784         (ffi_check_float_struct): Remove unused prototype.
786 2004-06-30  Geoffrey Keating  <geoffk@apple.com>
788         * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
789         character on Darwin, use '\n\t' instead.
791 2004-06-26  Matthias Klose  <doko@debian.org>
793         * libtool-version: Fix typo in revision/age.
795 2004-06-17  Matthias Klose  <doko@debian.org>
797         * libtool-version: New.
798         * Makefile.am (libffi_la_LDFLAGS): Use -version-info for soname.
799         * Makefile.in: Regenerate.
801 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
803         * Makefile.am: Remove useless multilib rules.
804         * Makefile.in: Regenerate.
805         * aclocal.m4: Regenerate with automake 1.8.5.
806         * configure.ac: Remove useless multilib configury.
807         * configure: Regenerate.
809 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
811         * .cvsignore: New file.
813 2004-06-10  Jakub Jelinek  <jakub@redhat.com>
815         * src/ia64/unix.S (ffi_call_unix): Insert group barrier break
816         fp_done.
817         (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever
818         changed from 8.
820 2004-06-06  Sean McNeil  <sean@mcneil.com>
822         * configure.ac: Add x86_64-*-freebsd* support.
823         * configure: Regenerate.
825 2004-04-26  Joe Buck <jbuck@welsh-buck.org>
827         Bug 15093
828         * configure.ac: Test for existence of mmap and sys/mman.h before
829         checking blacklist.  Fix suggested by Jim Wilson.
830         * configure: Regenerate.
832 2004-04-26  Matt Austern  <austern@apple.com>
834         * src/powerpc/darwin.S: Go through a non-lazy pointer for initial
835         FDE location.
836         * src/powerpc/darwin_closure.S: Likewise.
838 2004-04-24  Andreas Tobler  <a.tobler@schweiz.ch>
840         * testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization
841         error. Reported by Thomas Heller <theller@python.net>.
842         * testsuite/libffi.call/cls_multi_sshort.c (main): Likewise.
843         * testsuite/libffi.call/cls_multi_ushort.c (main): Likewise.
845 2004-03-20  Matthias Klose  <doko@debian.org>
847         * src/pa/linux.S: Fix typo.
849 2004-03-19  Matthias Klose  <doko@debian.org>
851         * Makefile.am: Update.
852         * Makefile.in: Regenerate.
853         * src/pa/ffi.h.in: Remove.
854         * src/pa/ffitarget.h: New file.
856 2004-02-10  Randolph Chung  <tausq@debian.org>
858         * Makefile.am: Add PA support.
859         * Makefile.in: Regenerate.
860         * include/Makefile.in: Regenerate.
861         * configure.ac: Add PA target.
862         * configure: Regenerate.
863         * src/pa/ffi.c: New file.
864         * src/pa/ffi.h.in: Add PA support.
865         * src/pa/linux.S: New file.
866         * prep_cif.c: Add PA support.
868 2004-03-16  Hosaka Yuji  <hos@tamanegi.org>
870         * src/types.c: Fix alignment size of X86_WIN32 case int64 and
871         double.
872         * src/x86/ffi.c (ffi_prep_args): Replace ecif->cif->rtype->type
873         with ecif->cif->flags.
874         (ffi_call, ffi_prep_incoming_args_SYSV): Replace cif->rtype->type
875         with cif->flags.
876         (ffi_prep_cif_machdep): Add X86_WIN32 struct case.
877         (ffi_closure_SYSV): Add 1 or 2-bytes struct case for X86_WIN32.
878         * src/x86/win32.S (retstruct1b, retstruct2b, sc_retstruct1b,
879         sc_retstruct2b): Add for 1 or 2-bytes struct case.
881 2004-03-15 Kelley Cook <kcook@gcc.gnu.org>
883         * configure.in: Rename file to ...
884         * configure.ac: ... this.
885         * fficonfig.h.in: Regenerate.
886         * Makefile.in: Regenerate.
887         * include/Makefile.in: Regenerate.
888         * testsuite/Makefile.in: Regenerate.
890 2004-03-12  Matt Austern  <austern@apple.com>
892         * src/powerpc/darwin.S: Fix EH information so it corresponds to
893         changes in EH format resulting from addition of linkonce support.
894         * src/powerpc/darwin_closure.S: Likewise.
896 2004-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
897             Paolo Bonzini  <bonzini@gnu.org>
899         * Makefile.am (AUTOMAKE_OPTIONS): Set them.
900         Remove VPATH. Remove rules for object files. Remove multilib support.
901         (AM_CCASFLAGS): Add.
902         * configure.in (AC_CONFIG_HEADERS): Relace AM_CONFIG_HEADER.
903         (AC_PREREQ): Bump version to 2.59.
904         (AC_INIT): Fill with version info and bug address.
905         (ORIGINAL_LD_FOR_MULTILIBS): Remove.
906         (AM_ENABLE_MULTILIB): Use this instead of AC_ARG_ENABLE.
907         De-precious CC so that the right flags are passed down to multilibs.
908         (AC_MSG_ERROR): Replace obsolete macro AC_ERROR.
909         (AC_CONFIG_FILES): Replace obsolete macro AC_LINK_FILES.
910         (AC_OUTPUT): Reorganize the output with AC_CONFIG_COMMANDS.
911         * configure: Rebuilt.
912         * aclocal.m4: Likewise.
913         * Makefile.in, include/Makefile.in, testsuite/Makefile.in: Likewise.
914         * fficonfig.h.in: Likewise.
916 2004-03-11  Andreas Schwab  <schwab@suse.de>
918         * src/ia64/ffi.c (ffi_prep_incoming_args_UNIX): Get floating point
919         arguments from fp registers only for the first 8 parameter slots.
920         Don't convert a float parameter when passed in memory.
922 2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
924         * configure: Regenerate for config/accross.m4 correction.
926 2004-02-25  Matt Kraai  <kraai@alumni.cmu.edu>
928         * src/powerpc/ffi.c (ffi_prep_args_SYSV): Change
929         ecif->cif->bytes to bytes.
930         (ffi_prep_cif_machdep): Add braces around nested if statement.
932 2004-02-09  Alan Modra  <amodra@bigpond.net.au>
934         * src/types.c (pointer): POWERPC64 has 8 byte pointers.
936         * src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling.
937         (ffi_closure_helper_LINUX64): Fix typo.
938         * testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128
939         for powerpc64-*-*.
940         * testsuite/libffi.call/float.c: Likewise.
941         * testsuite/libffi.call/float2.c: Likewise.
943 2004-02-08  Alan Modra  <amodra@bigpond.net.au>
945         * src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct
946         long double function return and long double arg handling.
947         (ffi_closure_helper_LINUX64): Formatting.  Delete unused "ng" var.
948         Use "end_pfr" instead of "nf".  Correct long double handling.
949         Localise "temp".
950         * src/powerpc/linux64.S (ffi_call_LINUX64): Save f2 long double
951         return value.
952         * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Allocate
953         space for long double return value.  Adjust stack frame and offsets.
954         Load f2 long double return.
956 2004-02-07  Alan Modra  <amodra@bigpond.net.au>
958         * src/types.c: Use 16 byte long double for POWERPC64.
960 2004-01-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
962         * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
963         when the structure return address is passed in %o0.
964         (ffi_V9_return_struct): Rename into ffi_v9_layout_struct.
965         (ffi_v9_layout_struct): Align the field following a nested structure
966         on a word boundary.  Use memmove instead of memcpy.
967         (ffi_call): Update call to ffi_V9_return_struct.
968         (ffi_prep_closure): Define 'ctx' only for V8.
969         (ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8
970         and ffi_closure_sparc_inner_v9.
971         (ffi_closure_sparc_inner_v8): Return long doubles by reference.
972         Always skip the structure return address.  For structures and long
973         doubles, copy the argument directly.
974         (ffi_closure_sparc_inner_v9): Skip the structure return address only
975         if required.  Shift the maximum floating-point slot accordingly.  For
976         big structures, copy the argument directly; otherwise, left-justify the
977         argument and call ffi_v9_layout_struct to lay out the structure on
978         the stack.
979         * src/sparc/v8.S: Undef STACKFRAME before defining it.
980         (ffi_closure_v8): Pass the structure return address.  Update call to
981         ffi_closure_sparc_inner_v8.  Short-circuit FFI_TYPE_INT handling.
982         Skip the 'unimp' insn when returning long doubles and structures.
983         * src/sparc/v9.S: Undef STACKFRAME before defining it.
984         (ffi_closure_v9): Increase the frame size by 2 words.  Short-circuit
985         FFI_TYPE_INT handling.  Load structures both in integers and
986         floating-point registers on return.
987         * README: Update status of the SPARC port.
989 2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>
991         * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
992         as of type ffi_arg.
993         * testsuite/libffi.call/struct3.c (main): Fix CHECK.
995 2004-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
997         * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
998         value as of type ffi_arg, not unsigned int.
1000 2004-01-21  Michael Ritzert  <ritzert@t-online.de>
1002         * ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
1003         of the LHS.
1005 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
1007         * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
1008         Solaris.
1010 2004-01-08  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1012         * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
1013         to void *.
1015 2003-12-10  Richard Henderson  <rth@redhat.com>
1017         * testsuite/libffi.call/cls_align_pointer.c: Cast pointers to
1018         size_t instead of int.
1020 2003-12-04  Hosaka Yuji  <hos@tamanegi.org>
1022         * testsuite/libffi.call/many_win32.c: Include <float.h>.
1023         * testsuite/libffi.call/many_win32.c (main): Replace variable
1024         int i with unsigned long ul.
1026         * testsuite/libffi.call/cls_align_uint64.c: New test case.
1027         * testsuite/libffi.call/cls_align_sint64.c: Likewise.
1028         * testsuite/libffi.call/cls_align_uint32.c: Likewise.
1029         * testsuite/libffi.call/cls_align_sint32.c: Likewise.
1030         * testsuite/libffi.call/cls_align_uint16.c: Likewise.
1031         * testsuite/libffi.call/cls_align_sint16.c: Likewise.
1032         * testsuite/libffi.call/cls_align_float.c: Likewise.
1033         * testsuite/libffi.call/cls_align_double.c: Likewise.
1034         * testsuite/libffi.call/cls_align_longdouble.c: Likewise.
1035         * testsuite/libffi.call/cls_align_pointer.c: Likewise.
1037 2003-12-02  Hosaka Yuji  <hos@tamanegi.org>
1039         PR other/13221
1040         * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV):
1041         Align arguments to 32 bits.
1043 2003-12-01  Andreas Tobler  <a.tobler@schweiz.ch>
1045         PR other/13221
1046         * testsuite/libffi.call/cls_multi_sshort.c: New test case.
1047         * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
1048         * testsuite/libffi.call/cls_multi_uchar.c: Likewise.
1049         * testsuite/libffi.call/cls_multi_schar.c: Likewise.
1050         * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
1051         * testsuite/libffi.call/cls_multi_ushort.c: Likewise.
1053         * testsuite/libffi.special/unwindtest.cc: Cosmetics.
1055 2003-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1057         * testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
1058         * testsuite/libffi.special/ffitestcxx.h: Likewise.
1060 2003-11-22  Andreas Tobler  <a.tobler@schweiz.ch>
1062         * Makefile.in: Rebuilt.
1063         * configure: Likewise.
1064         * testsuite/libffi.special/unwindtest.cc: Convert the mmap to
1065         the right type.
1067 2003-11-21  Andreas Jaeger  <aj@suse.de>
1068             Andreas Tobler  <a.tobler@schweiz.ch>
1070         * acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
1071         * configure.in: Call AC_FUNC_MMAP_BLACKLIST.
1072         * Makefile.in: Rebuilt.
1073         * aclocal.m4: Likewise.
1074         * configure: Likewise.
1075         * fficonfig.h.in: Likewise.
1076         * testsuite/lib/libffi-dg.exp: Add include dir.
1077         * testsuite/libffi.call/ffitest.h: Add MMAP definitions.
1078         * testsuite/libffi.special/ffitestcxx.h: Likewise.
1079         * testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
1080         for ffi_closure if available.
1081         * testsuite/libffi.call/closure_fn1.c: Likewise.
1082         * testsuite/libffi.call/closure_fn2.c: Likewise.
1083         * testsuite/libffi.call/closure_fn3.c: Likewise.
1084         * testsuite/libffi.call/closure_fn4.c: Likewise.
1085         * testsuite/libffi.call/closure_fn5.c: Likewise.
1086         * testsuite/libffi.call/cls_12byte.c: Likewise.
1087         * testsuite/libffi.call/cls_16byte.c: Likewise.
1088         * testsuite/libffi.call/cls_18byte.c: Likewise.
1089         * testsuite/libffi.call/cls_19byte.c: Likewise.
1090         * testsuite/libffi.call/cls_1_1byte.c: Likewise.
1091         * testsuite/libffi.call/cls_20byte.c: Likewise.
1092         * testsuite/libffi.call/cls_20byte1.c: Likewise.
1093         * testsuite/libffi.call/cls_24byte.c: Likewise.
1094         * testsuite/libffi.call/cls_2byte.c: Likewise.
1095         * testsuite/libffi.call/cls_3_1byte.c: Likewise.
1096         * testsuite/libffi.call/cls_3byte1.c: Likewise.
1097         * testsuite/libffi.call/cls_3byte2.c: Likewise.
1098         * testsuite/libffi.call/cls_4_1byte.c: Likewise.
1099         * testsuite/libffi.call/cls_4byte.c: Likewise.
1100         * testsuite/libffi.call/cls_5byte.c: Likewise.
1101         * testsuite/libffi.call/cls_64byte.c: Likewise.
1102         * testsuite/libffi.call/cls_6byte.c: Likewise.
1103         * testsuite/libffi.call/cls_7byte.c: Likewise.
1104         * testsuite/libffi.call/cls_8byte.c: Likewise.
1105         * testsuite/libffi.call/cls_9byte1.c: Likewise.
1106         * testsuite/libffi.call/cls_9byte2.c: Likewise.
1107         * testsuite/libffi.call/cls_double.c: Likewise.
1108         * testsuite/libffi.call/cls_float.c: Likewise.
1109         * testsuite/libffi.call/cls_schar.c: Likewise.
1110         * testsuite/libffi.call/cls_sint.c: Likewise.
1111         * testsuite/libffi.call/cls_sshort.c: Likewise.
1112         * testsuite/libffi.call/cls_uchar.c: Likewise.
1113         * testsuite/libffi.call/cls_uint.c: Likewise.
1114         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
1115         * testsuite/libffi.call/cls_ushort.c: Likewise.
1116         * testsuite/libffi.call/nested_struct.c: Likewise.
1117         * testsuite/libffi.call/nested_struct1.c: Likewise.
1118         * testsuite/libffi.call/nested_struct2.c: Likewise.
1119         * testsuite/libffi.call/nested_struct3.c: Likewise.
1120         * testsuite/libffi.call/problem1.c: Likewise.
1121         * testsuite/libffi.special/unwindtest.cc: Likewise.
1123 2003-11-20  Andreas Tobler  <a.tobler@schweiz.ch>
1125         * testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.
1127 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1129         * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
1130         Add -lgcc_s to additional flags.
1132 2003-11-12  Andreas Tobler  <a.tobler@schweiz.ch>
1134         * configure.in, include/Makefile.am: PR libgcj/11147, install
1135         the ffitarget.h header file in a gcc versioned and target
1136         dependent place.
1137         * configure: Regenerated.
1138         * Makefile.in, include/Makefile.in: Likewise.
1139         * testsuite/Makefile.in: Likewise.
1141 2003-11-09  Andreas Tobler  <a.tobler@schweiz.ch>
1143         * testsuite/libffi.call/closure_fn0.c: Print result and check
1144         with dg-output to make debugging easier.
1145         * testsuite/libffi.call/closure_fn1.c: Likewise.
1146         * testsuite/libffi.call/closure_fn2.c: Likewise.
1147         * testsuite/libffi.call/closure_fn3.c: Likewise.
1148         * testsuite/libffi.call/closure_fn4.c: Likewise.
1149         * testsuite/libffi.call/closure_fn5.c: Likewise.
1150         * testsuite/libffi.call/cls_12byte.c: Likewise.
1151         * testsuite/libffi.call/cls_16byte.c: Likewise.
1152         * testsuite/libffi.call/cls_18byte.c: Likewise.
1153         * testsuite/libffi.call/cls_19byte.c: Likewise.
1154         * testsuite/libffi.call/cls_1_1byte.c: Likewise.
1155         * testsuite/libffi.call/cls_20byte.c: Likewise.
1156         * testsuite/libffi.call/cls_20byte1.c: Likewise.
1157         * testsuite/libffi.call/cls_24byte.c: Likewise.
1158         * testsuite/libffi.call/cls_2byte.c: Likewise.
1159         * testsuite/libffi.call/cls_3_1byte.c: Likewise.
1160         * testsuite/libffi.call/cls_3byte1.c: Likewise.
1161         * testsuite/libffi.call/cls_3byte2.c: Likewise.
1162         * testsuite/libffi.call/cls_4_1byte.c: Likewise.
1163         * testsuite/libffi.call/cls_4byte.c: Likewise.
1164         * testsuite/libffi.call/cls_5byte.c: Likewise.
1165         * testsuite/libffi.call/cls_64byte.c: Likewise.
1166         * testsuite/libffi.call/cls_6byte.c: Likewise.
1167         * testsuite/libffi.call/cls_7byte.c: Likewise.
1168         * testsuite/libffi.call/cls_8byte.c: Likewise.
1169         * testsuite/libffi.call/cls_9byte1.c: Likewise.
1170         * testsuite/libffi.call/cls_9byte2.c: Likewise.
1171         * testsuite/libffi.call/cls_double.c: Likewise.
1172         * testsuite/libffi.call/cls_float.c: Likewise.
1173         * testsuite/libffi.call/cls_schar.c: Likewise.
1174         * testsuite/libffi.call/cls_sint.c: Likewise.
1175         * testsuite/libffi.call/cls_sshort.c: Likewise.
1176         * testsuite/libffi.call/cls_uchar.c: Likewise.
1177         * testsuite/libffi.call/cls_uint.c: Likewise.
1178         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
1179         * testsuite/libffi.call/cls_ushort.c: Likewise.
1180         * testsuite/libffi.call/problem1.c: Likewise.
1182         * testsuite/libffi.special/unwindtest.cc: Make ffi_closure
1183         static.
1185 2003-11-08  Andreas Tobler  <a.tobler@schweiz.ch>
1187         * testsuite/libffi.call/cls_9byte2.c: New test case.
1188         * testsuite/libffi.call/cls_9byte1.c: Likewise.
1189         * testsuite/libffi.call/cls_64byte.c: Likewise.
1190         * testsuite/libffi.call/cls_20byte1.c: Likewise.
1191         * testsuite/libffi.call/cls_19byte.c: Likewise.
1192         * testsuite/libffi.call/cls_18byte.c: Likewise.
1193         * testsuite/libffi.call/closure_fn4.c: Likewise.
1194         * testsuite/libffi.call/closure_fn5.c: Likewise.
1195         * testsuite/libffi.call/cls_schar.c: Likewise.
1196         * testsuite/libffi.call/cls_sint.c: Likewise.
1197         * testsuite/libffi.call/cls_sshort.c: Likewise.
1198         * testsuite/libffi.call/nested_struct2.c: Likewise.
1199         * testsuite/libffi.call/nested_struct3.c: Likewise.
1201 2003-11-08  Andreas Tobler  <a.tobler@schweiz.ch>
1203         * testsuite/libffi.call/cls_double.c: Do a check on the result.
1204         * testsuite/libffi.call/cls_uchar.c: Likewise.
1205         * testsuite/libffi.call/cls_uint.c: Likewise.
1206         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
1207         * testsuite/libffi.call/cls_ushort.c: Likewise.
1208         * testsuite/libffi.call/return_sc.c: Cleanup whitespaces.
1210 2003-11-06  Andreas Tobler  <a.tobler@schweiz.ch>
1212         * src/prep_cif.c (ffi_prep_cif): Move the validity check after
1213         the initialization.
1215 2003-10-23  Andreas Tobler  <a.tobler@schweiz.ch>
1217         * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
1218         FFI_ASSERT(FALSE) with FFI_ASSERT(0).
1220 2003-10-22  David Daney  <ddaney@avtrex.com>
1222         * src/mips/ffitarget.h: Replace undefined UINT32 and friends with
1223         __attribute__((__mode__(__SI__))) and friends.
1225 2003-10-22  Andreas Schwab  <schwab@suse.de>
1227         * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
1229 2003-10-21  Andreas Tobler  <a.tobler@schweiz.ch>
1231         * configure.in: AC_LINK_FILES(ffitarget.h).
1232         * configure: Regenerate.
1233         * Makefile.in: Likewise.
1234         * include/Makefile.in: Likewise.
1235         * testsuite/Makefile.in: Likewise.
1236         * fficonfig.h.in: Likewise.
1238 2003-10-21  Paolo Bonzini  <bonzini@gnu.org>
1239             Richard Henderson  <rth@redhat.com>
1241         Avoid that ffi.h includes fficonfig.h.
1243         * Makefile.am (EXTRA_DIST): Include ffitarget.h files
1244         (TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
1245         (TARGET_SRC_MIPS_SGI): Removed.
1246         (MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
1247         (MIPS_SGI): Removed.
1248         (CLEANFILES): Removed.
1249         (mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
1250         targets.
1251         * acconfig.h: Removed.
1252         * configure.in: Compute sizeofs only for double and long double.
1253         Use them to define and subst HAVE_LONG_DOUBLE.  Include comments
1254         into AC_DEFINE instead of using acconfig.h.  Create
1255         include/ffitarget.h instead of include/fficonfig.h.  Rename
1256         MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
1257         AC_DEFINE EH_FRAME_FLAGS.
1258         * include/Makefile.am (DISTCLEANFILES): New automake macro.
1259         (hack_DATA): Add ffitarget.h.
1260         * include/ffi.h.in: Remove all system specific definitions.
1261         Declare raw API even if it is not installed, why bother?
1262         Use limits.h instead of SIZEOF_* to define ffi_type_*.  Do
1263         not define EH_FRAME_FLAGS, it is in fficonfig.h now.  Include
1264         ffitarget.h instead of fficonfig.h.  Remove ALIGN macro.
1265         (UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
1266         * include/ffi_common.h (bool): Do not define.
1267         (ffi_assert): Accept failed assertion.
1268         (ffi_type_test): Return void and accept file/line.
1269         (FFI_ASSERT): Pass stringized failed assertion.
1270         (FFI_ASSERT_AT): New macro.
1271         (FFI_ASSERT_VALID_TYPE): New macro.
1272         (UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
1273         UINT64, SINT64): Define here with gcc's __attribute__ macro
1274         instead of in ffi.h
1275         (FLOAT32, ALIGN): Define here instead of in ffi.h
1276         * include/ffi-mips.h: Removed.  Its content moved to
1277         src/mips/ffitarget.h after separating assembly and C sections.
1278         * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
1279         src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
1280         src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
1281         src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
1282         SIZEOF_ARG -> FFI_SIZEOF_ARG.
1283         * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
1284         * src/debug.c (ffi_assert): Accept stringized failed assertion.
1285         (ffi_type_test): Rewritten.
1286         * src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
1287         FFI_ASSERT_VALID_TYPE.
1288         * src/alpha/ffitarget.h, src/arm/ffitarget.h,
1289         src/ia64/ffitarget.h, src/m68k/ffitarget.h,
1290         src/mips/ffitarget.h, src/powerpc/ffitarget.h,
1291         src/s390/ffitarget.h, src/sh/ffitarget.h,
1292         src/sh64/ffitarget.h, src/sparc/ffitarget.h,
1293         src/x86/ffitarget.h: New files.
1294         * src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
1295         src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
1296         src/powerpc/aix.S, src/powerpc/darwin.S,
1297         src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
1298         src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
1299         src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
1300         src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
1301         src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
1302         include fficonfig.h
1304 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1306         * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
1307         _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
1309 2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>
1311         * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
1312         Used when FFI_DEBUG = 1.
1314 2003-10-14  Alan Modra  <amodra@bigpond.net.au>
1316         * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
1317         and align.
1319 2003-10-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1321         * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
1322         FFI_MIPS_O32 for O32 ABI.
1324 2003-10-01  Andreas Tobler  <a.tobler@schweiz.ch>
1326         * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
1327         SPARC64. Cleanup whitespaces.
1329 2003-09-19  Andreas Tobler  <a.tobler@schweiz.ch>
1331         * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
1332         strongarm, xscale. Cleanup whitespaces.
1333         * testsuite/libffi.call/closure_fn1.c: Likewise.
1334         * testsuite/libffi.call/closure_fn2.c: Likewise.
1335         * testsuite/libffi.call/closure_fn3.c: Likewise.
1336         * testsuite/libffi.call/cls_12byte.c: Likewise.
1337         * testsuite/libffi.call/cls_16byte.c: Likewise.
1338         * testsuite/libffi.call/cls_1_1byte.c: Likewise.
1339         * testsuite/libffi.call/cls_20byte.c: Likewise.
1340         * testsuite/libffi.call/cls_24byte.c: Likewise.
1341         * testsuite/libffi.call/cls_2byte.c: Likewise.
1342         * testsuite/libffi.call/cls_3_1byte.c: Likewise.
1343         * testsuite/libffi.call/cls_3byte1.c: Likewise.
1344         * testsuite/libffi.call/cls_3byte2.c: Likewise.
1345         * testsuite/libffi.call/cls_4_1byte.c: Likewise.
1346         * testsuite/libffi.call/cls_4byte.c: Likewise.
1347         * testsuite/libffi.call/cls_5byte.c: Likewise.
1348         * testsuite/libffi.call/cls_6byte.c: Likewise.
1349         * testsuite/libffi.call/cls_7byte.c: Likewise.
1350         * testsuite/libffi.call/cls_8byte.c: Likewise.
1351         * testsuite/libffi.call/cls_double.c: Likewise.
1352         * testsuite/libffi.call/cls_float.c: Likewise.
1353         * testsuite/libffi.call/cls_uchar.c: Likewise.
1354         * testsuite/libffi.call/cls_uint.c: Likewise.
1355         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
1356         * testsuite/libffi.call/cls_ushort.c: Likewise.
1357         * testsuite/libffi.call/nested_struct.c: Likewise.
1358         * testsuite/libffi.call/nested_struct1.c: Likewise.
1359         * testsuite/libffi.call/problem1.c: Likewise.
1360         * testsuite/libffi.special/unwindtest.cc: Likewise.
1361         * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.
1363 2003-09-18  David Edelsohn  <edelsohn@gnu.org>
1365         * src/powerpc/aix.S: Cleanup whitespaces.
1366         * src/powerpc/aix_closure.S: Likewise.
1368 2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
1370         * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
1371         * src/powerpc/darwin_closure.S: Likewise.
1372         * src/powerpc/ffi_darwin.c: Likewise.
1374 2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
1375             David Edelsohn  <edelsohn@gnu.org>
1377         * src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
1378         * src/powerpc/aix_closure.S: Remove the pointer to the outgoing
1379         parameter stack.
1380         * src/powerpc/darwin_closure.S: Likewise.
1381         * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
1382         according to the Darwin/AIX ABI.
1383         (ffi_prep_cif_machdep): Likewise.
1384         (ffi_closure_helper_DARWIN): Likewise.
1385         Remove the outgoing parameter stack logic. Simplify the evaluation
1386         of the different CASE types.
1387         (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
1388         statement in the trampoline code.
1390 2003-09-18  Kaz Kojima  <kkojima@gcc.gnu.org>
1392         * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
1393         for the register size.
1394         (ffi_closure_helper_SYSV): Handle the structure return value
1395         address correctly.
1396         (ffi_closure_helper_SYSV): Return the appropriate type when
1397         the registers are used for the structure return value.
1398         * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
1399         the 64-bit return value.  Update copyright years.
1401 2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1403         * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
1404         srcdir for ffi_mips.h.
1406 2003-09-12  Alan Modra  <amodra@bigpond.net.au>
1408         * src/prep_cif.c (initialize_aggregate): Include tail padding in
1409         structure size.
1410         * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
1411         placement of float result.
1412         * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct
1413         cast of "resp" for big-endian 64 bit machines.
1415 2003-09-11  Alan Modra  <amodra@bigpond.net.au>
1417         * src/types.c (double, longdouble): Merge identical SH and ARM
1418         typedefs, and add POWERPC64.
1419         * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
1420         struct split over gpr and rest.
1421         (ffi_prep_cif_machdep): Correct intarg_count for structures.
1422         * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.
1424 2003-09-09  Andreas Tobler  <a.tobler@schweiz.ch>
1426         * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
1427         passing correctly.
1429 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1431         * configure: Regenerate.
1433 2003-09-04  Andreas Tobler  <a.tobler@schweiz.ch>
1435         * Makefile.am: Remove build rules for ffitest.
1436         * Makefile.in: Rebuilt.
1438 2003-09-04  Andreas Tobler  <a.tobler@schweiz.ch>
1440         * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
1441         about implicit declaration of abort().
1443 2003-09-04  Andreas Tobler  <a.tobler@schweiz.ch>
1445         * Makefile.am: Add dejagnu test framework. Fixes PR other/11411.
1446         * Makefile.in: Rebuilt.
1447         * configure.in: Add dejagnu test framework.
1448         * configure: Rebuilt.
1450         * testsuite/Makefile.am: New file.
1451         * testsuite/Makefile.in: Built
1452         * testsuite/lib/libffi-dg.exp: New file.
1453         * testsuite/config/default.exp: Likewise.
1454         * testsuite/libffi.call/call.exp: Likewise.
1455         * testsuite/libffi.call/ffitest.h: Likewise.
1456         * testsuite/libffi.call/closure_fn0.c: Likewise.
1457         * testsuite/libffi.call/closure_fn1.c: Likewise.
1458         * testsuite/libffi.call/closure_fn2.c: Likewise.
1459         * testsuite/libffi.call/closure_fn3.c: Likewise.
1460         * testsuite/libffi.call/cls_1_1byte.c: Likewise.
1461         * testsuite/libffi.call/cls_3_1byte.c: Likewise.
1462         * testsuite/libffi.call/cls_4_1byte.c: Likewise.
1463         * testsuite/libffi.call/cls_2byte.c: Likewise.
1464         * testsuite/libffi.call/cls_3byte1.c: Likewise.
1465         * testsuite/libffi.call/cls_3byte2.c: Likewise.
1466         * testsuite/libffi.call/cls_4byte.c: Likewise.
1467         * testsuite/libffi.call/cls_5byte.c: Likewise.
1468         * testsuite/libffi.call/cls_6byte.c: Likewise.
1469         * testsuite/libffi.call/cls_7byte.c: Likewise.
1470         * testsuite/libffi.call/cls_8byte.c: Likewise.
1471         * testsuite/libffi.call/cls_12byte.c: Likewise.
1472         * testsuite/libffi.call/cls_16byte.c: Likewise.
1473         * testsuite/libffi.call/cls_20byte.c: Likewise.
1474         * testsuite/libffi.call/cls_24byte.c: Likewise.
1475         * testsuite/libffi.call/cls_double.c: Likewise.
1476         * testsuite/libffi.call/cls_float.c: Likewise.
1477         * testsuite/libffi.call/cls_uchar.c: Likewise.
1478         * testsuite/libffi.call/cls_uint.c: Likewise.
1479         * testsuite/libffi.call/cls_ulonglong.c: Likewise.
1480         * testsuite/libffi.call/cls_ushort.c: Likewise.
1481         * testsuite/libffi.call/float.c: Likewise.
1482         * testsuite/libffi.call/float1.c: Likewise.
1483         * testsuite/libffi.call/float2.c: Likewise.
1484         * testsuite/libffi.call/many.c: Likewise.
1485         * testsuite/libffi.call/many_win32.c: Likewise.
1486         * testsuite/libffi.call/nested_struct.c: Likewise.
1487         * testsuite/libffi.call/nested_struct1.c: Likewise.
1488         * testsuite/libffi.call/pyobjc-tc.c: Likewise.
1489         * testsuite/libffi.call/problem1.c: Likewise.
1490         * testsuite/libffi.call/promotion.c: Likewise.
1491         * testsuite/libffi.call/return_ll.c: Likewise.
1492         * testsuite/libffi.call/return_sc.c: Likewise.
1493         * testsuite/libffi.call/return_uc.c: Likewise.
1494         * testsuite/libffi.call/strlen.c: Likewise.
1495         * testsuite/libffi.call/strlen_win32.c: Likewise.
1496         * testsuite/libffi.call/struct1.c: Likewise.
1497         * testsuite/libffi.call/struct2.c: Likewise.
1498         * testsuite/libffi.call/struct3.c: Likewise.
1499         * testsuite/libffi.call/struct4.c: Likewise.
1500         * testsuite/libffi.call/struct5.c: Likewise.
1501         * testsuite/libffi.call/struct6.c: Likewise.
1502         * testsuite/libffi.call/struct7.c: Likewise.
1503         * testsuite/libffi.call/struct8.c: Likewise.
1504         * testsuite/libffi.call/struct9.c: Likewise.
1505         * testsuite/libffi.special/special.exp: New file.
1506         * testsuite/libffi.special/ffitestcxx.h: Likewise.
1507         * testsuite/libffi.special/unwindtest.cc: Likewise.
1510 2003-08-13  Kaz Kojima  <kkojima@gcc.gnu.org>
1512         * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case.  Update
1513         copyright years.
1515 2003-08-02  Alan Modra  <amodra@bigpond.net.au>
1517         * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
1518         structure passing.
1519         (ffi_closure_helper_LINUX64): Likewise.
1520         * src/powerpc/linux64.S: Remove code writing to parm save area.
1521         * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return
1522         address in lr from ffi_closure_helper_LINUX64 call to calculate
1523         table address.  Optimize function tail.
1525 2003-07-28  Andreas Tobler  <a.tobler@schweiz.ch>
1527         * src/sparc/ffi.c: Handle all floating point registers.
1528         * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410.
1530 2003-07-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1532         * README: Note that libffi is not part of GCC.  Update the project
1533         URL and status.
1535 2003-06-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1537         * src/powerpc/ppc_closure.S: Include ffi.h.
1539 2003-06-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1541         * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
1542         Use C style comments.
1544 2003-06-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1546         * Makefile.am: Add SHmedia support.  Fix a typo of SH support.
1547         * Makefile.in: Regenerate.
1548         * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
1549         * configure: Regenerate.
1550         * include/ffi.h.in: Add SHmedia support.
1551         * src/sh64/ffi.c: New file.
1552         * src/sh64/sysv.S: New file.
1554 2003-05-16  Jakub Jelinek  <jakub@redhat.com>
1556         * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
1557         should be read-only.
1558         * configure: Rebuilt.
1559         * fficonfig.h.in: Rebuilt.
1560         * include/ffi.h.in (EH_FRAME_FLAGS): Define.
1561         * src/alpha/osf.S: Use EH_FRAME_FLAGS.
1562         * src/powerpc/linux64.S: Likewise.
1563         * src/powerpc/linux64_closure.S: Likewise.  Include ffi.h.
1564         * src/powerpc/sysv.S: Use EH_FRAME_FLAGS.  Use pcrel encoding
1565         if -fpic/-fPIC/-mrelocatable.
1566         * src/powerpc/powerpc_closure.S: Likewise.
1567         * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
1568         #write in .eh_frame flags.
1569         * src/sparc/v9.S: Likewise.
1570         * src/x86/unix64.S: Use EH_FRAME_FLAGS.
1571         * src/x86/sysv.S: Likewise.  Use pcrel encoding if -fpic/-fPIC.
1572         * src/s390/sysv.S: Use EH_FRAME_FLAGS.  Include ffi.h.
1574 2003-05-07  Jeff Sturm  <jsturm@one-point.com>
1576         Fixes PR bootstrap/10656
1577         * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler
1578         support for .register pseudo-op.
1579         * src/sparc/v8.S: Use it.
1580         * fficonfig.h.in: Rebuilt.
1581         * configure: Rebuilt.
1583 2003-04-18  Jakub Jelinek  <jakub@redhat.com>
1585         * include/ffi.h.in (POWERPC64): Define if 64-bit.
1586         (enum ffi_abi): Add FFI_LINUX64 on POWERPC.
1587         Make it the default on POWERPC64.
1588         (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
1589         * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
1590         * configure: Rebuilt.
1591         * src/powerpc/ffi.c (hidden): Define.
1592         (ffi_prep_args_SYSV): Renamed from
1593         ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
1594         (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
1595         ASM_NEEDS_REGISTERS64): New.
1596         (ffi_prep_args64): New function.
1597         (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
1598         (ffi_call): Likewise.
1599         (ffi_prep_closure): Likewise.
1600         (flush_icache): Surround by #ifndef POWERPC64.
1601         (ffi_dblfl): New union type.
1602         (ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
1603         (ffi_closure_helper_LINUX64): New function.
1604         * src/powerpc/ppc_closure.S: Surround whole file by #ifndef
1605         __powerpc64__.
1606         * src/powerpc/sysv.S: Likewise.
1607         (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
1608         * src/powerpc/linux64.S: New file.
1609         * src/powerpc/linux64_closure.S: New file.
1610         * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
1611         src/powerpc/linux64_closure.S.
1612         (TARGET_SRC_POWERPC): Likewise.
1614         * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
1615         closure_test_fn3): Fix result printing on big-endian 64-bit
1616         machines.
1617         (main): Print tst2_arg instead of uninitialized tst2_result.
1619         * src/ffitest.c (main): Hide what closure pointer really points to
1620         from the compiler.
1622 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1624         * configure.in (arm-*-netbsdelf*): Add configuration.
1625         (configure): Regenerated.
1627 2003-04-04  Loren J. Rittle  <ljrittle@acm.org>
1629         * include/Makefile.in: Regenerate.
1631 2003-03-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1633         * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
1634         bit mode.
1635         * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
1636         Receive closure pointer through parameter, read args using
1637         __builtin_dwarf_cfa.
1638         (FFI_INIT_TRAMPOLINE): Send closure reference through eax.
1640 2003-03-12  Andreas Schwab  <schwab@suse.de>
1642         * configure.in: Avoid trailing /. in toolexeclibdir.
1643         * configure: Rebuilt.
1645 2003-03-03  Andreas Tobler <a.tobler@schweiz.ch>
1647         * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
1649 2003-02-06  Andreas Tobler <a.tobler@schweiz.ch>
1651         * libffi/src/powerpc/darwin_closure.S:
1652         Fix alignement bug, allocate 8 bytes for the result.
1653         * libffi/src/powerpc/aix_closure.S:
1654         Likewise.
1655         * libffi/src/powerpc/ffi_darwin.c:
1656         Update stackframe description for aix/darwin_closure.S.
1658 2003-02-06  Jakub Jelinek  <jakub@redhat.com>
1660         * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
1661         attribute.
1663 2003-01-31  Christian Cornelssen  <ccorn@cs.tu-berlin.de>,
1664             Andreas Schwab  <schwab@suse.de>
1666         * configure.in: Adjust command to source config-ml.in to account
1667         for changes to the libffi_basedir definition.
1668         (libffi_basedir): Remove ${srcdir} from value and include trailing
1669         slash if nonempty.
1671         * configure: Regenerate.
1673 2003-01-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1675         * src/powerpc/ppc_closure.S: Recode to fit shared libs.
1677 2003-01-28  Andrew Haley  <aph@redhat.com>
1679         * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
1680         * src/x86/ffi64.c (ffi_prep_closure): New.
1681         (ffi_closure_UNIX64_inner): New.
1682         * src/x86/unix64.S (ffi_closure_UNIX64): New.
1684 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1686         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1687         Remove USE_LIBDIR conditional.
1688         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1689         * Makefile.in, configure: Rebuilt.
1691 2003-01027  David Edelsohn  <edelsohn@gnu.org>
1693         * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
1694         * Makefile.in: Regenerate.
1696 2003-01-22  Andrew Haley  <aph@redhat.com>
1698         * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
1699         unwind info.
1701 2003-01-21  Andreas Tobler  <a.tobler@schweiz.ch>
1703         * src/powerpc/darwin.S: Add unwind info.
1704         * src/powerpc/darwin_closure.S: Likewise.
1706 2003-01-14  Andrew Haley  <aph@redhat.com>
1708         * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
1709         (ffi_prep_cif_machdep): Likewise.
1710         * src/x86/unix64.S: Add unwind info.
1712 2003-01-14  Andreas Jaeger  <aj@suse.de>
1714         * src/ffitest.c (main): Only use ffi_closures if those are
1715         supported.
1717 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
1719         * libffi/src/ffitest.c
1720          add closure testcases
1722 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
1724         * libffi/src/powerpc/ffi.c
1725          fix alignment bug for float (4 byte aligned iso 8 byte)
1727 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
1729         * src/powerpc/ffi_darwin.c: Remove RCS version string.
1730         * src/powerpc/darwin.S: Remove RCS version string.
1732 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
1734         * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
1735         * src/ffitest.c (main): Use static storage for closure.
1736         * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
1737         * src/sparc/v8.S (ffi_closure_v8): New.
1738         * src/sparc/v9.S (ffi_closure_v9): New.
1740 2002-11-10  Ranjit Mathew <rmathew@hotmail.com>
1742         * include/ffi.h.in: Added FFI_STDCALL ffi_type
1743           enumeration for X86_WIN32.
1744         * src/x86/win32.S: Added ffi_call_STDCALL function
1745           definition.
1746         * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
1747           switch cases for recognising FFI_STDCALL and
1748           calling ffi_call_STDCALL if target is X86_WIN32.
1749         * src/ffitest.c (my_stdcall_strlen/stdcall_many):
1750           stdcall versions of the "my_strlen" and "many"
1751           test functions (for X86_WIN32).
1752           Added test cases to test stdcall invocation using
1753           these functions.
1755 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
1757         * src/sh/sysv.S: Add DWARF2 unwind info.
1759 2002-11-27  Ulrich Weigand  <uweigand@de.ibm.com>
1761         * src/s390/sysv.S (.eh_frame section): Make section read-only.
1763 2002-11-26  Jim Wilson  <wilson@redhat.com>
1765         * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
1767 2002-11-23  H.J. Lu <hjl@gnu.org>
1769         * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
1770         Include ../config/accross.m4.
1771         * aclocal.m4; Rebuild.
1772         * configure: Likewise.
1774 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
1776         * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
1778 2002-11-11  DJ Delorie  <dj@redhat.com>
1780         * configure.in: Look for common files in the right place.
1782 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
1784         * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
1785         raw data as _Jv_word values, not ffi_raw.
1786         (ffi_java_ptrarray_to_raw): Likewise.
1787         (ffi_java_rvalue_to_raw): New function.
1788         (ffi_java_raw_call): Call it.
1789         (ffi_java_raw_to_rvalue): New function.
1790         (ffi_java_translate_args): Call it.
1791         * src/ffitest.c (closure_test_fn): Interpret return value
1792         as ffi_arg, not int.
1793         * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
1794         FFI_TYPE_POINTER case.
1795         (ffi_closure_helper_SYSV): Likewise.  Also, assume return
1796         values extended to word size.
1798 2002-10-02  Andreas Jaeger  <aj@suse.de>
1800         * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
1802 2002-10-01  Bo Thorsen  <bo@smetana.suse.de>
1804         * include/ffi.h.in: Fix i386 win32 compilation.
1806 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
1808         * configure.in: Add s390x-*-linux-* target.
1809         * configure: Regenerate.
1810         * include/ffi.h.in: Define S390X for s390x targets.
1811         (FFI_CLOSURES): Define for s390/s390x.
1812         (FFI_TRAMPOLINE_SIZE): Likewise.
1813         (FFI_NATIVE_RAW_API): Likewise.
1814         * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
1815         * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
1816         * src/s390/ffi.c: Major rework of existing code.  Add support for
1817         s390x targets.  Add closure support.
1818         * src/s390/sysv.S: Likewise.
1820 2002-09-29  Richard Earnshaw  <rearnsha@arm.com>
1822         * src/arm/sysv.S: Fix typo.
1824 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
1826         * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
1827         has defined __USER_LABEL_PREFIX__, then use it in CNAME.
1828         (ffi_call_SYSV): Handle soft-float.
1830 2002-09-27  Bo Thorsen  <bo@suse.de>
1832         * include/ffi.h.in: Fix multilib x86-64 support.
1834 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1836         * Makefile.am (all-multi): Fix multilib parallel build.
1838 2002-07-19  Kaz Kojima  <kkojima@gcc.gnu.org>
1840         * configure.in (sh[34]*-*-linux*): Add brackets.
1841         * configure: Regenerate.
1843 2002-07-18  Kaz Kojima  <kkojima@gcc.gnu.org>
1845         * Makefile.am: Add SH support.
1846         * Makefile.in: Regenerate.
1847         * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
1848         * configure: Regenerate.
1849         * include/ffi.h.in: Add SH support.
1850         * src/sh/ffi.c: New file.
1851         * src/sh/sysv.S: New file.
1852         * src/types.c: Add SH support.
1854 2002-07-16  Bo Thorsen  <bo@suse.de>
1856         * src/x86/ffi64.c: New file that adds x86-64 support.
1857         * src/x86/unix64.S: New file that handles argument setup for
1858         x86-64.
1859         * src/x86/sysv.S: Don't use this on x86-64.
1860         * src/x86/ffi.c: Don't use this on x86-64.
1861         Remove unused vars.
1862         * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
1863         for x86-64.
1864         * src/ffitest.c (struct6): New test that tests a special case in
1865         the x86-64 ABI.
1866         (struct7): Likewise.
1867         (struct8): Likewise.
1868         (struct9): Likewise.
1869         (closure_test_fn): Silence warning about this when it's not used.
1870         (main): Add the new tests.
1871         (main): Fix a couple of wrong casts and silence some compiler warnings.
1872         * include/ffi.h.in: Add x86-64 ABI definition.
1873         * fficonfig.h.in: Regenerate.
1874         * Makefile.am: Add x86-64 support.
1875         * configure.in: Likewise.
1876         * Makefile.in: Regenerate.
1877         * configure: Likewise.
1879 2002-06-24  Bo Thorsen  <bo@suse.de>
1881         * src/types.c: Merge settings for similar architectures.
1882         Add x86-64 sizes and alignments.
1884 2002-06-23  Bo Thorsen  <bo@suse.de>
1886         * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
1887         * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
1888         * src/mips/ffi.c (ffi_prep_args): Likewise.
1889         * src/m68k/ffi.c (ffi_prep_args): Likewise.
1891 2002-07-18  H.J. Lu  (hjl@gnu.org)
1893         * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
1894         (libffi_la_SOURCES): Support MIPS_LINUX.
1895         (libffi_convenience_la_SOURCES): Likewise.
1896         * Makefile.in: Regenerated.
1898         * configure.in (mips64*-*): Skip.
1899         (mips*-*-linux*): New.
1900         * configure: Regenerated.
1902         * src/mips/ffi.c: Include <sgidefs.h>.
1904 2002-06-06  Ulrich Weigand  <uweigand@de.ibm.com>
1906         * src/s390/sysv.S: Save/restore %r6.  Add DWARF-2 unwind info.
1908 2002-05-27  Roger Sayle  <roger@eyesopen.com>
1910         * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
1912 2002-05-27  Bo Thorsen  <bo@suse.de>
1914         * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
1915         fix formatting.
1917 2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>
1919         * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
1920         beginning of function (for older apple cc).
1922 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1924         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1925         script entry, and set LD to it when configuring multilibs.
1926         * configure: Rebuilt.
1928 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
1930         * configure.in (sparc64-*-netbsd*): Add target.
1931         (sparc-*-netbsdelf*): Likewise.
1932         * configure: Regenerate.
1934 2002-04-28  David S. Miller  <davem@redhat.com>
1936         * configure.in, configure: Fix SPARC test in previous change.
1938 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
1940         * Makefile.am: Add Linux for S/390 support.
1941         * Makefile.in: Regenerate.
1942         * configure.in: Add Linux for S/390 support.
1943         * configure: Regenerate.
1944         * include/ffi.h.in: Add Linux for S/390 support.
1945         * src/s390/ffi.c: New file from libffi CVS tree.
1946         * src/s390/sysv.S: New file from libffi CVS tree.
1948 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
1950         * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
1951         %r_disp32().
1952         * src/sparc/v8.S: Use it.
1953         * src/sparc/v9.S: Likewise.
1954         * fficonfig.h.in: Rebuilt.
1955         * configure: Rebuilt.
1957 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
1959         * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
1960         correctly.
1961         * src/ia64/unix.S: Add unwind information. Fix comments.
1962         Save sp in a way that's compatible with unwind info.
1963         (ffi_call_unix): Correctly restore sp in all cases.
1964         * src/ia64/ffi.c: Add, fix comments.
1966 2002-04-08  Jakub Jelinek  <jakub@redhat.com>
1968         * src/sparc/v8.S: Make .eh_frame dependent on target word size.
1970 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
1972         * configure.in (alpha*-*-netbsd*): Add target.
1973         * configure: Regenerate.
1975 2002-04-04  Jeff Sturm  <jsturm@one-point.com>
1977         * src/sparc/v8.S: Add unwind info.
1978         * src/sparc/v9.S: Likewise.
1980 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
1982         * configure.in: Enable i*86-*-netbsdelf*.
1983         * configure: Rebuilt.
1985 2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>
1987         PR other/2620
1988         * src/mips/n32.s: Delete
1989         * src/mips/o32.s: Delete
1991 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
1993         * configure.in: Enable alpha*-*-freebsd*.
1994         * configure: Rebuilt.
1996 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1998         * Makefile.am: libfficonvenience -> libffi_convenience.
1999         * Makefile.in: Rebuilt.
2001         * Makefile.am: Define ffitest_OBJECTS.
2002         * Makefile.in: Rebuilt.
2004 2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
2005             David Edelsohn  <edelsohn@gnu.org>
2007         * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
2008         (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
2009         (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
2010         * Makefile.in: Regenerate.
2011         * include/ffi.h.in: Add AIX and Darwin closure definitions.
2012         * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
2013         (flush_icache, flush_range): New functions.
2014         (ffi_closure_helper_DARWIN): New function.
2015         * src/powerpc/aix_closure.S: New file.
2016         * src/powerpc/darwin_closure.S: New file.
2018 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
2020         * include/ffi.h.in: Add typedef for ffi_arg.
2021         * src/ffitest.c (main): Declare rint with ffi_arg.
2023 2002-02-21  Andreas Tobler  <toa@pop.agri.ch>
2025         * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
2026         number of GPRs for floating-point arguments.
2028 2002-01-31  Anthony Green  <green@redhat.com>
2030         * configure: Rebuilt.
2031         * configure.in: Replace CHECK_SIZEOF and endian tests with
2032         cross-compiler friendly macros.
2033         * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
2034         macros.
2036 2002-01-18  David Edelsohn  <edelsohn@gnu.org>
2038         * src/powerpc/darwin.S (_ffi_call_AIX): New.
2039         * src/powerpc/aix.S (ffi_call_DARWIN): New.
2041 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2043         * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
2044         (TARGET_SRC_POWERPC_AIX): New.
2045         (POWERPC_AIX): New stanza.
2046         * Makefile.in: Regenerate.
2047         * configure.in: Add AIX case.
2048         * configure: Regenerate.
2049         * include/ffi.h.in (ffi_abi): Add FFI_AIX.
2050         * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
2051         size.  Fix "long double" support.
2052         (ffi_call): Add FFI_AIX case.
2053         * src/powerpc/aix.S: New.
2055 2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>
2057         Implement Darwin PowerPC ABI.
2058         * configure.in: Handle powerpc-*-darwin*.
2059         * Makefile.am: Set source files for POWERPC_DARWIN.
2060         * configure: Rebuilt.
2061         * Makefile.in: Rebuilt.
2062         * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
2063         POWERPC_DARWIN.
2064         * src/powerpc/darwin.S: New file.
2065         * src/powerpc/ffi_darwin.c: New file.
2067 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2069         * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
2071 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2073         * src/x86/sysv.S: Avoid gas-only .balign directive.
2074         Use C style comments.
2076 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2078         * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
2079         Fixes PR bootstrap/3563.
2081 2001-06-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2083         * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
2085 2001-06-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2087         * configure.in: Recognize sparc*-sun-* host.
2088         * configure: Regenerate.
2090 2001-06-06  Andrew Haley  <aph@redhat.com>
2092         * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
2094 2001-06-03  Andrew Haley  <aph@redhat.com>
2096         * src/alpha/osf.S: Add unwind info.
2097         * src/powerpc/sysv.S: Add unwind info.
2098         * src/powerpc/ppc_closure.S: Likewise.
2100 2000-05-31  Jeff Sturm  <jsturm@one-point.com>
2102         * configure.in: Fix AC_ARG_ENABLE usage.
2103         * configure: Rebuilt.
2105 2001-05-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2107         * configure.in: Remove warning about beta code.
2108         * configure: Rebuilt.
2110 2001-04-25  Hans Boehm <Hans_Boehm@hp.com>
2112         * src/ia64/unix.S: Restore stack pointer when returning from
2113         ffi_closure_UNIX.
2114         * src/ia64/ffi.c: Fix typo in comment.
2116 2001-04-18  Jim Wilson  <wilson@redhat.com>
2118         * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
2119         to eliminate RAW DV.
2121 2001-04-12  Bryce McKinlay  <bryce@albatross.co.nz>
2123         * Makefile.am: Make a libtool convenience library.
2124         * Makefile.in: Rebuilt.
2126 2001-03-29  Bryce McKinlay  <bryce@albatross.co.nz>
2128         * configure.in: Use different syntax for subdirectory creation.
2129         * configure: Rebuilt.
2131 2001-03-27  Jon Beniston  <jon@beniston.com>
2133         * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
2134         * configure: Rebuilt.
2135         * Makefile.am: Added X86_WIN32 target support.
2136         * Makefile.in: Rebuilt.
2138         * include/ffi.h.in: Added X86_WIN32 target support.
2140         * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
2141         * src/types.c: Added X86_WIN32 target support.
2143         * src/x86/win32.S: New file. Based on sysv.S, but with EH
2144         stuff removed and made to work with CygWin's gas.
2146 2001-03-26  Bryce McKinlay  <bryce@albatross.co.nz>
2148         * configure.in: Make target subdirectory in build dir.
2149         * Makefile.am: Override suffix based rules to specify correct output
2150         subdirectory.
2151         * Makefile.in: Rebuilt.
2152         * configure: Rebuilt.
2154 2001-03-23  Kevin B Hendricks  <khendricks@ivey.uwo.ca>
2156         * src/powerpc/ppc_closure.S: New file.
2157         * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
2158         involving long long and register pairs.
2159         (ffi_prep_closure): New function.
2160         (flush_icache): Likewise.
2161         (ffi_closure_helper_SYSV): Likewise.
2162         * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
2163         (FFI_TRAMPOLINE_SIZE): Likewise.
2164         (FFI_NATIVE_RAW_API): Likewise.
2165         * Makefile.in: Rebuilt.
2166         * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
2167         (TARGET_SRC_POWERPC): Likewise.
2169 2001-03-19  Tom Tromey  <tromey@redhat.com>
2171         * Makefile.in: Rebuilt.
2172         * Makefile.am (ffitest_LDFLAGS): New macro.
2174 2001-03-02  Nick Clifton  <nickc@redhat.com>
2176         * include/ffi.h.in: Remove RCS ident string.
2177         * include/ffi_mips.h: Remove RCS ident string.
2178         * src/debug.c: Remove RCS ident string.
2179         * src/ffitest.c: Remove RCS ident string.
2180         * src/prep_cif.c: Remove RCS ident string.
2181         * src/types.c: Remove RCS ident string.
2182         * src/alpha/ffi.c: Remove RCS ident string.
2183         * src/alpha/osf.S: Remove RCS ident string.
2184         * src/arm/ffi.c: Remove RCS ident string.
2185         * src/arm/sysv.S: Remove RCS ident string.
2186         * src/mips/ffi.c: Remove RCS ident string.
2187         * src/mips/n32.S: Remove RCS ident string.
2188         * src/mips/o32.S: Remove RCS ident string.
2189         * src/sparc/ffi.c: Remove RCS ident string.
2190         * src/sparc/v8.S: Remove RCS ident string.
2191         * src/sparc/v9.S: Remove RCS ident string.
2192         * src/x86/ffi.c: Remove RCS ident string.
2193         * src/x86/sysv.S: Remove RCS ident string.
2195 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2197         * include/ffi.h.in: Change sourceware.cygnus.com references to
2198         gcc.gnu.org.
2200 2000-12-09  Richard Henderson  <rth@redhat.com>
2202         * src/alpha/ffi.c (ffi_call): Simplify struct return test.
2203         (ffi_closure_osf_inner): Index rather than increment avalue
2204         and arg_types.  Give ffi_closure_osf the raw return value type.
2205         * src/alpha/osf.S (ffi_closure_osf): Handle return value type
2206         promotion.
2208 2000-12-07  Richard Henderson  <rth@redhat.com>
2210         * src/raw_api.c (ffi_translate_args): Fix typo.
2211         (ffi_prep_closure): Likewise.
2213         * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
2214         FFI_TRAMPOLINE_SIZE.
2215         * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
2216         cif->bytes for new ffi_call_osf implementation.
2217         (ffi_prep_args): Absorb into ...
2218         (ffi_call): ... here.  Do all stack allocation here and
2219         avoid a callback function.
2220         (ffi_prep_closure, ffi_closure_osf_inner): New.
2221         * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
2222         (ffi_closure_osf): New.
2224 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
2226         * config.guess, config.sub, install-sh: Removed.
2227         * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
2228         * Makefile.in: Rebuilt.
2230         * acinclude.m4: Include libtool macros from the top level.
2231         * aclocal.m4, configure: Rebuilt.
2233 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
2235         * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
2236         * configure: Rebuilt.
2238 2000-05-11  Scott Bambrough  <scottb@netwinder.org>
2240         * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
2241         memory correctly.  Use conditional instructions, not branches where
2242         possible.
2244 2000-05-04  Tom Tromey  <tromey@cygnus.com>
2246         * configure: Rebuilt.
2247         * configure.in: Match `arm*-*-linux-*'.
2248         From Chris Dornan <cdornan@arm.com>.
2250 2000-04-28  Jakub Jelinek  <jakub@redhat.com>
2252         * Makefile.am (SUBDIRS): Define.
2253         (AM_MAKEFLAGS): Likewise.
2254         (Multilib support.): Add section.
2255         * Makefile.in: Rebuilt.
2256         * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
2257         New variables. Set for gcc using -print-multi-lib. Export them
2258         to libtool.
2259         (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
2260         * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
2261         for -shared links.
2262         (extra_compiler_flags_value, extra_compiler_flags): Check these
2263         for extra compiler options which need to be passed down in
2264         compiler_flags.
2266 2000-04-16  Anthony Green  <green@redhat.com>
2268         * configure: Rebuilt.
2269         * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
2271 2000-04-14  Jakub Jelinek  <jakub@redhat.com>
2273         * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
2274         Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
2275         * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
2276         Replace all void * sizeofs with sizeof(int).
2277         Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
2278         different than DOUBLE.
2279         Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
2280         (ffi_prep_args_v9): New function.
2281         (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
2282         (ffi_V9_return_struct): New function.
2283         (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
2284         32bit code (not yet cross-arch calls).
2285         * src/sparc/v8.S: Add struct return delay nop.
2286         Handle long long.
2287         * src/sparc/v9.S: New file.
2288         * src/prep_cif.c (ffi_prep_cif): Return structure pointer
2289         is used on sparc64 only for structures larger than 32 bytes.
2290         Pass by reference for structures is done for structure arguments
2291         larger than 16 bytes.
2292         * src/ffitest.c (main): Use 64bit rint on sparc64.
2293         Run long long tests on sparc.
2294         * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
2295         sparc64.
2296         (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
2297         on sparc64.
2298         * configure.in (sparc-*-linux*): New supported target.
2299         (sparc64-*-linux*): Likewise.
2300         * configure: Rebuilt.
2301         * Makefile.am: Add v9.S to SPARC files.
2302         * Makefile.in: Likewise.
2303         (LINK): Surround $(CCLD) into double quotes, so that multilib
2304         compiles work correctly.
2306 2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2308         * configure: Rebuilt.
2309         * configure.in: (i*86-*-solaris*): New libffi target. Patch
2310         proposed by Bryce McKinlay.
2312 2000-03-20  Tom Tromey  <tromey@cygnus.com>
2314         * Makefile.in: Hand edit for java_raw_api.lo.
2316 2000-03-08  Bryce McKinlay  <bryce@albatross.co.nz>
2318         * config.guess, config.sub: Update from the gcc tree.
2319         Fix for PR libgcj/168.
2321 2000-03-03  Tom Tromey  <tromey@cygnus.com>
2323         * Makefile.in: Fixed ia64 by hand.
2325         * configure: Rebuilt.
2326         * configure.in (--enable-multilib): New option.
2327         (libffi_basedir): New subst.
2328         (AC_OUTPUT): Added multilib code.
2330 2000-03-02  Tom Tromey  <tromey@cygnus.com>
2332         * Makefile.in: Rebuilt.
2333         * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
2334         directory name.
2336 2000-02-25  Hans Boehm <boehm@acm.org>
2338         * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
2339         files.
2340         * src/raw_api.c (ffi_translate_args): Fixed typo in argument
2341         list.
2342         (ffi_prep_raw_closure): Use ffi_translate_args, not
2343         ffi_closure_translate.
2344         * src/java_raw_api.c: New file.
2345         * src/ffitest.c (closure_test_fn): New function.
2346         (main): Define `rint' as long long on IA64.  Added new test when
2347         FFI_CLOSURES is defined.
2348         * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
2349         (ffi_abi): Recognize IA64.
2350         (ffi_raw): Added `flt' field.
2351         Added "Java raw API" code.
2352         * configure.in: Recognize ia64.
2353         * Makefile.am (TARGET_SRC_IA64): New macro.
2354         (libffi_la_common_SOURCES): Added java_raw_api.c.
2355         (libffi_la_SOURCES): Define in IA64 case.
2357 2000-01-04  Tom Tromey  <tromey@cygnus.com>
2359         * Makefile.in: Rebuilt with newer automake.
2361 1999-12-31  Tom Tromey  <tromey@cygnus.com>
2363         * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
2365 1999-09-01  Tom Tromey  <tromey@cygnus.com>
2367         * include/ffi.h.in: Removed PACKAGE and VERSION defines and
2368         undefs.
2369         * fficonfig.h.in: Rebuilt.
2370         * configure: Rebuilt.
2371         * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
2372         Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
2373         * acconfig.h: Don't #undef PACKAGE or VERSION.
2375 1999-08-09  Anthony Green  <green@cygnus.com>
2377         * include/ffi.h.in: Try to work around messy header problem
2378         with PACKAGE and VERSION.
2380         * configure: Rebuilt.
2381         * configure.in: Change version to 2.00-beta.
2383         * fficonfig.h.in: Rebuilt.
2384         * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
2386         * src/x86/ffi.c (ffi_raw_call): Rename.
2388 1999-08-02  Kresten Krab Thorup  <krab@dominiq.is.s.u-tokyo.ac.jp>
2390         * src/x86/ffi.c (ffi_closure_SYSV): New function.
2391         (ffi_prep_incoming_args_SYSV): Ditto.
2392         (ffi_prep_closure): Ditto.
2393         (ffi_closure_raw_SYSV): Ditto.
2394         (ffi_prep_raw_closure): More ditto.
2395         (ffi_call_raw): Final ditto.
2397         * include/ffi.h.in: Add definitions for closure and raw API.
2399         * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
2400         FFI_TYPE_UINT64.
2402         * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
2404         * src/raw_api.c: New file.
2406         * include/ffi.h.in (ffi_raw): New type.
2407         (UINT_ARG, SINT_ARG): New defines.
2408         (ffi_closure, ffi_raw_closure): New types.
2409         (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
2411         * configure.in: Add check for endianness and sizeof void*.
2413         * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
2414         instead of directly.
2416         * configure: Rebuilt.
2418 Thu Jul  8 14:28:42 1999  Anthony Green  <green@cygnus.com>
2420         * configure.in: Add x86 and powerpc BeOS configurations.
2421         From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
2423 1999-05-09  Anthony Green  <green@cygnus.com>
2425         * configure.in: Add warning about this being beta code.
2426         Remove src/Makefile.am from the picture.
2427         * configure: Rebuilt.
2429         * Makefile.am: Move logic from src/Makefile.am.  Add changes
2430         to support libffi as a target library.
2431         * Makefile.in: Rebuilt.
2433         * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
2434         Upgraded to new autoconf, automake, libtool.
2436         * README: Tweaks.
2438         * LICENSE: Update copyright date.
2440         * src/Makefile.am, src/Makefile.in: Removed.
2442 1998-11-29  Anthony Green  <green@cygnus.com>
2444         * include/ChangeLog: Removed.
2445         * src/ChangeLog: Removed.
2446         * src/mips/ChangeLog: Removed.
2447         * src/sparc/ChangeLog: Remboved.
2448         * src/x86/ChangeLog: Removed.
2450         * ChangeLog.v1: Created.