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