Add Andreas Schwab's powerpc fix
[platform/upstream/libffi.git] / ChangeLog.libffi
1 2009-12-26  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
4         when a float argument is passed in memory.
5         (ffi_closure_helper_SYSV): Mark general registers as used up when
6         a 64bit or soft-float long double argument is passed in memory.
7
8 2009-12-25  Samuli Suominen  <ssuominen@gentoo.org>
9
10         * configure.ac: Undefine _AC_ARG_VAR_PRECIOUS for autoconf 2.64.
11         * configure: Rebuilt.
12         * fficonfig.h.in: Rebuilt.
13
14 2009-12-25  Carlo Bramini  <carlo.bramix@libero.it>
15
16         * configure.ac (AM_LTLDFLAGS): Define for windows hosts.
17         * Makefile.am (libffi_la_LDFLAGS): Add AM_LTLDFLAGS.
18         * configure: Rebuilt.
19         * Makefile.in: Rebuilt.
20
21 2009-12-24  Anthony Green  <green@redhat.com>
22
23         * testsuite/libffi.call/huge_struct.c: Fix printf format, and
24         don't xfail x86 Linux.
25         * testsuite/libffi.call/huge_struct.c: Don't xfail mips.
26         * testsuite/libffi.call/cls_pointer.c: Ditto.
27         * testsuite/libffi.call/cls_pointer_stack.c: Ditto.
28         * testsuite/libffi.call/cls_longdouble_va.c: Ditto.
29         * testsuite/libffi.call/cls_longdouble.c: Ditto.
30         * testsuite/libffi.call/cls_double_va.c: Ditto.
31
32 2009-10-11  Matthias Klose  <doko@ubuntu.com>
33
34         * man/ffi_call.3: Fix #include in examples.
35         * doc/libffi.texi: Add dircategory.
36
37 2009-10-23  Frank Everdij <f.p.x.everdij@tudelft.nl>
38
39         * include/ffi.h.in: Placed '__GNUC__' ifdef around
40         '__attribute__((aligned(8)))' in ffi_closure, fixes compile for
41         IRIX MIPSPro c99.
42         * include/ffi_common.h: Added '__sgi' define to non
43         '__attribute__((__mode__()))' integer typedefs.
44         * src/mips/ffi.c (ffi_call, ffi_closure_mips_inner_O32,
45         ffi_closure_mips_inner_N32): Added 'defined(_MIPSEB)' to BE check.
46         (ffi_closure_mips_inner_O32, ffi_closure_mips_inner_N32): Added
47         FFI_LONGDOUBLE support and alignment(N32 only).
48         * src/mips/ffitarget.h: Corrected '#include <sgidefs.h>' for IRIX and
49         fixed non '__attribute__((__mode__()))' integer typedefs.
50         * src/mips/n32.S: Put '#ifdef linux' around '.abicalls' and '.eh_frame'
51         since they are Linux/GNU Assembler specific.
52
53 2009-12-25  Andreas Tobler  <a.tobler@schweiz.org>
54
55         * fficonfig.h.in: Rebuilt again.
56         * src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for
57         Solaris/x86.
58
59 2009-10-27  Abdulaziz Ghuloum <aghuloum@gmail.com>
60
61         * configure.ac (FFI_MMAP_EXEC_WRIT): Define for snow
62         leopard (i?86-apple-darwin10*).
63         * configure: Rebuilt.
64         * fficonfig.h.in: Rebuilt.
65         * src/closures.c (dlmmap): Define version for snow leopard.
66
67 2009-10-05  Bradley Smith  <brad@brad-smith.co.uk>
68
69         * configure.ac, Makefile.am, src/avr32/ffi.c,
70         src/avr32/ffitarget.h,
71         src/avr32/sysv.S: Add AVR32 port.
72         * testsuite/libffi.call/cls_dbls_struct.c,
73         testsuite/libffi.call/cls_double_va.c,
74         testsuite/libffi.call/cls_longdouble_va.c,
75         testsuite/libffi.call/huge_struct.c: Mark expected failures on
76         AVR32.
77
78 2009-06-16  Andrew Haley  <aph@redhat.com>
79
80         * testsuite/libffi.call/cls_align_sint64.c,
81         testsuite/libffi.call/cls_align_uint64.c,
82         testsuite/libffi.call/cls_longdouble_va.c,
83         testsuite/libffi.call/cls_ulonglong.c,
84         testsuite/libffi.call/return_ll1.c,
85         testsuite/libffi.call/stret_medium2.c: Fix printf format
86         specifiers.
87         * testsuite/libffi.call/huge_struct.c: Ad x86 XFAILs.
88         * testsuite/libffi.call/float2.c: Fix dg-excess-errors.
89         * testsuite/libffi.call/ffitest.h,
90         testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define.
91
92 2009-06-12  Andrew Haley  <aph@redhat.com>
93
94         * testsuite/libffi.call/cls_align_sint64.c,
95         testsuite/libffi.call/cls_align_uint64.c,
96         testsuite/libffi.call/cls_ulonglong.c,
97         testsuite/libffi.call/return_ll1.c,
98         testsuite/libffi.call/stret_medium2.c: Fix printf format
99         specifiers.
100         testsuite/libffi.special/unwindtest.cc: include stdint.h.
101
102 2009-06-11  Timothy Wall  <twall@users.sf.net>
103
104         * Makefile.am,
105         configure.ac,
106         include/ffi.h.in,
107         include/ffi_common.h,
108         src/closures.c,
109         src/dlmalloc.c,
110         src/x86/ffi.c,
111         src/x86/ffitarget.h,
112         src/x86/win64.S (new),
113         README: Added win64 support (mingw or MSVC)
114         * Makefile.in,
115         include/Makefile.in,
116         man/Makefile.in,
117         testsuite/Makefile.in,
118         configure,
119         aclocal.m4: Regenerated
120         * ltcf-c.sh: properly escape cygwin/w32 path
121         * man/ffi_call.3: Clarify size requirements for return value.
122         * src/x86/ffi64.c: Fix filename in comment.
123         * src/x86/win32.S: Remove unused extern.
124
125         * testsuite/libffi.call/closure_fn0.c,
126         testsuite/libffi.call/closure_fn1.c,
127         testsuite/libffi.call/closure_fn2.c,
128         testsuite/libffi.call/closure_fn3.c,
129         testsuite/libffi.call/closure_fn4.c,
130         testsuite/libffi.call/closure_fn5.c,
131         testsuite/libffi.call/closure_fn6.c,
132         testsuite/libffi.call/closure_stdcall.c,
133         testsuite/libffi.call/cls_12byte.c,
134         testsuite/libffi.call/cls_16byte.c,
135         testsuite/libffi.call/cls_18byte.c,
136         testsuite/libffi.call/cls_19byte.c,
137         testsuite/libffi.call/cls_1_1byte.c,
138         testsuite/libffi.call/cls_20byte.c,
139         testsuite/libffi.call/cls_20byte1.c,
140         testsuite/libffi.call/cls_24byte.c,
141         testsuite/libffi.call/cls_2byte.c,
142         testsuite/libffi.call/cls_3_1byte.c,
143         testsuite/libffi.call/cls_3byte1.c,
144         testsuite/libffi.call/cls_3byte2.c,
145         testsuite/libffi.call/cls_4_1byte.c,
146         testsuite/libffi.call/cls_4byte.c,
147         testsuite/libffi.call/cls_5_1_byte.c,
148         testsuite/libffi.call/cls_5byte.c,
149         testsuite/libffi.call/cls_64byte.c,
150         testsuite/libffi.call/cls_6_1_byte.c,
151         testsuite/libffi.call/cls_6byte.c,
152         testsuite/libffi.call/cls_7_1_byte.c,
153         testsuite/libffi.call/cls_7byte.c,
154         testsuite/libffi.call/cls_8byte.c,
155         testsuite/libffi.call/cls_9byte1.c,
156         testsuite/libffi.call/cls_9byte2.c,
157         testsuite/libffi.call/cls_align_double.c,
158         testsuite/libffi.call/cls_align_float.c,
159         testsuite/libffi.call/cls_align_longdouble.c,
160         testsuite/libffi.call/cls_align_longdouble_split.c,
161         testsuite/libffi.call/cls_align_longdouble_split2.c,
162         testsuite/libffi.call/cls_align_pointer.c,
163         testsuite/libffi.call/cls_align_sint16.c,
164         testsuite/libffi.call/cls_align_sint32.c,
165         testsuite/libffi.call/cls_align_sint64.c,
166         testsuite/libffi.call/cls_align_uint16.c,
167         testsuite/libffi.call/cls_align_uint32.c,
168         testsuite/libffi.call/cls_align_uint64.c,
169         testsuite/libffi.call/cls_dbls_struct.c,
170         testsuite/libffi.call/cls_double.c,
171         testsuite/libffi.call/cls_double_va.c,
172         testsuite/libffi.call/cls_float.c,
173         testsuite/libffi.call/cls_longdouble.c,
174         testsuite/libffi.call/cls_longdouble_va.c,
175         testsuite/libffi.call/cls_multi_schar.c,
176         testsuite/libffi.call/cls_multi_sshort.c,
177         testsuite/libffi.call/cls_multi_sshortchar.c,
178         testsuite/libffi.call/cls_multi_uchar.c,
179         testsuite/libffi.call/cls_multi_ushort.c,
180         testsuite/libffi.call/cls_multi_ushortchar.c,
181         testsuite/libffi.call/cls_pointer.c,
182         testsuite/libffi.call/cls_pointer_stack.c,
183         testsuite/libffi.call/cls_schar.c,
184         testsuite/libffi.call/cls_sint.c,
185         testsuite/libffi.call/cls_sshort.c,
186         testsuite/libffi.call/cls_uchar.c,
187         testsuite/libffi.call/cls_uint.c,
188         testsuite/libffi.call/cls_ulonglong.c,
189         testsuite/libffi.call/cls_ushort.c,
190         testsuite/libffi.call/err_bad_abi.c,
191         testsuite/libffi.call/err_bad_typedef.c,
192         testsuite/libffi.call/float2.c,
193         testsuite/libffi.call/huge_struct.c,
194         testsuite/libffi.call/nested_struct.c,
195         testsuite/libffi.call/nested_struct1.c,
196         testsuite/libffi.call/nested_struct10.c,
197         testsuite/libffi.call/nested_struct2.c,
198         testsuite/libffi.call/nested_struct3.c,
199         testsuite/libffi.call/nested_struct4.c,
200         testsuite/libffi.call/nested_struct5.c,
201         testsuite/libffi.call/nested_struct6.c,
202         testsuite/libffi.call/nested_struct7.c,
203         testsuite/libffi.call/nested_struct8.c,
204         testsuite/libffi.call/nested_struct9.c,
205         testsuite/libffi.call/problem1.c,
206         testsuite/libffi.call/return_ldl.c,
207         testsuite/libffi.call/return_ll1.c,
208         testsuite/libffi.call/stret_large.c,
209         testsuite/libffi.call/stret_large2.c,
210         testsuite/libffi.call/stret_medium.c,
211         testsuite/libffi.call/stret_medium2.c,
212         testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead
213         of checking for MMAP.  Use intptr_t instead of long casts.
214
215 2009-06-04  Andrew Haley  <aph@redhat.com>
216
217         * src/powerpc/ffitarget.h: Fix misapplied merge from gcc.
218
219 2009-06-04  Andrew Haley  <aph@redhat.com>
220
221         * src/mips/o32.S,
222         src/mips/n32.S: Fix licence formatting.
223
224 2009-06-04  Andrew Haley  <aph@redhat.com>
225
226         * src/x86/darwin.S: Fix licence formatting.
227         src/x86/win32.S: Likewise.
228         src/sh64/sysv.S: Likewise.
229         src/sh/sysv.S: Likewise.
230
231 2009-06-04  Andrew Haley  <aph@redhat.com>
232
233         * src/sh64/ffi.c: Remove lint directives.  Was missing from merge
234         of Andreas Tobler's patch from 2006-04-22.
235         
236 2009-06-04  Andrew Haley  <aph@redhat.com>
237
238         * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of
239         2007-03-07.
240
241 2008-12-26  Timothy Wall  <twall@users.sf.net>
242
243         * testsuite/libffi.call/cls_longdouble.c,
244         testsuite/libffi.call/cls_longdouble_va.c,
245         testsuite/libffi.call/cls_align_longdouble.c,
246         testsuite/libffi.call/cls_align_longdouble_split.c,
247         testsuite/libffi.call/cls_align_longdouble_split2.c: mark expected
248         failures on x86_64 cygwin/mingw.
249
250 2008-12-22  Timothy Wall  <twall@users.sf.net>
251
252         * testsuite/libffi.call/closure_fn0.c,
253         testsuite/libffi.call/closure_fn1.c,
254         testsuite/libffi.call/closure_fn2.c,
255         testsuite/libffi.call/closure_fn3.c,
256         testsuite/libffi.call/closure_fn4.c,
257         testsuite/libffi.call/closure_fn5.c,
258         testsuite/libffi.call/closure_fn6.c,
259         testsuite/libffi.call/closure_loc_fn0.c,
260         testsuite/libffi.call/closure_stdcall.c,
261         testsuite/libffi.call/cls_align_pointer.c,
262         testsuite/libffi.call/cls_pointer.c,
263         testsuite/libffi.call/cls_pointer_stack.c: use portable cast from
264         pointer to integer (intptr_t).
265         * testsuite/libffi.call/cls_longdouble.c: disable for win64.
266
267 2008-12-19  Anthony Green  <green@redhat.com>
268
269         * configure.ac: Bump version to 3.0.8.
270         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
271         * libtool-version: Increment revision.
272         * README: Update for new release.
273
274 2008-11-11  Anthony Green  <green@redhat.com>
275
276         * configure.ac: Bump version to 3.0.7.
277         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
278         * libtool-version: Increment revision.
279         * README: Update for new release.
280
281 2008-08-25  Andreas Tobler  <a.tobler@schweiz.org>
282
283         * src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and
284         FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum.
285         Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT.
286         Adjust copyright notice.
287         * src/powerpc/ffi.c: Add two new flags to indicate if we have one
288         register or two register to use for FFI_SYSV structs.
289         (ffi_prep_cif_machdep): Pass the right register flag introduced above.
290         (ffi_closure_helper_SYSV): Fix the return type for
291         FFI_SYSV_TYPE_SMALL_STRUCT. Comment.
292         Adjust copyright notice.
293
294 2008-07-24  Anthony Green  <green@redhat.com>
295
296         * testsuite/libffi.call/cls_dbls_struct.c,
297         testsuite/libffi.call/cls_double_va.c,
298         testsuite/libffi.call/cls_longdouble.c,
299         testsuite/libffi.call/cls_longdouble_va.c,
300         testsuite/libffi.call/cls_pointer.c,
301         testsuite/libffi.call/cls_pointer_stack.c,
302         testsuite/libffi.call/err_bad_abi.c: Clean up failures from
303         compiler warnings.
304
305 2008-07-17  Anthony Green  <green@redhat.com>
306
307         * configure.ac: Bump version to 3.0.6.
308         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
309         * libtool-version: Increment revision.  Add documentation.
310         * README: Update for new release.
311
312 2008-07-16  Kaz Kojima  <kkojima@gcc.gnu.org>
313
314         * src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
315         int.
316
317 2008-07-16  Kaz Kojima  <kkojima@gcc.gnu.org>
318
319         * src/sh/sysv.S: Add .note.GNU-stack on Linux.
320         * src/sh64/sysv.S: Likewise.
321
322 2008-04-03  Anthony Green  <green@redhat.com>
323
324         * libffi.pc.in (Libs): Add -L${libdir}.
325         * configure.ac: Bump version to 3.0.5.
326         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
327         * libtool-version: Increment revision.
328         * README: Update for new release.
329
330 2008-04-03  Anthony Green  <green@redhat.com>
331             Xerces Ranby  <xerxes@zafena.se>
332
333         * include/ffi.h.in: Wrap definition of target architecture to
334         protect from double definitions.
335
336 2008-03-22  Moriyoshi Koizumi  <moriyoshi@gmail.com>
337
338         * src/x86/ffi.c (ffi_prep_closure_loc): Fix for bug revealed in
339         closure_loc_fn0.c.
340         * testsuite/libffi.call/closure_loc_fn0.c (closure_loc_test_fn0):
341         New test.
342
343 2008-03-04  Anthony Green  <green@redhat.com>
344             Blake Chaffin
345             hos@tamanegi.org
346
347         * testsuite/libffi.call/cls_align_longdouble_split2.c
348           testsuite/libffi.call/cls_align_longdouble_split.c
349           testsuite/libffi.call/cls_dbls_struct.c
350           testsuite/libffi.call/cls_double_va.c
351           testsuite/libffi.call/cls_longdouble.c
352           testsuite/libffi.call/cls_longdouble_va.c
353           testsuite/libffi.call/cls_pointer.c
354           testsuite/libffi.call/cls_pointer_stack.c
355           testsuite/libffi.call/err_bad_abi.c
356           testsuite/libffi.call/err_bad_typedef.c
357           testsuite/libffi.call/huge_struct.c
358           testsuite/libffi.call/stret_large2.c
359           testsuite/libffi.call/stret_large.c
360           testsuite/libffi.call/stret_medium2.c
361           testsuite/libffi.call/stret_medium.c: New tests from Apple.
362
363 2008-02-26  Jakub Jelinek  <jakub@redhat.com>
364             Anthony Green  <green@redhat.com>
365
366         * src/alpha/osf.S: Add .note.GNU-stack on Linux.
367         * src/s390/sysv.S: Likewise.
368         * src/powerpc/linux64.S: Likewise.
369         * src/powerpc/linux64_closure.S: Likewise.
370         * src/powerpc/ppc_closure.S: Likewise.
371         * src/powerpc/sysv.S: Likewise.
372         * src/x86/unix64.S: Likewise.
373         * src/x86/sysv.S: Likewise.
374         * src/sparc/v8.S: Likewise.
375         * src/sparc/v9.S: Likewise.
376         * src/m68k/sysv.S: Likewise.
377         * src/ia64/unix.S: Likewise.
378         * src/arm/sysv.S: Likewise.
379
380 2008-02-26  Anthony Green  <green@redhat.com>
381             Thomas Heller  <theller@ctypes.org>
382
383         * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
384         comment.
385
386 2008-02-26  Anthony Green  <green@redhat.org>
387             Thomas Heller  <theller@ctypes.org>
388
389         * include/ffi.h.in: Change void (*)() to void (*)(void).
390
391 2008-02-26  Anthony Green  <green@redhat.org>
392             Thomas Heller  <theller@ctypes.org>
393
394         * src/alpha/ffi.c: Change void (*)() to void (*)(void).
395         src/alpha/osf.S, src/arm/ffi.c, src/frv/ffi.c, src/ia64/ffi.c,
396         src/ia64/unix.S, src/java_raw_api.c, src/m32r/ffi.c,
397         src/mips/ffi.c, src/pa/ffi.c, src/pa/hpux32.S, src/pa/linux.S,
398         src/powerpc/ffi.c, src/powerpc/ffi_darwin.c, src/raw_api.c,
399         src/s390/ffi.c, src/sh/ffi.c, src/sh64/ffi.c, src/sparc/ffi.c,
400         src/x86/ffi.c, src/x86/unix64.S, src/x86/darwin64.S,
401         src/x86/ffi64.c: Ditto.
402
403 2008-02-24  Anthony Green  <green@redhat.org>
404
405         * configure.ac: Accept openbsd*, not just openbsd.
406         Bump version to 3.0.4.
407         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
408         * libtool-version: Increment revision.
409         * README: Update for new release.
410
411 2008-02-22  Anthony Green  <green@redhat.com>
412
413         * README: Clean up list of tested platforms.
414
415 2008-02-22  Anthony Green  <green@redhat.com>
416
417         * configure.ac: Bump version to 3.0.3.
418         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
419         * libtool-version: Increment revision.
420         * README: Update for new release.  Clean up test docs.
421
422 2008-02-22  Bjoern Koenig  <bkoenig@alpha-tierchen.de>
423             Andreas Tobler  <a.tobler@schweiz.org>
424
425         * configure.ac: Add amd64-*-freebsd* target.
426         * configure: Regenerate.
427
428 2008-02-22  Thomas Heller <theller@ctypes.org>
429
430         * configure.ac: Add x86 OpenBSD support.
431         * configure: Rebuilt.
432
433 2008-02-21  Thomas Heller <theller@ctypes.org>
434
435         * README: Change "make test" to "make check".
436
437 2008-02-21  Anthony Green  <green@redhat.com>
438
439         * configure.ac: Bump version to 3.0.2.
440         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
441         * libtool-version: Increment revision.
442         * README: Update for new release.
443
444 2008-02-21  Björn König <bkoenig@alpha-tierchen.de>
445
446         * src/x86/freebsd.S: New file.
447         * configure.ac: Add x86 FreeBSD support.
448         * Makefile.am: Ditto.
449
450 2008-02-15  Anthony Green  <green@redhat.com>
451
452         * configure.ac: Bump version to 3.0.1.
453         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
454         * libtool-version: Increment revision.
455         * README: Update for new release.
456
457 2008-02-15  David Daney  <ddaney@avtrex.com>
458
459         * src/mips/ffi.c: Remove extra '>' from include directive.
460         (ffi_prep_closure_loc): Use clear_location instead of tramp.
461
462 2008-02-15  Anthony Green  <green@redhat.com>
463
464         * configure.ac: Bump version to 3.0.0.
465         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
466
467 2008-02-15  David Daney  <ddaney@avtrex.com>
468
469         * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
470         Define (conditionally), and use it to include cachectl.h.
471         (ffi_prep_closure_loc): Fix cache flushing.
472         * src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define.
473
474 2008-02-15  Anthony Green  <green@redhat.com>
475
476         * man/ffi_call.3, man/ffi_prep_cif.3, man/ffi.3:
477         Update dates and remove all references to ffi_prep_closure.
478         * configure.ac: Bump version to 2.99.9.
479         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
480
481 2008-02-15  Anthony Green  <green@redhat.com>
482
483         * man/ffi_prep_closure.3: Delete.
484         * man/Makefile.am (EXTRA_DIST): Remove ffi_prep_closure.3.
485         (man_MANS): Ditto.
486         * man/Makefile.in: Rebuilt.
487         * configure.ac: Bump version to 2.99.8.
488         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
489
490 2008-02-14  Anthony Green  <green@redhat.com>
491
492         * configure.ac: Bump version to 2.99.7.
493         * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
494         * include/ffi.h.in LICENSE src/debug.c src/closures.c
495           src/ffitest.c src/s390/sysv.S src/s390/ffitarget.h
496           src/types.c src/m68k/ffitarget.h src/raw_api.c src/frv/ffi.c
497           src/frv/ffitarget.h src/sh/ffi.c src/sh/sysv.S
498           src/sh/ffitarget.h src/powerpc/ffitarget.h src/pa/ffi.c
499           src/pa/ffitarget.h src/pa/linux.S src/java_raw_api.c
500           src/cris/ffitarget.h src/x86/ffi.c src/x86/sysv.S
501           src/x86/unix64.S src/x86/win32.S src/x86/ffitarget.h
502           src/x86/ffi64.c src/x86/darwin.S src/ia64/ffi.c
503           src/ia64/ffitarget.h src/ia64/ia64_flags.h src/ia64/unix.S
504           src/sparc/ffi.c src/sparc/v9.S src/sparc/ffitarget.h
505           src/sparc/v8.S src/alpha/ffi.c src/alpha/ffitarget.h
506           src/alpha/osf.S src/sh64/ffi.c src/sh64/sysv.S
507           src/sh64/ffitarget.h src/mips/ffi.c src/mips/ffitarget.h
508           src/mips/n32.S src/mips/o32.S src/arm/ffi.c src/arm/sysv.S
509           src/arm/ffitarget.h src/prep_cif.c: Update license text.
510
511 2008-02-14  Anthony Green  <green@redhat.com>
512
513         * README: Update tested platforms.
514         * configure.ac: Bump version to 2.99.6.
515         * configure: Rebuilt.
516
517 2008-02-14  Anthony Green  <green@redhat.com>
518
519         * configure.ac: Bump version to 2.99.5.
520         * configure: Rebuilt.
521         * Makefile.am (EXTRA_DIST): Add darwin64.S
522         * Makefile.in: Rebuilt.
523         * testsuite/lib/libffi-dg.exp: Remove libstdc++ bits from GCC tree.
524         * LICENSE: Update WARRANTY.
525
526 2008-02-14  Anthony Green  <green@redhat.com>
527
528         * libffi.pc.in (libdir): Fix libdir definition.
529         * configure.ac: Bump version to 2.99.4.
530         * configure: Rebuilt.
531
532 2008-02-14  Anthony Green  <green@redhat.com>
533
534         * README: Update.
535         * libffi.info: New file.
536         * doc/stamp-vti: New file.
537         * configure.ac: Bump version to 2.99.3.
538         * configure: Rebuilt.
539
540 2008-02-14  Anthony Green  <green@redhat.com>
541
542         * Makefile.am (SUBDIRS): Add man dir.
543         * Makefile.in: Rebuilt.
544         * configure.ac: Create Makefile.
545         * configure: Rebuilt.
546         * man/ffi_call.3 man/ffi_prep_cif.3 man/ffi_prep_closure.3
547           man/Makefile.am man/Makefile.in: New files.
548
549 2008-02-14  Tom Tromey  <tromey@redhat.com>
550
551         * aclocal.m4, Makefile.in, configure, fficonfig.h.in: Rebuilt.
552         * mdate-sh, texinfo.tex: New files.
553         * Makefile.am (info_TEXINFOS): New variable.
554         * doc/libffi.texi: New file.
555         * doc/version.texi: Likewise.
556
557 2008-02-14  Anthony Green  <green@redhat.com>
558
559         * Makefile.am (AM_CFLAGS): Don't compile with -D$(TARGET).
560         (lib_LTLIBRARIES): Define.
561         (toolexeclib_LIBRARIES): Undefine.
562         * Makefile.in: Rebuilt.
563         * configure.ac: Reset version to 2.99.1.
564         * configure.in: Rebuilt.
565
566 2008-02-14  Anthony Green  <green@redhat.com>
567
568         * libffi.pc.in: Use @PACKAGE_NAME@ and @PACKAGE_VERSION@.
569         * configure.ac: Reset version to 2.99.1.
570         * configure.in: Rebuilt.
571         * Makefile.am (EXTRA_DIST): Add ChangeLog.libffi.
572         * Makefile.in: Rebuilt.
573         * LICENSE: Update copyright notice.
574
575 2008-02-14  Anthony Green  <green@redhat.com>
576
577         * include/Makefile.am (nodist_includes_HEADERS): Define.  Don't
578         distribute ffitarget.h or ffi.h from the build include dir.
579         * Makefile.in: Rebuilt.
580
581 2008-02-14  Anthony Green  <green@redhat.com>
582
583         * include/Makefile.am (includesdir): Install headers under libdir.
584         (pkgconfigdir): Define. Install libffi.pc.
585         * include/Makefile.in: Rebuilt.
586         * libffi.pc.in: Create.
587         * libtool-version: Increment CURRENT
588         * configure.ac: Add libffi.pc.in
589         * configure: Rebuilt.
590
591 2008-02-03  Anthony Green  <green@redhat.com>
592
593         * include/Makefile.am (includesdir): Fix header install with
594         DESTDIR.
595         * include/Makefile.in: Rebuilt.
596
597 2008-02-03  Timothy Wall  <twall@users.sf.net>
598
599         * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
600           offset based on code pointer, not data pointer.
601
602 2008-02-01  Anthony Green  <green@redhat.com>
603
604         * include/Makefile.am: Fix header installs.
605         * Makefile.am: Ditto.
606         * include/Makefile.in: Rebuilt.
607         * Makefile.in: Ditto.
608
609 2008-02-01  Anthony Green  <green@redhat.com>
610
611         * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL,
612         FFI_INIT_TRAMPOLINE): Revert my broken changes to twall's last
613         patch.
614
615 2008-01-31  Anthony Green  <green@redhat.com>
616
617         * Makefile.am (EXTRA_DIST): Add missing files.
618         * testsuite/Makefile.am: Ditto.
619         * Makefile.in, testsuite/Makefile.in: Rebuilt.
620
621 2008-01-31  Timothy Wall <twall@users.sf.net>
622
623         * testsuite/libffi.call/closure_stdcall.c: Add test for stdcall
624         closures.
625         * src/x86/ffitarget.h: Increase size of trampoline for stdcall
626         closures.
627         * src/x86/win32.S: Add assembly for stdcall closure.
628         * src/x86/ffi.c: Initialize stdcall closure trampoline.
629
630 2008-01-30  H.J. Lu <hongjiu.lu@intel.com>
631
632         PR libffi/34612
633         * src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
634         returning struct.
635
636         * testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
637         tests.
638
639 2008-01-30  Anthony Green  <green@redhat.com>
640
641         * Makefile.am, include/Makefile.am: Move headers to
642         libffi_la_SOURCES for new automake.
643         * Makefile.in, include/Makefile.in: Rebuilt.
644         
645         * testsuite/lib/wrapper.exp: Copied from gcc tree to allow for 
646         execution outside of gcc tree.
647         * testsuite/lib/target-libpath.exp: Ditto.
648
649         * testsuite/lib/libffi-dg.exp: Many changes to allow for execution
650         outside of gcc tree.
651