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