~ubuntu-branches/ubuntu/natty/libffi/natty

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