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