]> git.ipfire.org Git - thirdparty/gcc.git/blame - libffi/ChangeLog
* config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
[thirdparty/gcc.git] / libffi / ChangeLog
CommitLineData
f20459f1
RE
12004-10-27 Richard Earnshaw <rearnsha@arm.com>
2
3 * src/arm/ffi.c (ffi_prep_cif_machdep): Handle functions that return
4 long long values. Round stack allocation to a multiple of 8 bytes
5 for ATPCS compatibility.
6 * src/arm/sysv.S (ffi_call_SYSV): Rework to avoid use of APCS register
7 names. Handle returning long long types. Add Thumb and interworking
8 support. Improve soft-float code.
9
fdc69597
RE
102004-10-27 Richard Earnshaw <rearnsha@arm.com>
11
12 * testsuite/lib/libffi-db.exp (load_gcc_lib): New function.
13 (libffi_exit): New function.
14 (libffi_init): Build the testglue wrapper if needed.
15
1e02510f
EB
162004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
17
18 PR other/18138
19 * testsuite/lib/libffi-dg.exp: Accept more than one multilib libgcc.
20
d9a193b2
KI
212004-10-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
22
23 * src/m32r/libffitarget.h (FFI_CLOSURES): Set to 0.
24
1fddb058
KK
252004-10-20 Kaz Kojima <kkojima@gcc.gnu.org>
26
27 * src/sh/sysv.S (ffi_call_SYSV): Don't align for double data.
28 * testsuite/libffi.call/float3.c: New test case.
29
e0d3b452
KK
302004-10-18 Kaz Kojima <kkojima@gcc.gnu.org>
31
32 * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for
33 the function returning a structure pointed with R2.
34 * src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to
35 the structure return value if T bit set. Emit position
36 independent code and EH data if PIC.
37
a472e9d4
KI
382004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
39
40 * Makefile.am: Add m32r support.
41 * configure.ac: Likewise.
42 * Makefile.in: Regenerate.
43 * confiugre: Regenerate.
44 * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF
45 (uint64, sint64, double, longdouble)
46 * src/m32r: New directory.
47 * src/m32r/ffi.c: New file.
48 * src/m32r/sysv.S: Likewise.
49 * src/m32r/ffitarget.h: Likewise.
50
3d47e9ca
KK
512004-10-02 Kaz Kojima <kkojima@gcc.gnu.org>
52
53 * testsuite/libffi.call/negint.c: New test case.
54
fc9051dd
L
552004-09-14 H.J. Lu <hongjiu.lu@intel.com>
56
57 PR libgcj/17465
58 * testsuite/lib/libffi-dg.exp: Don't use global ld_library_path.
59 Set up LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
60 LD_LIBRARY64_PATH, LD_LIBRARY_PATH_32, LD_LIBRARY_PATH_64 and
61 DYLD_LIBRARY_PATH.
62
2010caea
AT
632004-09-05 Andreas Tobler <a.tobler@schweiz.ch>
64
65 * testsuite/libffi.call/many_win32.c: Remove whitespaces.
66 * testsuite/libffi.call/promotion.c: Likewise.
67 * testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
68 whitespaces.
69 * testsuite/libffi.call/return_sc.c: Likewise.
70 * testsuite/libffi.call/return_uc.c: Likewise.
71
894be816
AT
722004-09-05 Andreas Tobler <a.tobler@schweiz.ch>
73
74 * src/powerpc/darwin.S: Fix comments and identation.
75 * src/powerpc/darwin_closure.S: Likewise.
76
2fe7404a
AT
772004-09-02 Andreas Tobler <a.tobler@schweiz.ch>
78
79 * src/powerpc/ffi_darwin.c: Add flag for longdouble return values.
80 (ffi_prep_args): Handle longdouble arguments.
81 (ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for
82 longdouble.
83 (ffi_closure_helper_DARWIN): Add closure handling for longdouble.
84 * src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble
85 values.
86 * src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise.
87 * src/types.c: Defined longdouble size and alignment for darwin.
88
16070e45
AT
892004-09-02 Andreas Tobler <a.tobler@schweiz.ch>
90
91 * src/powerpc/aix.S: Remove whitespaces.
92 * src/powerpc/aix_closure.S: Likewise.
93 * src/powerpc/asm.h: Likewise.
94 * src/powerpc/ffi.c: Likewise.
95 * src/powerpc/ffitarget.h: Likewise.
96 * src/powerpc/linux64.S: Likewise.
97 * src/powerpc/linux64_closure.S: Likewise.
98 * src/powerpc/ppc_closure.S: Likewise.
99 * src/powerpc/sysv.S: Likewise.
100
88d8c771
AG
1012004-08-30 Anthony Green <green@redhat.com>
102
103 * Makefile.am: Add frv support.
104 * Makefile.in, testsuite/Makefile.in: Rebuilt.
105 * configure.ac: Read configure.host.
106 * configure.in: Read configure.host.
107 * configure.host: New file. frv-elf needs libgloss.
108 * include/ffi.h.in: Force ffi_closure to have a nice big (8)
a23adb4d 109 alignment. This is needed to frv and shouldn't harm the others.
88d8c771
AG
110 * include/ffi_common.h (ALIGN_DOWN): New macro.
111 * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files.
112
4c5f37d5
DD
1132004-08-24 David Daney <daney@avtrex.com>
114
115 * testsuite/libffi.call/closure_fn0.c: Xfail mips64* instead of mips*.
116 * testsuite/libffi.call/closure_fn1.c: Likewise.
117 * testsuite/libffi.call/closure_fn2.c Likewise.
118 * testsuite/libffi.call/closure_fn3.c: Likewise.
119 * testsuite/libffi.call/closure_fn4.c: Likewise.
120 * testsuite/libffi.call/closure_fn5.c: Likewise.
121 * testsuite/libffi.call/cls_18byte.c: Likewise.
122 * testsuite/libffi.call/cls_19byte.c: Likewise.
123 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
124 * testsuite/libffi.call/cls_20byte.c: Likewise.
125 * testsuite/libffi.call/cls_20byte1.c: Likewise.
126 * testsuite/libffi.call/cls_24byte.c: Likewise.
127 * testsuite/libffi.call/cls_2byte.c: Likewise.
128 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
129 * testsuite/libffi.call/cls_3byte1.c: Likewise.
130 * testsuite/libffi.call/cls_3byte2.c: Likewise.
131 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
132 * testsuite/libffi.call/cls_4byte.c: Likewise.
133 * testsuite/libffi.call/cls_64byte.c: Likewise.
134 * testsuite/libffi.call/cls_6byte.c: Likewise.
135 * testsuite/libffi.call/cls_7byte.c: Likewise.
136 * testsuite/libffi.call/cls_8byte.c: Likewise.
137 * testsuite/libffi.call/cls_9byte1.c: Likewise.
138 * testsuite/libffi.call/cls_9byte2.c: Likewise.
139 * testsuite/libffi.call/cls_align_double.c: Likewise.
140 * testsuite/libffi.call/cls_align_float.c: Likewise.
141 * testsuite/libffi.call/cls_align_longdouble.c: Likewise.
142 * testsuite/libffi.call/cls_align_pointer.c: Likewise.
143 * testsuite/libffi.call/cls_align_sint16.c: Likewise.
144 * testsuite/libffi.call/cls_align_sint32.c: Likewise.
145 * testsuite/libffi.call/cls_align_sint64.c: Likewise.
146 * testsuite/libffi.call/cls_align_uint16.c: Likewise.
147 * testsuite/libffi.call/cls_align_uint32.c: Likewise.
148 * testsuite/libffi.call/cls_align_uint64.c: Likewise.
149 * testsuite/libffi.call/cls_double.c: Likewise.
150 * testsuite/libffi.call/cls_float.c: Likewise.
151 * testsuite/libffi.call/cls_multi_schar.c: Likewise.
152 * testsuite/libffi.call/cls_multi_sshort.c: Likewise.
153 * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
154 * testsuite/libffi.call/cls_multi_uchar.c: Likewise.
155 * testsuite/libffi.call/cls_multi_ushort.c: Likewise.
156 * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
157 * testsuite/libffi.call/cls_schar.c: Likewise.
158 * testsuite/libffi.call/cls_sint.c: Likewise.
159 * testsuite/libffi.call/cls_sshort.c: Likewise.
160 * testsuite/libffi.call/cls_uchar.c: Likewise.
161 * testsuite/libffi.call/cls_uint.c: Likewise.
162 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
163 * testsuite/libffi.call/cls_ushort.c: Likewise.
164 * testsuite/libffi.call/nested_struct.c: Likewise.
165 * testsuite/libffi.call/nested_struct1.c: Likewise.
166 * testsuite/libffi.call/nested_struct2.c: Likewise.
167 * testsuite/libffi.call/nested_struct3.c: Likewise.
168 * testsuite/libffi.call/problem1.c: Likewise.
169 * testsuite/libffi.special/unwindtest.cc: Likewise.
170 * testsuite/libffi.call/cls_12byte.c: Likewise and set return value
171 to zero.
172 * testsuite/libffi.call/cls_16byte.c: Likewise.
173 * testsuite/libffi.call/cls_5byte.c: Likewise.
174
39dca114
DD
1752004-08-23 David Daney <daney@avtrex.com>
176
177 PR libgcj/13141
178 * src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI.
179 * src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
180 (ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point
181 parameters and return types.
182 (ffi_call): Handle FFI_O32_SOFT_FLOAT ABI.
183 (ffi_prep_closure): Ditto.
184 (ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix
185 alignment calculations.
186 * src/mips/o32.S (ffi_closure_O32): Don't use floating point
187 instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant.
188
b790003a
CM
1892004-08-14 Casey Marshall <csm@gnu.org>
190
191 * src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
192 contain `FFI_TYPE_UINT64' as return type for any 64-bit
193 integer (O32 ABI only).
194 (ffi_prep_closure): new function.
195 (ffi_closure_mips_inner_O32): new function.
196 * src/mips/ffitarget.h: Define `FFI_CLOSURES' and
197 `FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32.
198 * src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return
199 64 bit integers correctly.
200 (ffi_closure_O32): new function.
201 Added DWARF-2 unwind info for both functions.
202
547d71a1
AH
2032004-08-10 Andrew Haley <aph@redhat.com>
204
205 * src/x86/ffi64.c (ffi_prep_args ): 8-align all stack arguments.
206
98a5bb3b
RM
2072004-08-01 Robert Millan <robertmh@gnu.org>
208
209 * configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
210 * configure: Regenerate.
211
4d447364
MR
2122004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
213
214 * acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
215 and mmap() explicitly instead of relying on preset autoconf cache
216 variables.
217 * aclocal.m4: Regenerate.
218 * configure: Regenerate.
219
e5dce82f
UW
2202004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
221
222 * src/s390/ffi.c (ffi_prep_args): Fix C aliasing violation.
223 (ffi_check_float_struct): Remove unused prototype.
224
e6a0022b
GK
2252004-06-30 Geoffrey Keating <geoffk@apple.com>
226
227 * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
228 character on Darwin, use '\n\t' instead.
229
5a2d52ca
MK
2302004-06-26 Matthias Klose <doko@debian.org>
231
232 * libtool-version: Fix typo in revision/age.
233
401844ef
MK
2342004-06-17 Matthias Klose <doko@debian.org>
235
236 * libtool-version: New.
237 * Makefile.am (libffi_la_LDFLAGS): Use -version-info for soname.
238 * Makefile.in: Regenerate.
239
94632047 2402004-06-15 Paolo Bonzini <bonzini@gnu.org>
076e5443
PB
241
242 * Makefile.am: Remove useless multilib rules.
243 * Makefile.in: Regenerate.
244 * aclocal.m4: Regenerate with automake 1.8.5.
245 * configure.ac: Remove useless multilib configury.
246 * configure: Regenerate.
247
94632047 2482004-06-15 Paolo Bonzini <bonzini@gnu.org>
9ac926b1
PB
249
250 * .cvsignore: New file.
251
37c849e4
JJ
2522004-06-10 Jakub Jelinek <jakub@redhat.com>
253
254 * src/ia64/unix.S (ffi_call_unix): Insert group barrier break
255 fp_done.
256 (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever
257 changed from 8.
258
cb623172
SM
2592004-06-06 Sean McNeil <sean@mcneil.com>
260
261 * configure.ac: Add x86_64-*-freebsd* support.
262 * configure: Regenerate.
263
c9b93377
JB
2642004-04-26 Joe Buck <jbuck@welsh-buck.org>
265
266 Bug 15093
267 * configure.ac: Test for existence of mmap and sys/mman.h before
268 checking blacklist. Fix suggested by Jim Wilson.
269 * configure: Regenerate.
270
cf90fd1b
MA
2712004-04-26 Matt Austern <austern@apple.com>
272
273 * src/powerpc/darwin.S: Go through a non-lazy pointer for initial
274 FDE location.
275 * src/powerpc/darwin_closure.S: Likewise.
276
67781b44
AT
2772004-04-24 Andreas Tobler <a.tobler@schweiz.ch>
278
279 * testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization
280 error. Reported by Thomas Heller <theller@python.net>.
281 * testsuite/libffi.call/cls_multi_sshort.c (main): Likewise.
282 * testsuite/libffi.call/cls_multi_ushort.c (main): Likewise.
283
14b078a8
MK
2842004-03-20 Matthias Klose <doko@debian.org>
285
286 * src/pa/linux.S: Fix typo.
287
d65a810f
MK
2882004-03-19 Matthias Klose <doko@debian.org>
289
67781b44 290 * Makefile.am: Update.
d65a810f
MK
291 * Makefile.in: Regenerate.
292 * src/pa/ffi.h.in: Remove.
293 * src/pa/ffitarget.h: New file.
294
2952004-02-10 Randolph Chung <tausq@debian.org>
296
297 * Makefile.am: Add PA support.
298 * Makefile.in: Regenerate.
299 * include/Makefile.in: Regenerate.
300 * configure.ac: Add PA target.
301 * configure: Regenerate.
302 * src/pa/ffi.c: New file.
303 * src/pa/ffi.h.in: Add PA support.
304 * src/pa/linux.S: New file.
305 * prep_cif.c: Add PA support.
306
09cababc
HY
3072004-03-16 Hosaka Yuji <hos@tamanegi.org>
308
309 * src/types.c: Fix alignment size of X86_WIN32 case int64 and
310 double.
311 * src/x86/ffi.c (ffi_prep_args): Replace ecif->cif->rtype->type
312 with ecif->cif->flags.
313 (ffi_call, ffi_prep_incoming_args_SYSV): Replace cif->rtype->type
314 with cif->flags.
315 (ffi_prep_cif_machdep): Add X86_WIN32 struct case.
316 (ffi_closure_SYSV): Add 1 or 2-bytes struct case for X86_WIN32.
317 * src/x86/win32.S (retstruct1b, retstruct2b, sc_retstruct1b,
318 sc_retstruct2b): Add for 1 or 2-bytes struct case.
319
0e8d0c5f
KC
3202004-03-15 Kelley Cook <kcook@gcc.gnu.org>
321
322 * configure.in: Rename file to ...
323 * configure.ac: ... this.
324 * fficonfig.h.in: Regenerate.
325 * Makefile.in: Regenerate.
326 * include/Makefile.in: Regenerate.
327 * testsuite/Makefile.in: Regenerate.
328
b8d50739
MA
3292004-03-12 Matt Austern <austern@apple.com>
330
331 * src/powerpc/darwin.S: Fix EH information so it corresponds to
332 changes in EH format resulting from addition of linkonce support.
333 * src/powerpc/darwin_closure.S: Likewise.
09cababc 334
3ed8e5b6
AT
3352004-03-11 Andreas Tobler <a.tobler@schweiz.ch>
336 Paolo Bonzini <bonzini@gnu.org>
337
338 * Makefile.am (AUTOMAKE_OPTIONS): Set them.
339 Remove VPATH. Remove rules for object files. Remove multilib support.
340 (AM_CCASFLAGS): Add.
341 * configure.in (AC_CONFIG_HEADERS): Relace AM_CONFIG_HEADER.
342 (AC_PREREQ): Bump version to 2.59.
343 (AC_INIT): Fill with version info and bug address.
344 (ORIGINAL_LD_FOR_MULTILIBS): Remove.
345 (AM_ENABLE_MULTILIB): Use this instead of AC_ARG_ENABLE.
346 De-precious CC so that the right flags are passed down to multilibs.
347 (AC_MSG_ERROR): Replace obsolete macro AC_ERROR.
348 (AC_CONFIG_FILES): Replace obsolete macro AC_LINK_FILES.
349 (AC_OUTPUT): Reorganize the output with AC_CONFIG_COMMANDS.
350 * configure: Rebuilt.
351 * aclocal.m4: Likewise.
352 * Makefile.in, include/Makefile.in, testsuite/Makefile.in: Likewise.
353 * fficonfig.h.in: Likewise.
354
254ea477
AS
3552004-03-11 Andreas Schwab <schwab@suse.de>
356
357 * src/ia64/ffi.c (ffi_prep_incoming_args_UNIX): Get floating point
358 arguments from fp registers only for the first 8 parameter slots.
359 Don't convert a float parameter when passed in memory.
360
3beb1315
HPN
3612004-03-09 Hans-Peter Nilsson <hp@axis.com>
362
363 * configure: Regenerate for config/accross.m4 correction.
364
fecf735c
MK
3652004-02-25 Matt Kraai <kraai@alumni.cmu.edu>
366
367 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Change
368 ecif->cif->bytes to bytes.
369 (ffi_prep_cif_machdep): Add braces around nested if statement.
370
4243752c
AM
3712004-02-09 Alan Modra <amodra@bigpond.net.au>
372
12001e0f
AM
373 * src/types.c (pointer): POWERPC64 has 8 byte pointers.
374
4243752c
AM
375 * src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling.
376 (ffi_closure_helper_LINUX64): Fix typo.
377 * testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128
378 for powerpc64-*-*.
379 * testsuite/libffi.call/float.c: Likewise.
380 * testsuite/libffi.call/float2.c: Likewise.
381
bf310028
AM
3822004-02-08 Alan Modra <amodra@bigpond.net.au>
383
384 * src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct
385 long double function return and long double arg handling.
386 (ffi_closure_helper_LINUX64): Formatting. Delete unused "ng" var.
387 Use "end_pfr" instead of "nf". Correct long double handling.
388 Localise "temp".
389 * src/powerpc/linux64.S (ffi_call_LINUX64): Save f2 long double
390 return value.
391 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Allocate
392 space for long double return value. Adjust stack frame and offsets.
393 Load f2 long double return.
394
dd5f9ea2
AM
3952004-02-07 Alan Modra <amodra@bigpond.net.au>
396
397 * src/types.c: Use 16 byte long double for POWERPC64.
398
0ce78f01
EB
3992004-01-25 Eric Botcazou <ebotcazou@libertysurf.fr>
400
401 * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
402 when the structure return address is passed in %o0.
403 (ffi_V9_return_struct): Rename into ffi_v9_layout_struct.
404 (ffi_v9_layout_struct): Align the field following a nested structure
405 on a word boundary. Use memmove instead of memcpy.
406 (ffi_call): Update call to ffi_V9_return_struct.
407 (ffi_prep_closure): Define 'ctx' only for V8.
408 (ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8
409 and ffi_closure_sparc_inner_v9.
410 (ffi_closure_sparc_inner_v8): Return long doubles by reference.
411 Always skip the structure return address. For structures and long
412 doubles, copy the argument directly.
413 (ffi_closure_sparc_inner_v9): Skip the structure return address only
414 if required. Shift the maximum floating-point slot accordingly. For
415 big structures, copy the argument directly; otherwise, left-justify the
416 argument and call ffi_v9_layout_struct to lay out the structure on
417 the stack.
418 * src/sparc/v8.S: Undef STACKFRAME before defining it.
419 (ffi_closure_v8): Pass the structure return address. Update call to
420 ffi_closure_sparc_inner_v8. Short-circuit FFI_TYPE_INT handling.
421 Skip the 'unimp' insn when returning long doubles and structures.
422 * src/sparc/v9.S: Undef STACKFRAME before defining it.
423 (ffi_closure_v9): Increase the frame size by 2 words. Short-circuit
424 FFI_TYPE_INT handling. Load structures both in integers and
425 floating-point registers on return.
426 * README: Update status of the SPARC port.
427
7fcc1d9b
AT
4282004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
429
430 * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
431 as of type ffi_arg.
432 * testsuite/libffi.call/struct3.c (main): Fix CHECK.
433
6ed0ecaf
UW
4342004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
435
436 * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
437 value as of type ffi_arg, not unsigned int.
438
c930d8a5
MR
4392004-01-21 Michael Ritzert <ritzert@t-online.de>
440
441 * ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
442 of the LHS.
443
7b2e3e60
AT
4442004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
445
446 * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
447 Solaris.
448
2e89756b
RO
4492004-01-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
450
451 * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
452 to void *.
453
628b26f8
RH
4542003-12-10 Richard Henderson <rth@redhat.com>
455
456 * testsuite/libffi.call/cls_align_pointer.c: Cast pointers to
457 size_t instead of int.
458
0ee646d6
HY
4592003-12-04 Hosaka Yuji <hos@tamanegi.org>
460
461 * testsuite/libffi.call/many_win32.c: Include <float.h>.
462 * testsuite/libffi.call/many_win32.c (main): Replace variable
463 int i with unsigned long ul.
464
465 * testsuite/libffi.call/cls_align_uint64.c: New test case.
466 * testsuite/libffi.call/cls_align_sint64.c: Likewise.
467 * testsuite/libffi.call/cls_align_uint32.c: Likewise.
468 * testsuite/libffi.call/cls_align_sint32.c: Likewise.
469 * testsuite/libffi.call/cls_align_uint16.c: Likewise.
470 * testsuite/libffi.call/cls_align_sint16.c: Likewise.
471 * testsuite/libffi.call/cls_align_float.c: Likewise.
472 * testsuite/libffi.call/cls_align_double.c: Likewise.
473 * testsuite/libffi.call/cls_align_longdouble.c: Likewise.
474 * testsuite/libffi.call/cls_align_pointer.c: Likewise.
475
2c4ed456
HY
4762003-12-02 Hosaka Yuji <hos@tamanegi.org>
477
478 PR other/13221
479 * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV):
480 Align arguments to 32 bits.
481
d18c3386
AT
4822003-12-01 Andreas Tobler <a.tobler@schweiz.ch>
483
484 PR other/13221
485 * testsuite/libffi.call/cls_multi_sshort.c: New test case.
486 * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
487 * testsuite/libffi.call/cls_multi_uchar.c: Likewise.
488 * testsuite/libffi.call/cls_multi_schar.c: Likewise.
489 * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
490 * testsuite/libffi.call/cls_multi_ushort.c: Likewise.
491
492 * testsuite/libffi.special/unwindtest.cc: Cosmetics.
493
88096b2a
KG
4942003-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
495
496 * testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
497 * testsuite/libffi.special/ffitestcxx.h: Likewise.
498
3eee102e
AT
4992003-11-22 Andreas Tobler <a.tobler@schweiz.ch>
500
501 * Makefile.in: Rebuilt.
502 * configure: Likewise.
503 * testsuite/libffi.special/unwindtest.cc: Convert the mmap to
504 the right type.
505
5196736e
AJ
5062003-11-21 Andreas Jaeger <aj@suse.de>
507 Andreas Tobler <a.tobler@schweiz.ch>
508
509 * acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
510 * configure.in: Call AC_FUNC_MMAP_BLACKLIST.
511 * Makefile.in: Rebuilt.
512 * aclocal.m4: Likewise.
513 * configure: Likewise.
514 * fficonfig.h.in: Likewise.
515 * testsuite/lib/libffi-dg.exp: Add include dir.
516 * testsuite/libffi.call/ffitest.h: Add MMAP definitions.
517 * testsuite/libffi.special/ffitestcxx.h: Likewise.
518 * testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
519 for ffi_closure if available.
520 * testsuite/libffi.call/closure_fn1.c: Likewise.
521 * testsuite/libffi.call/closure_fn2.c: Likewise.
522 * testsuite/libffi.call/closure_fn3.c: Likewise.
523 * testsuite/libffi.call/closure_fn4.c: Likewise.
524 * testsuite/libffi.call/closure_fn5.c: Likewise.
525 * testsuite/libffi.call/cls_12byte.c: Likewise.
526 * testsuite/libffi.call/cls_16byte.c: Likewise.
527 * testsuite/libffi.call/cls_18byte.c: Likewise.
528 * testsuite/libffi.call/cls_19byte.c: Likewise.
529 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
530 * testsuite/libffi.call/cls_20byte.c: Likewise.
531 * testsuite/libffi.call/cls_20byte1.c: Likewise.
532 * testsuite/libffi.call/cls_24byte.c: Likewise.
533 * testsuite/libffi.call/cls_2byte.c: Likewise.
534 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
535 * testsuite/libffi.call/cls_3byte1.c: Likewise.
536 * testsuite/libffi.call/cls_3byte2.c: Likewise.
537 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
538 * testsuite/libffi.call/cls_4byte.c: Likewise.
539 * testsuite/libffi.call/cls_5byte.c: Likewise.
540 * testsuite/libffi.call/cls_64byte.c: Likewise.
541 * testsuite/libffi.call/cls_6byte.c: Likewise.
542 * testsuite/libffi.call/cls_7byte.c: Likewise.
543 * testsuite/libffi.call/cls_8byte.c: Likewise.
544 * testsuite/libffi.call/cls_9byte1.c: Likewise.
545 * testsuite/libffi.call/cls_9byte2.c: Likewise.
546 * testsuite/libffi.call/cls_double.c: Likewise.
547 * testsuite/libffi.call/cls_float.c: Likewise.
548 * testsuite/libffi.call/cls_schar.c: Likewise.
549 * testsuite/libffi.call/cls_sint.c: Likewise.
550 * testsuite/libffi.call/cls_sshort.c: Likewise.
551 * testsuite/libffi.call/cls_uchar.c: Likewise.
552 * testsuite/libffi.call/cls_uint.c: Likewise.
553 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
554 * testsuite/libffi.call/cls_ushort.c: Likewise.
555 * testsuite/libffi.call/nested_struct.c: Likewise.
556 * testsuite/libffi.call/nested_struct1.c: Likewise.
557 * testsuite/libffi.call/nested_struct2.c: Likewise.
558 * testsuite/libffi.call/nested_struct3.c: Likewise.
559 * testsuite/libffi.call/problem1.c: Likewise.
560 * testsuite/libffi.special/unwindtest.cc: Likewise.
561
9e6c3ecb
AT
5622003-11-20 Andreas Tobler <a.tobler@schweiz.ch>
563
564 * testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.
565
70d8f2a1
AT
5662003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
567
568 * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
569 Add -lgcc_s to additional flags.
570
ea81d2a3
AT
5712003-11-12 Andreas Tobler <a.tobler@schweiz.ch>
572
573 * configure.in, include/Makefile.am: PR libgcj/11147, install
574 the ffitarget.h header file in a gcc versioned and target
575 dependent place.
576 * configure: Regenerated.
577 * Makefile.in, include/Makefile.in: Likewise.
578 * testsuite/Makefile.in: Likewise.
579
647af4a9
AT
5802003-11-09 Andreas Tobler <a.tobler@schweiz.ch>
581
582 * testsuite/libffi.call/closure_fn0.c: Print result and check
583 with dg-output to make debugging easier.
584 * testsuite/libffi.call/closure_fn1.c: Likewise.
585 * testsuite/libffi.call/closure_fn2.c: Likewise.
586 * testsuite/libffi.call/closure_fn3.c: Likewise.
587 * testsuite/libffi.call/closure_fn4.c: Likewise.
588 * testsuite/libffi.call/closure_fn5.c: Likewise.
589 * testsuite/libffi.call/cls_12byte.c: Likewise.
590 * testsuite/libffi.call/cls_16byte.c: Likewise.
591 * testsuite/libffi.call/cls_18byte.c: Likewise.
592 * testsuite/libffi.call/cls_19byte.c: Likewise.
593 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
594 * testsuite/libffi.call/cls_20byte.c: Likewise.
595 * testsuite/libffi.call/cls_20byte1.c: Likewise.
596 * testsuite/libffi.call/cls_24byte.c: Likewise.
597 * testsuite/libffi.call/cls_2byte.c: Likewise.
598 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
599 * testsuite/libffi.call/cls_3byte1.c: Likewise.
600 * testsuite/libffi.call/cls_3byte2.c: Likewise.
601 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
602 * testsuite/libffi.call/cls_4byte.c: Likewise.
603 * testsuite/libffi.call/cls_5byte.c: Likewise.
604 * testsuite/libffi.call/cls_64byte.c: Likewise.
605 * testsuite/libffi.call/cls_6byte.c: Likewise.
606 * testsuite/libffi.call/cls_7byte.c: Likewise.
607 * testsuite/libffi.call/cls_8byte.c: Likewise.
608 * testsuite/libffi.call/cls_9byte1.c: Likewise.
609 * testsuite/libffi.call/cls_9byte2.c: Likewise.
610 * testsuite/libffi.call/cls_double.c: Likewise.
611 * testsuite/libffi.call/cls_float.c: Likewise.
612 * testsuite/libffi.call/cls_schar.c: Likewise.
613 * testsuite/libffi.call/cls_sint.c: Likewise.
614 * testsuite/libffi.call/cls_sshort.c: Likewise.
615 * testsuite/libffi.call/cls_uchar.c: Likewise.
616 * testsuite/libffi.call/cls_uint.c: Likewise.
617 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
618 * testsuite/libffi.call/cls_ushort.c: Likewise.
619 * testsuite/libffi.call/problem1.c: Likewise.
620
621 * testsuite/libffi.special/unwindtest.cc: Make ffi_closure
622 static.
623
ac47cc13
AT
6242003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
625
626 * testsuite/libffi.call/cls_9byte2.c: New test case.
627 * testsuite/libffi.call/cls_9byte1.c: Likewise.
628 * testsuite/libffi.call/cls_64byte.c: Likewise.
629 * testsuite/libffi.call/cls_20byte1.c: Likewise.
630 * testsuite/libffi.call/cls_19byte.c: Likewise.
631 * testsuite/libffi.call/cls_18byte.c: Likewise.
632 * testsuite/libffi.call/closure_fn4.c: Likewise.
633 * testsuite/libffi.call/closure_fn5.c: Likewise.
634 * testsuite/libffi.call/cls_schar.c: Likewise.
635 * testsuite/libffi.call/cls_sint.c: Likewise.
636 * testsuite/libffi.call/cls_sshort.c: Likewise.
637 * testsuite/libffi.call/nested_struct2.c: Likewise.
638 * testsuite/libffi.call/nested_struct3.c: Likewise.
639
f145ed6b
AT
6402003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
641
642 * testsuite/libffi.call/cls_double.c: Do a check on the result.
643 * testsuite/libffi.call/cls_uchar.c: Likewise.
644 * testsuite/libffi.call/cls_uint.c: Likewise.
645 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
646 * testsuite/libffi.call/cls_ushort.c: Likewise.
647 * testsuite/libffi.call/return_sc.c: Cleanup whitespaces.
648
2b04d015
AT
6492003-11-06 Andreas Tobler <a.tobler@schweiz.ch>
650
651 * src/prep_cif.c (ffi_prep_cif): Move the validity check after
652 the initialization.
653
57f542b3
AT
6542003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
655
2b04d015 656 * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
57f542b3
AT
657 FFI_ASSERT(FALSE) with FFI_ASSERT(0).
658
e61acf72
DD
6592003-10-22 David Daney <ddaney@avtrex.com>
660
661 * src/mips/ffitarget.h: Replace undefined UINT32 and friends with
662 __attribute__((__mode__(__SI__))) and friends.
663
2461c08b
AS
6642003-10-22 Andreas Schwab <schwab@suse.de>
665
666 * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
667
1450eb7a
AT
6682003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
669
670 * configure.in: AC_LINK_FILES(ffitarget.h).
671 * configure: Regenerate.
672 * Makefile.in: Likewise.
673 * include/Makefile.in: Likewise.
674 * testsuite/Makefile.in: Likewise.
675 * fficonfig.h.in: Likewise.
676
6772003-10-21 Paolo Bonzini <bonzini@gnu.org>
678 Richard Henderson <rth@redhat.com>
679
680 Avoid that ffi.h includes fficonfig.h.
681
682 * Makefile.am (EXTRA_DIST): Include ffitarget.h files
683 (TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
684 (TARGET_SRC_MIPS_SGI): Removed.
685 (MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
686 (MIPS_SGI): Removed.
687 (CLEANFILES): Removed.
688 (mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
689 targets.
690 * acconfig.h: Removed.
691 * configure.in: Compute sizeofs only for double and long double.
692 Use them to define and subst HAVE_LONG_DOUBLE. Include comments
693 into AC_DEFINE instead of using acconfig.h. Create
694 include/ffitarget.h instead of include/fficonfig.h. Rename
695 MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
696 AC_DEFINE EH_FRAME_FLAGS.
697 * include/Makefile.am (DISTCLEANFILES): New automake macro.
698 (hack_DATA): Add ffitarget.h.
699 * include/ffi.h.in: Remove all system specific definitions.
700 Declare raw API even if it is not installed, why bother?
701 Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
702 not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
703 ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
704 (UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
705 * include/ffi_common.h (bool): Do not define.
706 (ffi_assert): Accept failed assertion.
707 (ffi_type_test): Return void and accept file/line.
708 (FFI_ASSERT): Pass stringized failed assertion.
709 (FFI_ASSERT_AT): New macro.
710 (FFI_ASSERT_VALID_TYPE): New macro.
711 (UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
712 UINT64, SINT64): Define here with gcc's __attribute__ macro
713 instead of in ffi.h
714 (FLOAT32, ALIGN): Define here instead of in ffi.h
715 * include/ffi-mips.h: Removed. Its content moved to
716 src/mips/ffitarget.h after separating assembly and C sections.
717 * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
718 src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
719 src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
720 src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
721 SIZEOF_ARG -> FFI_SIZEOF_ARG.
722 * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
723 * src/debug.c (ffi_assert): Accept stringized failed assertion.
724 (ffi_type_test): Rewritten.
725 * src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
726 FFI_ASSERT_VALID_TYPE.
727 * src/alpha/ffitarget.h, src/arm/ffitarget.h,
728 src/ia64/ffitarget.h, src/m68k/ffitarget.h,
729 src/mips/ffitarget.h, src/powerpc/ffitarget.h,
730 src/s390/ffitarget.h, src/sh/ffitarget.h,
731 src/sh64/ffitarget.h, src/sparc/ffitarget.h,
732 src/x86/ffitarget.h: New files.
733 * src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
734 src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
735 src/powerpc/aix.S, src/powerpc/darwin.S,
736 src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
737 src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
738 src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
739 src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
740 src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
741 include fficonfig.h
742
27d54b2a
RO
7432003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
744
745 * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
746 _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
747
0df6970d
AT
7482003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
749
750 * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
751 Used when FFI_DEBUG = 1.
752
2612ffce
AM
7532003-10-14 Alan Modra <amodra@bigpond.net.au>
754
755 * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
756 and align.
757
d54f7354
RO
7582003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
759
760 * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
761 FFI_MIPS_O32 for O32 ABI.
762
7a54c850
AT
7632003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
764
765 * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
766 SPARC64. Cleanup whitespaces.
767
9e3bfa9b
AT
7682003-09-19 Andreas Tobler <a.tobler@schweiz.ch>
769
770 * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
771 strongarm, xscale. Cleanup whitespaces.
772 * testsuite/libffi.call/closure_fn1.c: Likewise.
773 * testsuite/libffi.call/closure_fn2.c: Likewise.
774 * testsuite/libffi.call/closure_fn3.c: Likewise.
775 * testsuite/libffi.call/cls_12byte.c: Likewise.
776 * testsuite/libffi.call/cls_16byte.c: Likewise.
777 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
778 * testsuite/libffi.call/cls_20byte.c: Likewise.
779 * testsuite/libffi.call/cls_24byte.c: Likewise.
780 * testsuite/libffi.call/cls_2byte.c: Likewise.
781 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
782 * testsuite/libffi.call/cls_3byte1.c: Likewise.
783 * testsuite/libffi.call/cls_3byte2.c: Likewise.
784 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
785 * testsuite/libffi.call/cls_4byte.c: Likewise.
786 * testsuite/libffi.call/cls_5byte.c: Likewise.
787 * testsuite/libffi.call/cls_6byte.c: Likewise.
788 * testsuite/libffi.call/cls_7byte.c: Likewise.
789 * testsuite/libffi.call/cls_8byte.c: Likewise.
790 * testsuite/libffi.call/cls_double.c: Likewise.
791 * testsuite/libffi.call/cls_float.c: Likewise.
792 * testsuite/libffi.call/cls_uchar.c: Likewise.
793 * testsuite/libffi.call/cls_uint.c: Likewise.
794 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
795 * testsuite/libffi.call/cls_ushort.c: Likewise.
796 * testsuite/libffi.call/nested_struct.c: Likewise.
797 * testsuite/libffi.call/nested_struct1.c: Likewise.
798 * testsuite/libffi.call/problem1.c: Likewise.
799 * testsuite/libffi.special/unwindtest.cc: Likewise.
800 * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.
801
3e86b595
DE
8022003-09-18 David Edelsohn <edelsohn@gnu.org>
803
804 * src/powerpc/aix.S: Cleanup whitespaces.
805 * src/powerpc/aix_closure.S: Likewise.
806
8d8369f8
AT
8072003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
808
809 * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
810 * src/powerpc/darwin_closure.S: Likewise.
811 * src/powerpc/ffi_darwin.c: Likewise.
812
69b182fd
AT
8132003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
814 David Edelsohn <edelsohn@gnu.org>
815
816 * src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
817 * src/powerpc/aix_closure.S: Remove the pointer to the outgoing
818 parameter stack.
819 * src/powerpc/darwin_closure.S: Likewise.
820 * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
821 according to the Darwin/AIX ABI.
822 (ffi_prep_cif_machdep): Likewise.
823 (ffi_closure_helper_DARWIN): Likewise.
824 Remove the outgoing parameter stack logic. Simplify the evaluation
825 of the different CASE types.
826 (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
827 statement in the trampoline code.
828
df805cdc
KK
8292003-09-18 Kaz Kojima <kkojima@gcc.gnu.org>
830
831 * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
832 for the register size.
833 (ffi_closure_helper_SYSV): Handle the structure return value
834 address correctly.
835 (ffi_closure_helper_SYSV): Return the appropriate type when
836 the registers are used for the structure return value.
837 * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
838 the 64-bit return value. Update copyright years.
839
eb26c76c
RO
8402003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
841
842 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
843 srcdir for ffi_mips.h.
844
6350c02c
AM
8452003-09-12 Alan Modra <amodra@bigpond.net.au>
846
847 * src/prep_cif.c (initialize_aggregate): Include tail padding in
848 structure size.
849 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
850 placement of float result.
851 * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct
852 cast of "resp" for big-endian 64 bit machines.
853
5af1c806
AM
8542003-09-11 Alan Modra <amodra@bigpond.net.au>
855
856 * src/types.c (double, longdouble): Merge identical SH and ARM
857 typedefs, and add POWERPC64.
858 * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
859 struct split over gpr and rest.
860 (ffi_prep_cif_machdep): Correct intarg_count for structures.
861 * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.
862
086a4bd7
AT
8632003-09-09 Andreas Tobler <a.tobler@schweiz.ch>
864
865 * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
866 passing correctly.
c930d8a5 867
e517f636
AM
8682003-09-09 Alan Modra <amodra@bigpond.net.au>
869
870 * configure: Regenerate.
871
6f20d627
AT
8722003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
873
874 * Makefile.am: Remove build rules for ffitest.
875 * Makefile.in: Rebuilt.
c930d8a5 876
6f20d627 8772003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
226660af
AT
878
879 * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
880 about implicit declaration of abort().
881
bbf3057b
AT
8822003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
883
884 * Makefile.am: Add dejagnu test framework. Fixes PR other/11411.
885 * Makefile.in: Rebuilt.
886 * configure.in: Add dejagnu test framework.
887 * configure: Rebuilt.
888
889 * testsuite/Makefile.am: New file.
890 * testsuite/Makefile.in: Built
c930d8a5 891 * testsuite/lib/libffi-dg.exp: New file.
bbf3057b
AT
892 * testsuite/config/default.exp: Likewise.
893 * testsuite/libffi.call/call.exp: Likewise.
894 * testsuite/libffi.call/ffitest.h: Likewise.
895 * testsuite/libffi.call/closure_fn0.c: Likewise.
896 * testsuite/libffi.call/closure_fn1.c: Likewise.
897 * testsuite/libffi.call/closure_fn2.c: Likewise.
898 * testsuite/libffi.call/closure_fn3.c: Likewise.
899 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
900 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
901 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
902 * testsuite/libffi.call/cls_2byte.c: Likewise.
903 * testsuite/libffi.call/cls_3byte1.c: Likewise.
904 * testsuite/libffi.call/cls_3byte2.c: Likewise.
905 * testsuite/libffi.call/cls_4byte.c: Likewise.
906 * testsuite/libffi.call/cls_5byte.c: Likewise.
907 * testsuite/libffi.call/cls_6byte.c: Likewise.
908 * testsuite/libffi.call/cls_7byte.c: Likewise.
909 * testsuite/libffi.call/cls_8byte.c: Likewise.
910 * testsuite/libffi.call/cls_12byte.c: Likewise.
911 * testsuite/libffi.call/cls_16byte.c: Likewise.
912 * testsuite/libffi.call/cls_20byte.c: Likewise.
913 * testsuite/libffi.call/cls_24byte.c: Likewise.
914 * testsuite/libffi.call/cls_double.c: Likewise.
915 * testsuite/libffi.call/cls_float.c: Likewise.
916 * testsuite/libffi.call/cls_uchar.c: Likewise.
917 * testsuite/libffi.call/cls_uint.c: Likewise.
918 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
919 * testsuite/libffi.call/cls_ushort.c: Likewise.
920 * testsuite/libffi.call/float.c: Likewise.
921 * testsuite/libffi.call/float1.c: Likewise.
922 * testsuite/libffi.call/float2.c: Likewise.
923 * testsuite/libffi.call/many.c: Likewise.
924 * testsuite/libffi.call/many_win32.c: Likewise.
925 * testsuite/libffi.call/nested_struct.c: Likewise.
926 * testsuite/libffi.call/nested_struct1.c: Likewise.
927 * testsuite/libffi.call/pyobjc-tc.c: Likewise.
928 * testsuite/libffi.call/problem1.c: Likewise.
929 * testsuite/libffi.call/promotion.c: Likewise.
930 * testsuite/libffi.call/return_ll.c: Likewise.
931 * testsuite/libffi.call/return_sc.c: Likewise.
932 * testsuite/libffi.call/return_uc.c: Likewise.
933 * testsuite/libffi.call/strlen.c: Likewise.
934 * testsuite/libffi.call/strlen_win32.c: Likewise.
935 * testsuite/libffi.call/struct1.c: Likewise.
936 * testsuite/libffi.call/struct2.c: Likewise.
937 * testsuite/libffi.call/struct3.c: Likewise.
938 * testsuite/libffi.call/struct4.c: Likewise.
939 * testsuite/libffi.call/struct5.c: Likewise.
940 * testsuite/libffi.call/struct6.c: Likewise.
941 * testsuite/libffi.call/struct7.c: Likewise.
942 * testsuite/libffi.call/struct8.c: Likewise.
c930d8a5 943 * testsuite/libffi.call/struct9.c: Likewise.
bbf3057b
AT
944 * testsuite/libffi.special/special.exp: New file.
945 * testsuite/libffi.special/ffitestcxx.h: Likewise.
946 * testsuite/libffi.special/unwindtest.cc: Likewise.
947
c930d8a5 948
996b4f8f
KK
9492003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
950
951 * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
952 copyright years.
953
b00badcd
AM
9542003-08-02 Alan Modra <amodra@bigpond.net.au>
955
956 * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
957 structure passing.
958 (ffi_closure_helper_LINUX64): Likewise.
959 * src/powerpc/linux64.S: Remove code writing to parm save area.
960 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return
961 address in lr from ffi_closure_helper_LINUX64 call to calculate
962 table address. Optimize function tail.
963
c1516eae
AT
9642003-07-28 Andreas Tobler <a.tobler@schweiz.ch>
965
966 * src/sparc/ffi.c: Handle all floating point registers.
967 * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410.
968
fc0e6222
GP
9692003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
970
971 * README: Note that libffi is not part of GCC. Update the project
972 URL and status.
973
a1569df8
FS
9742003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
975
976 * src/powerpc/ppc_closure.S: Include ffi.h.
977
12e816bf
RO
9782003-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
979
980 * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
981 Use C style comments.
982
e860ed6d
KK
9832003-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
984
985 * Makefile.am: Add SHmedia support. Fix a typo of SH support.
986 * Makefile.in: Regenerate.
987 * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
988 * configure: Regenerate.
989 * include/ffi.h.in: Add SHmedia support.
990 * src/sh64/ffi.c: New file.
991 * src/sh64/sysv.S: New file.
992
a733b15e
JJ
9932003-05-16 Jakub Jelinek <jakub@redhat.com>
994
995 * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
996 should be read-only.
997 * configure: Rebuilt.
998 * fficonfig.h.in: Rebuilt.
999 * include/ffi.h.in (EH_FRAME_FLAGS): Define.
1000 * src/alpha/osf.S: Use EH_FRAME_FLAGS.
1001 * src/powerpc/linux64.S: Likewise.
1002 * src/powerpc/linux64_closure.S: Likewise. Include ffi.h.
1003 * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding
1004 if -fpic/-fPIC/-mrelocatable.
1005 * src/powerpc/powerpc_closure.S: Likewise.
1006 * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
1007 #write in .eh_frame flags.
1008 * src/sparc/v9.S: Likewise.
1009 * src/x86/unix64.S: Use EH_FRAME_FLAGS.
1010 * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC.
1011 * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h.
1012
bd19c9f4
JS
10132003-05-07 Jeff Sturm <jsturm@one-point.com>
1014
1015 Fixes PR bootstrap/10656
1016 * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler
1017 support for .register pseudo-op.
1018 * src/sparc/v8.S: Use it.
1019 * fficonfig.h.in: Rebuilt.
1020 * configure: Rebuilt.
1021
e9b84181
JJ
10222003-04-18 Jakub Jelinek <jakub@redhat.com>
1023
1024 * include/ffi.h.in (POWERPC64): Define if 64-bit.
1025 (enum ffi_abi): Add FFI_LINUX64 on POWERPC.
1026 Make it the default on POWERPC64.
1027 (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
1028 * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
1029 * configure: Rebuilt.
1030 * src/powerpc/ffi.c (hidden): Define.
1031 (ffi_prep_args_SYSV): Renamed from
1032 ffi_prep_args. Cast pointers to unsigned long to shut up warnings.
1033 (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
1034 ASM_NEEDS_REGISTERS64): New.
1035 (ffi_prep_args64): New function.
1036 (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
1037 (ffi_call): Likewise.
1038 (ffi_prep_closure): Likewise.
1039 (flush_icache): Surround by #ifndef POWERPC64.
1040 (ffi_dblfl): New union type.
1041 (ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
1042 (ffi_closure_helper_LINUX64): New function.
1043 * src/powerpc/ppc_closure.S: Surround whole file by #ifndef
1044 __powerpc64__.
1045 * src/powerpc/sysv.S: Likewise.
1046 (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
1047 * src/powerpc/linux64.S: New file.
1048 * src/powerpc/linux64_closure.S: New file.
1049 * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
1050 src/powerpc/linux64_closure.S.
1051 (TARGET_SRC_POWERPC): Likewise.
1052
1053 * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
1054 closure_test_fn3): Fix result printing on big-endian 64-bit
1055 machines.
1056 (main): Print tst2_arg instead of uninitialized tst2_result.
1057
1058 * src/ffitest.c (main): Hide what closure pointer really points to
1059 from the compiler.
1060
908a31e1
RE
10612003-04-16 Richard Earnshaw <rearnsha@arm.com>
1062
1063 * configure.in (arm-*-netbsdelf*): Add configuration.
1064 (configure): Regenerated.
1065
41a73c4c
LR
10662003-04-04 Loren J. Rittle <ljrittle@acm.org>
1067
1068 * include/Makefile.in: Regenerate.
1069
cd41c847
ZD
10702003-03-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1071
1072 * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
1073 bit mode.
1074 * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
1075 Receive closure pointer through parameter, read args using
1076 __builtin_dwarf_cfa.
1077 (FFI_INIT_TRAMPOLINE): Send closure reference through eax.
1078
6db450f9
AS
10792003-03-12 Andreas Schwab <schwab@suse.de>
1080
1081 * configure.in: Avoid trailing /. in toolexeclibdir.
1082 * configure: Rebuilt.
1083
70144e9c
AT
10842003-03-03 Andreas Tobler <a.tobler@schweiz.ch>
1085
1086 * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
1087
79e43f89
AT
10882003-02-06 Andreas Tobler <a.tobler@schweiz.ch>
1089
1090 * libffi/src/powerpc/darwin_closure.S:
1091 Fix alignement bug, allocate 8 bytes for the result.
c930d8a5 1092 * libffi/src/powerpc/aix_closure.S:
79e43f89
AT
1093 Likewise.
1094 * libffi/src/powerpc/ffi_darwin.c:
1095 Update stackframe description for aix/darwin_closure.S.
c930d8a5 1096
0fcc9e55
JJ
10972003-02-06 Jakub Jelinek <jakub@redhat.com>
1098
1099 * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
1100 attribute.
1101
63b87c2e
CC
11022003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>,
1103 Andreas Schwab <schwab@suse.de>
1104
1105 * configure.in: Adjust command to source config-ml.in to account
1106 for changes to the libffi_basedir definition.
1107 (libffi_basedir): Remove ${srcdir} from value and include trailing
1108 slash if nonempty.
c930d8a5 1109
63b87c2e
CC
1110 * configure: Regenerate.
1111
c33402e2
FS
11122003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1113
1114 * src/powerpc/ppc_closure.S: Recode to fit shared libs.
1115
fd2e49b2
AH
11162003-01-28 Andrew Haley <aph@redhat.com>
1117
1118 * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
1119 * src/x86/ffi64.c (ffi_prep_closure): New.
1120 (ffi_closure_UNIX64_inner): New.
1121 * src/x86/unix64.S (ffi_closure_UNIX64): New.
1122
0e292c01
AO
11232003-01-27 Alexandre Oliva <aoliva@redhat.com>
1124
1125 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1126 Remove USE_LIBDIR conditional.
1127 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1128 * Makefile.in, configure: Rebuilt.
1129
acabc220
DE
11302003-01027 David Edelsohn <edelsohn@gnu.org>
1131
1132 * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
1133 * Makefile.in: Regenerate.
1134
be0acd42
AH
11352003-01-22 Andrew Haley <aph@redhat.com>
1136
1137 * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
1138 unwind info.
1139
ed695c8e
AT
11402003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
1141
1142 * src/powerpc/darwin.S: Add unwind info.
1143 * src/powerpc/darwin_closure.S: Likewise.
1144
45ba15f4
AH
11452003-01-14 Andrew Haley <aph@redhat.com>
1146
1147 * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
1148 (ffi_prep_cif_machdep): Likewise.
1149 * src/x86/unix64.S: Add unwind info.
1150
4b5f402e
AJ
11512003-01-14 Andreas Jaeger <aj@suse.de>
1152
1153 * src/ffitest.c (main): Only use ffi_closures if those are
1154 supported.
1155
7b5102af
TT
11562003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
1157
1158 * libffi/src/ffitest.c
1159 add closure testcases
1160
11612003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
1162
1163 * libffi/src/powerpc/ffi.c
1164 fix alignment bug for float (4 byte aligned iso 8 byte)
1165
5f7c78d8
GK
11662003-01-09 Geoffrey Keating <geoffk@apple.com>
1167
1168 * src/powerpc/ffi_darwin.c: Remove RCS version string.
1169 * src/powerpc/darwin.S: Remove RCS version string.
1170
c75c7793
JS
11712003-01-03 Jeff Sturm <jsturm@one-point.com>
1172
1173 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
1174 * src/ffitest.c (main): Use static storage for closure.
1175 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
1176 * src/sparc/v8.S (ffi_closure_v8): New.
1177 * src/sparc/v9.S (ffi_closure_v9): New.
1178
eb3c46a1
RM
11792002-11-10 Ranjit Mathew <rmathew@hotmail.com>
1180
1181 * include/ffi.h.in: Added FFI_STDCALL ffi_type
1182 enumeration for X86_WIN32.
1183 * src/x86/win32.S: Added ffi_call_STDCALL function
1184 definition.
1185 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
1186 switch cases for recognising FFI_STDCALL and
1187 calling ffi_call_STDCALL if target is X86_WIN32.
1188 * src/ffitest.c (my_stdcall_strlen/stdcall_many):
1189 stdcall versions of the "my_strlen" and "many"
1190 test functions (for X86_WIN32).
1191 Added test cases to test stdcall invocation using
1192 these functions.
1193
4977bab6
ZW
11942002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
1195
1196 * src/sh/sysv.S: Add DWARF2 unwind info.
1197
67333e84
UW
11982002-11-27 Ulrich Weigand <uweigand@de.ibm.com>
1199
1200 * src/s390/sysv.S (.eh_frame section): Make section read-only.
1201
bc3cf760
JW
12022002-11-26 Jim Wilson <wilson@redhat.com>
1203
1204 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
1205
4977bab6
ZW
12062002-11-23 H.J. Lu <hjl@gnu.org>
1207
1208 * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
1209 Include ../config/accross.m4.
1210 * aclocal.m4; Rebuild.
1211 * configure: Likewise.
1212
18789f4e
UW
12132002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
1214
1215 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
1216
6bee5372
DD
12172002-11-11 DJ Delorie <dj@redhat.com>
1218
1219 * configure.in: Look for common files in the right place.
1220
8177895b
UW
12212002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
1222
1223 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
1224 raw data as _Jv_word values, not ffi_raw.
1225 (ffi_java_ptrarray_to_raw): Likewise.
1226 (ffi_java_rvalue_to_raw): New function.
1227 (ffi_java_raw_call): Call it.
1228 (ffi_java_raw_to_rvalue): New function.
1229 (ffi_java_translate_args): Call it.
1230 * src/ffitest.c (closure_test_fn): Interpret return value
1231 as ffi_arg, not int.
1232 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
1233 FFI_TYPE_POINTER case.
1234 (ffi_closure_helper_SYSV): Likewise. Also, assume return
1235 values extended to word size.
1236
af50f4c8
AJ
12372002-10-02 Andreas Jaeger <aj@suse.de>
1238
1239 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
1240
5d297584
BT
12412002-10-01 Bo Thorsen <bo@smetana.suse.de>
1242
1243 * include/ffi.h.in: Fix i386 win32 compilation.
1244
c4f17c6f
UW
12452002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
1246
1247 * configure.in: Add s390x-*-linux-* target.
1248 * configure: Regenerate.
1249 * include/ffi.h.in: Define S390X for s390x targets.
1250 (FFI_CLOSURES): Define for s390/s390x.
1251 (FFI_TRAMPOLINE_SIZE): Likewise.
1252 (FFI_NATIVE_RAW_API): Likewise.
1253 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
1254 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
4977bab6 1255 * src/s390/ffi.c: Major rework of existing code. Add support for
c4f17c6f
UW
1256 s390x targets. Add closure support.
1257 * src/s390/sysv.S: Likewise.
1258
d7b52625
RE
12592002-09-29 Richard Earnshaw <rearnsha@arm.com>
1260
1261 * src/arm/sysv.S: Fix typo.
1262
28165e22
RE
12632002-09-28 Richard Earnshaw <rearnsha@arm.com>
1264
1265 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
1266 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
1267 (ffi_call_SYSV): Handle soft-float.
1268
0b0f4163
BT
12692002-09-27 Bo Thorsen <bo@suse.de>
1270
1271 * include/ffi.h.in: Fix multilib x86-64 support.
1272
6c5d742e
KG
12732002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1274
1275 * Makefile.am (all-multi): Fix multilib parallel build.
1276
f4b2b0d6
KK
12772002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
1278
1279 * configure.in (sh[34]*-*-linux*): Add brackets.
1280 * configure: Regenerate.
1281
ddebdfeb
KK
12822002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
1283
1284 * Makefile.am: Add SH support.
1285 * Makefile.in: Regenerate.
1286 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
1287 * configure: Regenerate.
1288 * include/ffi.h.in: Add SH support.
1289 * src/sh/ffi.c: New file.
1290 * src/sh/sysv.S: New file.
1291 * src/types.c: Add SH support.
1292
c94974ca
BT
12932002-07-16 Bo Thorsen <bo@suse.de>
1294
1295 * src/x86/ffi64.c: New file that adds x86-64 support.
1296 * src/x86/unix64.S: New file that handles argument setup for
1297 x86-64.
1298 * src/x86/sysv.S: Don't use this on x86-64.
1299 * src/x86/ffi.c: Don't use this on x86-64.
1300 Remove unused vars.
1301 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
1302 for x86-64.
1303 * src/ffitest.c (struct6): New test that tests a special case in
1304 the x86-64 ABI.
1305 (struct7): Likewise.
1306 (struct8): Likewise.
1307 (struct9): Likewise.
1308 (closure_test_fn): Silence warning about this when it's not used.
1309 (main): Add the new tests.
1310 (main): Fix a couple of wrong casts and silence some compiler warnings.
1311 * include/ffi.h.in: Add x86-64 ABI definition.
1312 * fficonfig.h.in: Regenerate.
1313 * Makefile.am: Add x86-64 support.
1314 * configure.in: Likewise.
1315 * Makefile.in: Regenerate.
1316 * configure: Likewise.
1317
13182002-06-24 Bo Thorsen <bo@suse.de>
1319
1320 * src/types.c: Merge settings for similar architectures.
1321 Add x86-64 sizes and alignments.
1322
13232002-06-23 Bo Thorsen <bo@suse.de>
1324
1325 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
1326 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
1327 * src/mips/ffi.c (ffi_prep_args): Likewise.
1328 * src/m68k/ffi.c (ffi_prep_args): Likewise.
1329
5be36a8f
L
13302002-07-18 H.J. Lu (hjl@gnu.org)
1331
1332 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
1333 (libffi_la_SOURCES): Support MIPS_LINUX.
1334 (libffi_convenience_la_SOURCES): Likewise.
1335 * Makefile.in: Regenerated.
1336
1337 * configure.in (mips64*-*): Skip.
1338 (mips*-*-linux*): New.
1339 * configure: Regenerated.
1340
1341 * src/mips/ffi.c: Include <sgidefs.h>.
1342
ad5e163c
UW
13432002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1344
1345 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
1346
ee4586c5
RS
13472002-05-27 Roger Sayle <roger@eyesopen.com>
1348
1349 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
1350
b86aa7b0
BT
13512002-05-27 Bo Thorsen <bo@suse.de>
1352
1353 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
1354 fix formatting.
1355
859f7aaf
AT
13562002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
1357
1358 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
1359 beginning of function (for older apple cc).
1360
6706f116
AO
13612002-05-08 Alexandre Oliva <aoliva@redhat.com>
1362
1363 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1364 script entry, and set LD to it when configuring multilibs.
1365 * configure: Rebuilt.
1366
fad655c8
JT
13672002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
1368
1369 * configure.in (sparc64-*-netbsd*): Add target.
1370 (sparc-*-netbsdelf*): Likewise.
1371 * configure: Regenerate.
1372
189ab118
DM
13732002-04-28 David S. Miller <davem@redhat.com>
1374
1375 * configure.in, configure: Fix SPARC test in previous change.
1376
22bcf65c
GT
13772002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
1378
1379 * Makefile.am: Add Linux for S/390 support.
1380 * Makefile.in: Regenerate.
1381 * configure.in: Add Linux for S/390 support.
1382 * configure: Regenerate.
1383 * include/ffi.h.in: Add Linux for S/390 support.
1384 * src/s390/ffi.c: New file from libffi CVS tree.
1385 * src/s390/sysv.S: New file from libffi CVS tree.
1386
5d84cf0b
JJ
13872002-04-28 Jakub Jelinek <jakub@redhat.com>
1388
1389 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
1390 %r_disp32().
1391 * src/sparc/v8.S: Use it.
1392 * src/sparc/v9.S: Likewise.
1393 * fficonfig.h.in: Rebuilt.
1394 * configure: Rebuilt.
1395
cc382e5c
HB
13962002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1397
1398 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
1399 correctly.
1400 * src/ia64/unix.S: Add unwind information. Fix comments.
1401 Save sp in a way that's compatible with unwind info.
1402 (ffi_call_unix): Correctly restore sp in all cases.
1403 * src/ia64/ffi.c: Add, fix comments.
1404
dc798645
JJ
14052002-04-08 Jakub Jelinek <jakub@redhat.com>
1406
1407 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
1408
da00eaab
JT
14092002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
1410
1411 * configure.in (alpha*-*-netbsd*): Add target.
1412 * configure: Regenerate.
1413
0c0b87ad
JS
14142002-04-04 Jeff Sturm <jsturm@one-point.com>
1415
1416 * src/sparc/v8.S: Add unwind info.
1417 * src/sparc/v9.S: Likewise.
1418
320d7e7a
KW
14192002-03-30 Krister Walfridsson <cato@df.lth.se>
1420
1421 * configure.in: Enable i*86-*-netbsdelf*.
1422 * configure: Rebuilt.
4977bab6 1423
c75e51ed
DB
14242002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
1425
1426 PR other/2620
1427 * src/mips/n32.s: Delete
1428 * src/mips/o32.s: Delete
1429
5bb366e0
LR
14302002-03-21 Loren J. Rittle <ljrittle@acm.org>
1431
1432 * configure.in: Enable alpha*-*-freebsd*.
1433 * configure: Rebuilt.
1434
ce3b24a7
BM
14352002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1436
1437 * Makefile.am: libfficonvenience -> libffi_convenience.
1438 * Makefile.in: Rebuilt.
4977bab6 1439
1eb7ba30
BM
1440 * Makefile.am: Define ffitest_OBJECTS.
1441 * Makefile.in: Rebuilt.
ce3b24a7 1442
073ae293
AT
14432002-03-07 Andreas Tobler <toa@pop.agri.ch>
1444 David Edelsohn <edelsohn@gnu.org>
1445
1446 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
1447 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
1448 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
1449 * Makefile.in: Regenerate.
1450 * include/ffi.h.in: Add AIX and Darwin closure definitions.
1451 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
1452 (flush_icache, flush_range): New functions.
1453 (ffi_closure_helper_DARWIN): New function.
1454 * src/powerpc/aix_closure.S: New file.
1455 * src/powerpc/darwin_closure.S: New file.
4977bab6 1456
02c521f4
JS
14572002-02-24 Jeff Sturm <jsturm@one-point.com>
1458
1459 * include/ffi.h.in: Add typedef for ffi_arg.
1460 * src/ffitest.c (main): Declare rint with ffi_arg.
4977bab6 1461
287dd527
AT
14622002-02-21 Andreas Tobler <toa@pop.agri.ch>
1463
1464 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
1465 number of GPRs for floating-point arguments.
1466
e2f2e70a
AG
14672002-01-31 Anthony Green <green@redhat.com>
1468
1469 * configure: Rebuilt.
1470 * configure.in: Replace CHECK_SIZEOF and endian tests with
1471 cross-compiler friendly macros.
1472 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
1473 macros.
1474
15b9b32f
DE
14752002-01-18 David Edelsohn <edelsohn@gnu.org>
1476
1477 * src/powerpc/darwin.S (_ffi_call_AIX): New.
1f7d5413 1478 * src/powerpc/aix.S (ffi_call_DARWIN): New.
15b9b32f 1479
2f4006f8
DE
14802002-01-17 David Edelsohn <edelsohn@gnu.org>
1481
1482 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
1483 (TARGET_SRC_POWERPC_AIX): New.
1484 (POWERPC_AIX): New stanza.
1485 * Makefile.in: Regenerate.
1486 * configure.in: Add AIX case.
1487 * configure: Regenerate.
1488 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
1489 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
1490 size. Fix "long double" support.
1491 (ffi_call): Add FFI_AIX case.
1492 * src/powerpc/aix.S: New.
1493
3c017635
JH
14942001-10-09 John Hornkvist <john@toastedmarshmallow.com>
1495
1496 Implement Darwin PowerPC ABI.
1497 * configure.in: Handle powerpc-*-darwin*.
1498 * Makefile.am: Set source files for POWERPC_DARWIN.
1499 * configure: Rebuilt.
1500 * Makefile.in: Rebuilt.
1501 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
1502 POWERPC_DARWIN.
1503 * src/powerpc/darwin.S: New file.
1504 * src/powerpc/ffi_darwin.c: New file.
1505
cc712abf
JM
15062001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1507
1508 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
1509
03a8de49
RO
15102001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1511
1512 * src/x86/sysv.S: Avoid gas-only .balign directive.
1513 Use C style comments.
1514
92a0e6c6
RO
15152001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1516
1517 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
1518 Fixes PR bootstrap/3563.
1519
57482f58
RO
15202001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1521
1522 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
1523
d7e2dd2f
RO
15242001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1525
1526 * configure.in: Recognize sparc*-sun-* host.
1527 * configure: Regenerate.
4977bab6 1528
be72207c
AH
15292001-06-06 Andrew Haley <aph@redhat.com>
1530
4075db8f 1531 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
be72207c 1532
552cb45a
AH
15332001-06-03 Andrew Haley <aph@redhat.com>
1534
4075db8f
BT
1535 * src/alpha/osf.S: Add unwind info.
1536 * src/powerpc/sysv.S: Add unwind info.
1537 * src/powerpc/ppc_closure.S: Likewise.
552cb45a 1538
7d45b968
JS
15392000-05-31 Jeff Sturm <jsturm@one-point.com>
1540
1541 * configure.in: Fix AC_ARG_ENABLE usage.
1542 * configure: Rebuilt.
1543
2a7f63c4
BM
15442001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1545
1546 * configure.in: Remove warning about beta code.
1547 * configure: Rebuilt.
1548
15492001-04-25 Hans Boehm <Hans_Boehm@hp.com>
1550
03a55252
HB
1551 * src/ia64/unix.S: Restore stack pointer when returning from
1552 ffi_closure_UNIX.
1553 * src/ia64/ffi.c: Fix typo in comment.
1554
df5da1c4
JW
15552001-04-18 Jim Wilson <wilson@redhat.com>
1556
1557 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
1558 to eliminate RAW DV.
1559
52c28977
BM
15602001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
1561
1562 * Makefile.am: Make a libtool convenience library.
1563 * Makefile.in: Rebuilt.
1564
3b905056
BM
15652001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
1566
1567 * configure.in: Use different syntax for subdirectory creation.
1568 * configure: Rebuilt.
1569
d6c4152a
JB
15702001-03-27 Jon Beniston <jon@beniston.com>
1571
1572 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
1573 * configure: Rebuilt.
1574 * Makefile.am: Added X86_WIN32 target support.
1575 * Makefile.in: Rebuilt.
1576
1577 * include/ffi.h.in: Added X86_WIN32 target support.
1578
1579 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
1580 * src/types.c: Added X86_WIN32 target support.
1581
1582 * src/x86/win32.S: New file. Based on sysv.S, but with EH
1583 stuff removed and made to work with CygWin's gas.
1584
675cdab3
BM
15852001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
1586
1587 * configure.in: Make target subdirectory in build dir.
1588 * Makefile.am: Override suffix based rules to specify correct output
1589 subdirectory.
1590 * Makefile.in: Rebuilt.
1591 * configure: Rebuilt.
1592
e5f8858a 15932001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
cc4c8975
KH
1594
1595 * src/powerpc/ppc_closure.S: New file.
1596 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
1597 involving long long and register pairs.
1598 (ffi_prep_closure): New function.
1599 (flush_icache): Likewise.
1600 (ffi_closure_helper_SYSV): Likewise.
1601 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
1602 (FFI_TRAMPOLINE_SIZE): Likewise.
1603 (FFI_NATIVE_RAW_API): Likewise.
1604 * Makefile.in: Rebuilt.
1605 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
1606 (TARGET_SRC_POWERPC): Likewise.
1607
9450a929
TT
16082001-03-19 Tom Tromey <tromey@redhat.com>
1609
1610 * Makefile.in: Rebuilt.
1611 * Makefile.am (ffitest_LDFLAGS): New macro.
1612
4d2cf715
NC
16132001-03-02 Nick Clifton <nickc@redhat.com>
1614
1615 * include/ffi.h.in: Remove RCS ident string.
1616 * include/ffi_mips.h: Remove RCS ident string.
1617 * src/debug.c: Remove RCS ident string.
1618 * src/ffitest.c: Remove RCS ident string.
1619 * src/prep_cif.c: Remove RCS ident string.
1620 * src/types.c: Remove RCS ident string.
1621 * src/alpha/ffi.c: Remove RCS ident string.
1622 * src/alpha/osf.S: Remove RCS ident string.
1623 * src/arm/ffi.c: Remove RCS ident string.
1624 * src/arm/sysv.S: Remove RCS ident string.
1625 * src/mips/ffi.c: Remove RCS ident string.
1626 * src/mips/n32.S: Remove RCS ident string.
1627 * src/mips/o32.S: Remove RCS ident string.
1628 * src/sparc/ffi.c: Remove RCS ident string.
1629 * src/sparc/v8.S: Remove RCS ident string.
1630 * src/sparc/v9.S: Remove RCS ident string.
1631 * src/x86/ffi.c: Remove RCS ident string.
1632 * src/x86/sysv.S: Remove RCS ident string.
1633
7e5fd99f
JM
16342001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
1635
1636 * include/ffi.h.in: Change sourceware.cygnus.com references to
1637 gcc.gnu.org.
1638
3f67ba6e
RH
16392000-12-09 Richard Henderson <rth@redhat.com>
1640
1641 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
1642 (ffi_closure_osf_inner): Index rather than increment avalue
1643 and arg_types. Give ffi_closure_osf the raw return value type.
1644 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
1645 promotion.
1646
16472000-12-07 Richard Henderson <rth@redhat.com>
29fe0479
RH
1648
1649 * src/raw_api.c (ffi_translate_args): Fix typo.
1650 (ffi_prep_closure): Likewise.
1651
1652 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
1653 FFI_TRAMPOLINE_SIZE.
1654 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
1655 cif->bytes for new ffi_call_osf implementation.
1656 (ffi_prep_args): Absorb into ...
1657 (ffi_call): ... here. Do all stack allocation here and
1658 avoid a callback function.
1659 (ffi_prep_closure, ffi_closure_osf_inner): New.
1660 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
1661 (ffi_closure_osf): New.
1662
2f7bf5b7
AO
16632000-09-10 Alexandre Oliva <aoliva@redhat.com>
1664
ed1c1a1a
AO
1665 * config.guess, config.sub, install-sh: Removed.
1666 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
1667 * Makefile.in: Rebuilt.
1668
2f7bf5b7
AO
1669 * acinclude.m4: Include libtool macros from the top level.
1670 * aclocal.m4, configure: Rebuilt.
1671
e15a68e7
AO
16722000-08-22 Alexandre Oliva <aoliva@redhat.com>
1673
1674 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
1675 * configure: Rebuilt.
1676
7f8c11d5
SB
16772000-05-11 Scott Bambrough <scottb@netwinder.org>
1678
4977bab6
ZW
1679 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
1680 memory correctly. Use conditional instructions, not branches where
7f8c11d5
SB
1681 possible.
1682
c5acf51f
TT
16832000-05-04 Tom Tromey <tromey@cygnus.com>
1684
1685 * configure: Rebuilt.
1686 * configure.in: Match `arm*-*-linux-*'.
1687 From Chris Dornan <cdornan@arm.com>.
1688
91bffbe9
JJ
16892000-04-28 Jakub Jelinek <jakub@redhat.com>
1690
1691 * Makefile.am (SUBDIRS): Define.
1692 (AM_MAKEFLAGS): Likewise.
1693 (Multilib support.): Add section.
1694 * Makefile.in: Rebuilt.
1695 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
4075db8f
BT
1696 New variables. Set for gcc using -print-multi-lib. Export them
1697 to libtool.
1698 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
1699 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
1700 for -shared links.
1701 (extra_compiler_flags_value, extra_compiler_flags): Check these
1702 for extra compiler options which need to be passed down in
1703 compiler_flags.
91bffbe9 1704
bd66587e
AG
17052000-04-16 Anthony Green <green@redhat.com>
1706
1707 * configure: Rebuilt.
1708 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
1709
3791773c
JJ
17102000-04-14 Jakub Jelinek <jakub@redhat.com>
1711
4075db8f 1712 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
3791773c
JJ
1713 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
1714 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
1715 Replace all void * sizeofs with sizeof(int).
1716 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
1717 different than DOUBLE.
1718 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
1719 (ffi_prep_args_v9): New function.
1720 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
1721 (ffi_V9_return_struct): New function.
1722 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
1723 32bit code (not yet cross-arch calls).
1724 * src/sparc/v8.S: Add struct return delay nop.
1725 Handle long long.
1726 * src/sparc/v9.S: New file.
1727 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
1728 is used on sparc64 only for structures larger than 32 bytes.
1729 Pass by reference for structures is done for structure arguments
1730 larger than 16 bytes.
1731 * src/ffitest.c (main): Use 64bit rint on sparc64.
1732 Run long long tests on sparc.
1733 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
1734 sparc64.
1735 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
1736 on sparc64.
1737 * configure.in (sparc-*-linux*): New supported target.
1738 (sparc64-*-linux*): Likewise.
1739 * configure: Rebuilt.
1740 * Makefile.am: Add v9.S to SPARC files.
1741 * Makefile.in: Likewise.
1742 (LINK): Surround $(CCLD) into double quotes, so that multilib
1743 compiles work correctly.
1744
db459595
APB
17452000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
1746
1747 * configure: Rebuilt.
1748 * configure.in: (i*86-*-solaris*): New libffi target. Patch
1749 proposed by Bryce McKinlay.
1750
c1f63902
TT
17512000-03-20 Tom Tromey <tromey@cygnus.com>
1752
1753 * Makefile.in: Hand edit for java_raw_api.lo.
1754
0f72dc9e
BM
17552000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
1756
1757 * config.guess, config.sub: Update from the gcc tree.
1758 Fix for PR libgcj/168.
1759
3c18f2d1
TT
17602000-03-03 Tom Tromey <tromey@cygnus.com>
1761
323eee8a
TT
1762 * Makefile.in: Fixed ia64 by hand.
1763
3c18f2d1
TT
1764 * configure: Rebuilt.
1765 * configure.in (--enable-multilib): New option.
1766 (libffi_basedir): New subst.
1767 (AC_OUTPUT): Added multilib code.
1768
a2b10a92
TT
17692000-03-02 Tom Tromey <tromey@cygnus.com>
1770
1771 * Makefile.in: Rebuilt.
1772 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
1773 directory name.
1774
dc5de370
HB
17752000-02-25 Hans Boehm <boehm@acm.org>
1776
1777 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
1778 files.
1779 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
1780 list.
1781 (ffi_prep_raw_closure): Use ffi_translate_args, not
1782 ffi_closure_translate.
1783 * src/java_raw_api.c: New file.
1784 * src/ffitest.c (closure_test_fn): New function.
1785 (main): Define `rint' as long long on IA64. Added new test when
1786 FFI_CLOSURES is defined.
1787 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
1788 (ffi_abi): Recognize IA64.
1789 (ffi_raw): Added `flt' field.
1790 Added "Java raw API" code.
1791 * configure.in: Recognize ia64.
1792 * Makefile.am (TARGET_SRC_IA64): New macro.
1793 (libffi_la_common_SOURCES): Added java_raw_api.c.
1794 (libffi_la_SOURCES): Define in IA64 case.
1795
d79229bd
TT
17962000-01-04 Tom Tromey <tromey@cygnus.com>
1797
1798 * Makefile.in: Rebuilt with newer automake.
1799
2c33b220
TT
18001999-12-31 Tom Tromey <tromey@cygnus.com>
1801
1802 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
1803
6ba9e3b0
TT
18041999-09-01 Tom Tromey <tromey@cygnus.com>
1805
1806 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
1807 undefs.
1808 * fficonfig.h.in: Rebuilt.
1809 * configure: Rebuilt.
1810 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
1811 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
1812 * acconfig.h: Don't #undef PACKAGE or VERSION.
1813
63e5e3e0
AG
18141999-08-09 Anthony Green <green@cygnus.com>
1815
1816 * include/ffi.h.in: Try to work around messy header problem
1817 with PACKAGE and VERSION.
1818
1819 * configure: Rebuilt.
1820 * configure.in: Change version to 2.00-beta.
1821
4075db8f 1822 * fficonfig.h.in: Rebuilt.
63e5e3e0
AG
1823 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
1824
1825 * src/x86/ffi.c (ffi_raw_call): Rename.
1826
18271999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
1828
1829 * src/x86/ffi.c (ffi_closure_SYSV): New function.
1830 (ffi_prep_incoming_args_SYSV): Ditto.
1831 (ffi_prep_closure): Ditto.
1832 (ffi_closure_raw_SYSV): Ditto.
1833 (ffi_prep_raw_closure): More ditto.
1834 (ffi_call_raw): Final ditto.
1835
1836 * include/ffi.h.in: Add definitions for closure and raw API.
1837
1838 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
4977bab6 1839 FFI_TYPE_UINT64.
63e5e3e0
AG
1840
1841 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
1842
1843 * src/raw_api.c: New file.
1844
1845 * include/ffi.h.in (ffi_raw): New type.
1846 (UINT_ARG, SINT_ARG): New defines.
1847 (ffi_closure, ffi_raw_closure): New types.
1848 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
4977bab6 1849
63e5e3e0
AG
1850 * configure.in: Add check for endianness and sizeof void*.
1851
1852 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
1853 instead of directly.
1854
1855 * configure: Rebuilt.
1856
1857Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
1858
1859 * configure.in: Add x86 and powerpc BeOS configurations.
1860 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
1861
18621999-05-09 Anthony Green <green@cygnus.com>
1863
1864 * configure.in: Add warning about this being beta code.
1865 Remove src/Makefile.am from the picture.
1866 * configure: Rebuilt.
1867
1868 * Makefile.am: Move logic from src/Makefile.am. Add changes
1869 to support libffi as a target library.
1870 * Makefile.in: Rebuilt.
1871
1872 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
1873 Upgraded to new autoconf, automake, libtool.
1874
1875 * README: Tweaks.
1876
1877 * LICENSE: Update copyright date.
1878
1879 * src/Makefile.am, src/Makefile.in: Removed.
1880
18811998-11-29 Anthony Green <green@cygnus.com>
1882
1883 * include/ChangeLog: Removed.
1884 * src/ChangeLog: Removed.
1885 * src/mips/ChangeLog: Removed.
1886 * src/sparc/ChangeLog: Remboved.
1887 * src/x86/ChangeLog: Removed.
1888
1889 * ChangeLog.v1: Created.