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