]> git.ipfire.org Git - thirdparty/gcc.git/blame - libffi/ChangeLog
* schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.
[thirdparty/gcc.git] / libffi / ChangeLog
CommitLineData
dd5f9ea2
AM
12004-02-07 Alan Modra <amodra@bigpond.net.au>
2
3 * src/types.c: Use 16 byte long double for POWERPC64.
4
0ce78f01
EB
52004-01-25 Eric Botcazou <ebotcazou@libertysurf.fr>
6
7 * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
8 when the structure return address is passed in %o0.
9 (ffi_V9_return_struct): Rename into ffi_v9_layout_struct.
10 (ffi_v9_layout_struct): Align the field following a nested structure
11 on a word boundary. Use memmove instead of memcpy.
12 (ffi_call): Update call to ffi_V9_return_struct.
13 (ffi_prep_closure): Define 'ctx' only for V8.
14 (ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8
15 and ffi_closure_sparc_inner_v9.
16 (ffi_closure_sparc_inner_v8): Return long doubles by reference.
17 Always skip the structure return address. For structures and long
18 doubles, copy the argument directly.
19 (ffi_closure_sparc_inner_v9): Skip the structure return address only
20 if required. Shift the maximum floating-point slot accordingly. For
21 big structures, copy the argument directly; otherwise, left-justify the
22 argument and call ffi_v9_layout_struct to lay out the structure on
23 the stack.
24 * src/sparc/v8.S: Undef STACKFRAME before defining it.
25 (ffi_closure_v8): Pass the structure return address. Update call to
26 ffi_closure_sparc_inner_v8. Short-circuit FFI_TYPE_INT handling.
27 Skip the 'unimp' insn when returning long doubles and structures.
28 * src/sparc/v9.S: Undef STACKFRAME before defining it.
29 (ffi_closure_v9): Increase the frame size by 2 words. Short-circuit
30 FFI_TYPE_INT handling. Load structures both in integers and
31 floating-point registers on return.
32 * README: Update status of the SPARC port.
33
7fcc1d9b
AT
342004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
35
36 * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
37 as of type ffi_arg.
38 * testsuite/libffi.call/struct3.c (main): Fix CHECK.
39
6ed0ecaf
UW
402004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
41
42 * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
43 value as of type ffi_arg, not unsigned int.
44
c930d8a5
MR
452004-01-21 Michael Ritzert <ritzert@t-online.de>
46
47 * ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
48 of the LHS.
49
7b2e3e60
AT
502004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
51
52 * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
53 Solaris.
54
2e89756b
RO
552004-01-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
56
57 * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
58 to void *.
59
628b26f8
RH
602003-12-10 Richard Henderson <rth@redhat.com>
61
62 * testsuite/libffi.call/cls_align_pointer.c: Cast pointers to
63 size_t instead of int.
64
0ee646d6
HY
652003-12-04 Hosaka Yuji <hos@tamanegi.org>
66
67 * testsuite/libffi.call/many_win32.c: Include <float.h>.
68 * testsuite/libffi.call/many_win32.c (main): Replace variable
69 int i with unsigned long ul.
70
71 * testsuite/libffi.call/cls_align_uint64.c: New test case.
72 * testsuite/libffi.call/cls_align_sint64.c: Likewise.
73 * testsuite/libffi.call/cls_align_uint32.c: Likewise.
74 * testsuite/libffi.call/cls_align_sint32.c: Likewise.
75 * testsuite/libffi.call/cls_align_uint16.c: Likewise.
76 * testsuite/libffi.call/cls_align_sint16.c: Likewise.
77 * testsuite/libffi.call/cls_align_float.c: Likewise.
78 * testsuite/libffi.call/cls_align_double.c: Likewise.
79 * testsuite/libffi.call/cls_align_longdouble.c: Likewise.
80 * testsuite/libffi.call/cls_align_pointer.c: Likewise.
81
2c4ed456
HY
822003-12-02 Hosaka Yuji <hos@tamanegi.org>
83
84 PR other/13221
85 * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV):
86 Align arguments to 32 bits.
87
d18c3386
AT
882003-12-01 Andreas Tobler <a.tobler@schweiz.ch>
89
90 PR other/13221
91 * testsuite/libffi.call/cls_multi_sshort.c: New test case.
92 * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
93 * testsuite/libffi.call/cls_multi_uchar.c: Likewise.
94 * testsuite/libffi.call/cls_multi_schar.c: Likewise.
95 * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
96 * testsuite/libffi.call/cls_multi_ushort.c: Likewise.
97
98 * testsuite/libffi.special/unwindtest.cc: Cosmetics.
99
88096b2a
KG
1002003-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
101
102 * testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
103 * testsuite/libffi.special/ffitestcxx.h: Likewise.
104
3eee102e
AT
1052003-11-22 Andreas Tobler <a.tobler@schweiz.ch>
106
107 * Makefile.in: Rebuilt.
108 * configure: Likewise.
109 * testsuite/libffi.special/unwindtest.cc: Convert the mmap to
110 the right type.
111
5196736e
AJ
1122003-11-21 Andreas Jaeger <aj@suse.de>
113 Andreas Tobler <a.tobler@schweiz.ch>
114
115 * acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
116 * configure.in: Call AC_FUNC_MMAP_BLACKLIST.
117 * Makefile.in: Rebuilt.
118 * aclocal.m4: Likewise.
119 * configure: Likewise.
120 * fficonfig.h.in: Likewise.
121 * testsuite/lib/libffi-dg.exp: Add include dir.
122 * testsuite/libffi.call/ffitest.h: Add MMAP definitions.
123 * testsuite/libffi.special/ffitestcxx.h: Likewise.
124 * testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
125 for ffi_closure if available.
126 * testsuite/libffi.call/closure_fn1.c: Likewise.
127 * testsuite/libffi.call/closure_fn2.c: Likewise.
128 * testsuite/libffi.call/closure_fn3.c: Likewise.
129 * testsuite/libffi.call/closure_fn4.c: Likewise.
130 * testsuite/libffi.call/closure_fn5.c: Likewise.
131 * testsuite/libffi.call/cls_12byte.c: Likewise.
132 * testsuite/libffi.call/cls_16byte.c: Likewise.
133 * testsuite/libffi.call/cls_18byte.c: Likewise.
134 * testsuite/libffi.call/cls_19byte.c: Likewise.
135 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
136 * testsuite/libffi.call/cls_20byte.c: Likewise.
137 * testsuite/libffi.call/cls_20byte1.c: Likewise.
138 * testsuite/libffi.call/cls_24byte.c: Likewise.
139 * testsuite/libffi.call/cls_2byte.c: Likewise.
140 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
141 * testsuite/libffi.call/cls_3byte1.c: Likewise.
142 * testsuite/libffi.call/cls_3byte2.c: Likewise.
143 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
144 * testsuite/libffi.call/cls_4byte.c: Likewise.
145 * testsuite/libffi.call/cls_5byte.c: Likewise.
146 * testsuite/libffi.call/cls_64byte.c: Likewise.
147 * testsuite/libffi.call/cls_6byte.c: Likewise.
148 * testsuite/libffi.call/cls_7byte.c: Likewise.
149 * testsuite/libffi.call/cls_8byte.c: Likewise.
150 * testsuite/libffi.call/cls_9byte1.c: Likewise.
151 * testsuite/libffi.call/cls_9byte2.c: Likewise.
152 * testsuite/libffi.call/cls_double.c: Likewise.
153 * testsuite/libffi.call/cls_float.c: Likewise.
154 * testsuite/libffi.call/cls_schar.c: Likewise.
155 * testsuite/libffi.call/cls_sint.c: Likewise.
156 * testsuite/libffi.call/cls_sshort.c: Likewise.
157 * testsuite/libffi.call/cls_uchar.c: Likewise.
158 * testsuite/libffi.call/cls_uint.c: Likewise.
159 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
160 * testsuite/libffi.call/cls_ushort.c: Likewise.
161 * testsuite/libffi.call/nested_struct.c: Likewise.
162 * testsuite/libffi.call/nested_struct1.c: Likewise.
163 * testsuite/libffi.call/nested_struct2.c: Likewise.
164 * testsuite/libffi.call/nested_struct3.c: Likewise.
165 * testsuite/libffi.call/problem1.c: Likewise.
166 * testsuite/libffi.special/unwindtest.cc: Likewise.
167
9e6c3ecb
AT
1682003-11-20 Andreas Tobler <a.tobler@schweiz.ch>
169
170 * testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.
171
70d8f2a1
AT
1722003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
173
174 * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
175 Add -lgcc_s to additional flags.
176
ea81d2a3
AT
1772003-11-12 Andreas Tobler <a.tobler@schweiz.ch>
178
179 * configure.in, include/Makefile.am: PR libgcj/11147, install
180 the ffitarget.h header file in a gcc versioned and target
181 dependent place.
182 * configure: Regenerated.
183 * Makefile.in, include/Makefile.in: Likewise.
184 * testsuite/Makefile.in: Likewise.
185
647af4a9
AT
1862003-11-09 Andreas Tobler <a.tobler@schweiz.ch>
187
188 * testsuite/libffi.call/closure_fn0.c: Print result and check
189 with dg-output to make debugging easier.
190 * testsuite/libffi.call/closure_fn1.c: Likewise.
191 * testsuite/libffi.call/closure_fn2.c: Likewise.
192 * testsuite/libffi.call/closure_fn3.c: Likewise.
193 * testsuite/libffi.call/closure_fn4.c: Likewise.
194 * testsuite/libffi.call/closure_fn5.c: Likewise.
195 * testsuite/libffi.call/cls_12byte.c: Likewise.
196 * testsuite/libffi.call/cls_16byte.c: Likewise.
197 * testsuite/libffi.call/cls_18byte.c: Likewise.
198 * testsuite/libffi.call/cls_19byte.c: Likewise.
199 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
200 * testsuite/libffi.call/cls_20byte.c: Likewise.
201 * testsuite/libffi.call/cls_20byte1.c: Likewise.
202 * testsuite/libffi.call/cls_24byte.c: Likewise.
203 * testsuite/libffi.call/cls_2byte.c: Likewise.
204 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
205 * testsuite/libffi.call/cls_3byte1.c: Likewise.
206 * testsuite/libffi.call/cls_3byte2.c: Likewise.
207 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
208 * testsuite/libffi.call/cls_4byte.c: Likewise.
209 * testsuite/libffi.call/cls_5byte.c: Likewise.
210 * testsuite/libffi.call/cls_64byte.c: Likewise.
211 * testsuite/libffi.call/cls_6byte.c: Likewise.
212 * testsuite/libffi.call/cls_7byte.c: Likewise.
213 * testsuite/libffi.call/cls_8byte.c: Likewise.
214 * testsuite/libffi.call/cls_9byte1.c: Likewise.
215 * testsuite/libffi.call/cls_9byte2.c: Likewise.
216 * testsuite/libffi.call/cls_double.c: Likewise.
217 * testsuite/libffi.call/cls_float.c: Likewise.
218 * testsuite/libffi.call/cls_schar.c: Likewise.
219 * testsuite/libffi.call/cls_sint.c: Likewise.
220 * testsuite/libffi.call/cls_sshort.c: Likewise.
221 * testsuite/libffi.call/cls_uchar.c: Likewise.
222 * testsuite/libffi.call/cls_uint.c: Likewise.
223 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
224 * testsuite/libffi.call/cls_ushort.c: Likewise.
225 * testsuite/libffi.call/problem1.c: Likewise.
226
227 * testsuite/libffi.special/unwindtest.cc: Make ffi_closure
228 static.
229
ac47cc13
AT
2302003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
231
232 * testsuite/libffi.call/cls_9byte2.c: New test case.
233 * testsuite/libffi.call/cls_9byte1.c: Likewise.
234 * testsuite/libffi.call/cls_64byte.c: Likewise.
235 * testsuite/libffi.call/cls_20byte1.c: Likewise.
236 * testsuite/libffi.call/cls_19byte.c: Likewise.
237 * testsuite/libffi.call/cls_18byte.c: Likewise.
238 * testsuite/libffi.call/closure_fn4.c: Likewise.
239 * testsuite/libffi.call/closure_fn5.c: Likewise.
240 * testsuite/libffi.call/cls_schar.c: Likewise.
241 * testsuite/libffi.call/cls_sint.c: Likewise.
242 * testsuite/libffi.call/cls_sshort.c: Likewise.
243 * testsuite/libffi.call/nested_struct2.c: Likewise.
244 * testsuite/libffi.call/nested_struct3.c: Likewise.
245
f145ed6b
AT
2462003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
247
248 * testsuite/libffi.call/cls_double.c: Do a check on the result.
249 * testsuite/libffi.call/cls_uchar.c: Likewise.
250 * testsuite/libffi.call/cls_uint.c: Likewise.
251 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
252 * testsuite/libffi.call/cls_ushort.c: Likewise.
253 * testsuite/libffi.call/return_sc.c: Cleanup whitespaces.
254
2b04d015
AT
2552003-11-06 Andreas Tobler <a.tobler@schweiz.ch>
256
257 * src/prep_cif.c (ffi_prep_cif): Move the validity check after
258 the initialization.
259
57f542b3
AT
2602003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
261
2b04d015 262 * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
57f542b3
AT
263 FFI_ASSERT(FALSE) with FFI_ASSERT(0).
264
e61acf72
DD
2652003-10-22 David Daney <ddaney@avtrex.com>
266
267 * src/mips/ffitarget.h: Replace undefined UINT32 and friends with
268 __attribute__((__mode__(__SI__))) and friends.
269
2461c08b
AS
2702003-10-22 Andreas Schwab <schwab@suse.de>
271
272 * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
273
1450eb7a
AT
2742003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
275
276 * configure.in: AC_LINK_FILES(ffitarget.h).
277 * configure: Regenerate.
278 * Makefile.in: Likewise.
279 * include/Makefile.in: Likewise.
280 * testsuite/Makefile.in: Likewise.
281 * fficonfig.h.in: Likewise.
282
2832003-10-21 Paolo Bonzini <bonzini@gnu.org>
284 Richard Henderson <rth@redhat.com>
285
286 Avoid that ffi.h includes fficonfig.h.
287
288 * Makefile.am (EXTRA_DIST): Include ffitarget.h files
289 (TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
290 (TARGET_SRC_MIPS_SGI): Removed.
291 (MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
292 (MIPS_SGI): Removed.
293 (CLEANFILES): Removed.
294 (mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
295 targets.
296 * acconfig.h: Removed.
297 * configure.in: Compute sizeofs only for double and long double.
298 Use them to define and subst HAVE_LONG_DOUBLE. Include comments
299 into AC_DEFINE instead of using acconfig.h. Create
300 include/ffitarget.h instead of include/fficonfig.h. Rename
301 MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
302 AC_DEFINE EH_FRAME_FLAGS.
303 * include/Makefile.am (DISTCLEANFILES): New automake macro.
304 (hack_DATA): Add ffitarget.h.
305 * include/ffi.h.in: Remove all system specific definitions.
306 Declare raw API even if it is not installed, why bother?
307 Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
308 not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
309 ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
310 (UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
311 * include/ffi_common.h (bool): Do not define.
312 (ffi_assert): Accept failed assertion.
313 (ffi_type_test): Return void and accept file/line.
314 (FFI_ASSERT): Pass stringized failed assertion.
315 (FFI_ASSERT_AT): New macro.
316 (FFI_ASSERT_VALID_TYPE): New macro.
317 (UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
318 UINT64, SINT64): Define here with gcc's __attribute__ macro
319 instead of in ffi.h
320 (FLOAT32, ALIGN): Define here instead of in ffi.h
321 * include/ffi-mips.h: Removed. Its content moved to
322 src/mips/ffitarget.h after separating assembly and C sections.
323 * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
324 src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
325 src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
326 src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
327 SIZEOF_ARG -> FFI_SIZEOF_ARG.
328 * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
329 * src/debug.c (ffi_assert): Accept stringized failed assertion.
330 (ffi_type_test): Rewritten.
331 * src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
332 FFI_ASSERT_VALID_TYPE.
333 * src/alpha/ffitarget.h, src/arm/ffitarget.h,
334 src/ia64/ffitarget.h, src/m68k/ffitarget.h,
335 src/mips/ffitarget.h, src/powerpc/ffitarget.h,
336 src/s390/ffitarget.h, src/sh/ffitarget.h,
337 src/sh64/ffitarget.h, src/sparc/ffitarget.h,
338 src/x86/ffitarget.h: New files.
339 * src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
340 src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
341 src/powerpc/aix.S, src/powerpc/darwin.S,
342 src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
343 src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
344 src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
345 src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
346 src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
347 include fficonfig.h
348
27d54b2a
RO
3492003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
350
351 * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
352 _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
353
0df6970d
AT
3542003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
355
356 * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
357 Used when FFI_DEBUG = 1.
358
2612ffce
AM
3592003-10-14 Alan Modra <amodra@bigpond.net.au>
360
361 * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
362 and align.
363
d54f7354
RO
3642003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
365
366 * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
367 FFI_MIPS_O32 for O32 ABI.
368
7a54c850
AT
3692003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
370
371 * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
372 SPARC64. Cleanup whitespaces.
373
9e3bfa9b
AT
3742003-09-19 Andreas Tobler <a.tobler@schweiz.ch>
375
376 * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
377 strongarm, xscale. Cleanup whitespaces.
378 * testsuite/libffi.call/closure_fn1.c: Likewise.
379 * testsuite/libffi.call/closure_fn2.c: Likewise.
380 * testsuite/libffi.call/closure_fn3.c: Likewise.
381 * testsuite/libffi.call/cls_12byte.c: Likewise.
382 * testsuite/libffi.call/cls_16byte.c: Likewise.
383 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
384 * testsuite/libffi.call/cls_20byte.c: Likewise.
385 * testsuite/libffi.call/cls_24byte.c: Likewise.
386 * testsuite/libffi.call/cls_2byte.c: Likewise.
387 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
388 * testsuite/libffi.call/cls_3byte1.c: Likewise.
389 * testsuite/libffi.call/cls_3byte2.c: Likewise.
390 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
391 * testsuite/libffi.call/cls_4byte.c: Likewise.
392 * testsuite/libffi.call/cls_5byte.c: Likewise.
393 * testsuite/libffi.call/cls_6byte.c: Likewise.
394 * testsuite/libffi.call/cls_7byte.c: Likewise.
395 * testsuite/libffi.call/cls_8byte.c: Likewise.
396 * testsuite/libffi.call/cls_double.c: Likewise.
397 * testsuite/libffi.call/cls_float.c: Likewise.
398 * testsuite/libffi.call/cls_uchar.c: Likewise.
399 * testsuite/libffi.call/cls_uint.c: Likewise.
400 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
401 * testsuite/libffi.call/cls_ushort.c: Likewise.
402 * testsuite/libffi.call/nested_struct.c: Likewise.
403 * testsuite/libffi.call/nested_struct1.c: Likewise.
404 * testsuite/libffi.call/problem1.c: Likewise.
405 * testsuite/libffi.special/unwindtest.cc: Likewise.
406 * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.
407
3e86b595
DE
4082003-09-18 David Edelsohn <edelsohn@gnu.org>
409
410 * src/powerpc/aix.S: Cleanup whitespaces.
411 * src/powerpc/aix_closure.S: Likewise.
412
8d8369f8
AT
4132003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
414
415 * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
416 * src/powerpc/darwin_closure.S: Likewise.
417 * src/powerpc/ffi_darwin.c: Likewise.
418
69b182fd
AT
4192003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
420 David Edelsohn <edelsohn@gnu.org>
421
422 * src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
423 * src/powerpc/aix_closure.S: Remove the pointer to the outgoing
424 parameter stack.
425 * src/powerpc/darwin_closure.S: Likewise.
426 * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
427 according to the Darwin/AIX ABI.
428 (ffi_prep_cif_machdep): Likewise.
429 (ffi_closure_helper_DARWIN): Likewise.
430 Remove the outgoing parameter stack logic. Simplify the evaluation
431 of the different CASE types.
432 (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
433 statement in the trampoline code.
434
df805cdc
KK
4352003-09-18 Kaz Kojima <kkojima@gcc.gnu.org>
436
437 * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
438 for the register size.
439 (ffi_closure_helper_SYSV): Handle the structure return value
440 address correctly.
441 (ffi_closure_helper_SYSV): Return the appropriate type when
442 the registers are used for the structure return value.
443 * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
444 the 64-bit return value. Update copyright years.
445
eb26c76c
RO
4462003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
447
448 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
449 srcdir for ffi_mips.h.
450
6350c02c
AM
4512003-09-12 Alan Modra <amodra@bigpond.net.au>
452
453 * src/prep_cif.c (initialize_aggregate): Include tail padding in
454 structure size.
455 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
456 placement of float result.
457 * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct
458 cast of "resp" for big-endian 64 bit machines.
459
5af1c806
AM
4602003-09-11 Alan Modra <amodra@bigpond.net.au>
461
462 * src/types.c (double, longdouble): Merge identical SH and ARM
463 typedefs, and add POWERPC64.
464 * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
465 struct split over gpr and rest.
466 (ffi_prep_cif_machdep): Correct intarg_count for structures.
467 * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.
468
086a4bd7
AT
4692003-09-09 Andreas Tobler <a.tobler@schweiz.ch>
470
471 * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
472 passing correctly.
c930d8a5 473
e517f636
AM
4742003-09-09 Alan Modra <amodra@bigpond.net.au>
475
476 * configure: Regenerate.
477
6f20d627
AT
4782003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
479
480 * Makefile.am: Remove build rules for ffitest.
481 * Makefile.in: Rebuilt.
c930d8a5 482
6f20d627 4832003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
226660af
AT
484
485 * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
486 about implicit declaration of abort().
487
bbf3057b
AT
4882003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
489
490 * Makefile.am: Add dejagnu test framework. Fixes PR other/11411.
491 * Makefile.in: Rebuilt.
492 * configure.in: Add dejagnu test framework.
493 * configure: Rebuilt.
494
495 * testsuite/Makefile.am: New file.
496 * testsuite/Makefile.in: Built
c930d8a5 497 * testsuite/lib/libffi-dg.exp: New file.
bbf3057b
AT
498 * testsuite/config/default.exp: Likewise.
499 * testsuite/libffi.call/call.exp: Likewise.
500 * testsuite/libffi.call/ffitest.h: Likewise.
501 * testsuite/libffi.call/closure_fn0.c: Likewise.
502 * testsuite/libffi.call/closure_fn1.c: Likewise.
503 * testsuite/libffi.call/closure_fn2.c: Likewise.
504 * testsuite/libffi.call/closure_fn3.c: Likewise.
505 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
506 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
507 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
508 * testsuite/libffi.call/cls_2byte.c: Likewise.
509 * testsuite/libffi.call/cls_3byte1.c: Likewise.
510 * testsuite/libffi.call/cls_3byte2.c: Likewise.
511 * testsuite/libffi.call/cls_4byte.c: Likewise.
512 * testsuite/libffi.call/cls_5byte.c: Likewise.
513 * testsuite/libffi.call/cls_6byte.c: Likewise.
514 * testsuite/libffi.call/cls_7byte.c: Likewise.
515 * testsuite/libffi.call/cls_8byte.c: Likewise.
516 * testsuite/libffi.call/cls_12byte.c: Likewise.
517 * testsuite/libffi.call/cls_16byte.c: Likewise.
518 * testsuite/libffi.call/cls_20byte.c: Likewise.
519 * testsuite/libffi.call/cls_24byte.c: Likewise.
520 * testsuite/libffi.call/cls_double.c: Likewise.
521 * testsuite/libffi.call/cls_float.c: Likewise.
522 * testsuite/libffi.call/cls_uchar.c: Likewise.
523 * testsuite/libffi.call/cls_uint.c: Likewise.
524 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
525 * testsuite/libffi.call/cls_ushort.c: Likewise.
526 * testsuite/libffi.call/float.c: Likewise.
527 * testsuite/libffi.call/float1.c: Likewise.
528 * testsuite/libffi.call/float2.c: Likewise.
529 * testsuite/libffi.call/many.c: Likewise.
530 * testsuite/libffi.call/many_win32.c: Likewise.
531 * testsuite/libffi.call/nested_struct.c: Likewise.
532 * testsuite/libffi.call/nested_struct1.c: Likewise.
533 * testsuite/libffi.call/pyobjc-tc.c: Likewise.
534 * testsuite/libffi.call/problem1.c: Likewise.
535 * testsuite/libffi.call/promotion.c: Likewise.
536 * testsuite/libffi.call/return_ll.c: Likewise.
537 * testsuite/libffi.call/return_sc.c: Likewise.
538 * testsuite/libffi.call/return_uc.c: Likewise.
539 * testsuite/libffi.call/strlen.c: Likewise.
540 * testsuite/libffi.call/strlen_win32.c: Likewise.
541 * testsuite/libffi.call/struct1.c: Likewise.
542 * testsuite/libffi.call/struct2.c: Likewise.
543 * testsuite/libffi.call/struct3.c: Likewise.
544 * testsuite/libffi.call/struct4.c: Likewise.
545 * testsuite/libffi.call/struct5.c: Likewise.
546 * testsuite/libffi.call/struct6.c: Likewise.
547 * testsuite/libffi.call/struct7.c: Likewise.
548 * testsuite/libffi.call/struct8.c: Likewise.
c930d8a5 549 * testsuite/libffi.call/struct9.c: Likewise.
bbf3057b
AT
550 * testsuite/libffi.special/special.exp: New file.
551 * testsuite/libffi.special/ffitestcxx.h: Likewise.
552 * testsuite/libffi.special/unwindtest.cc: Likewise.
553
c930d8a5 554
996b4f8f
KK
5552003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
556
557 * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
558 copyright years.
559
b00badcd
AM
5602003-08-02 Alan Modra <amodra@bigpond.net.au>
561
562 * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
563 structure passing.
564 (ffi_closure_helper_LINUX64): Likewise.
565 * src/powerpc/linux64.S: Remove code writing to parm save area.
566 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return
567 address in lr from ffi_closure_helper_LINUX64 call to calculate
568 table address. Optimize function tail.
569
c1516eae
AT
5702003-07-28 Andreas Tobler <a.tobler@schweiz.ch>
571
572 * src/sparc/ffi.c: Handle all floating point registers.
573 * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410.
574
fc0e6222
GP
5752003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
576
577 * README: Note that libffi is not part of GCC. Update the project
578 URL and status.
579
a1569df8
FS
5802003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
581
582 * src/powerpc/ppc_closure.S: Include ffi.h.
583
12e816bf
RO
5842003-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
585
586 * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
587 Use C style comments.
588
e860ed6d
KK
5892003-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
590
591 * Makefile.am: Add SHmedia support. Fix a typo of SH support.
592 * Makefile.in: Regenerate.
593 * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
594 * configure: Regenerate.
595 * include/ffi.h.in: Add SHmedia support.
596 * src/sh64/ffi.c: New file.
597 * src/sh64/sysv.S: New file.
598
a733b15e
JJ
5992003-05-16 Jakub Jelinek <jakub@redhat.com>
600
601 * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
602 should be read-only.
603 * configure: Rebuilt.
604 * fficonfig.h.in: Rebuilt.
605 * include/ffi.h.in (EH_FRAME_FLAGS): Define.
606 * src/alpha/osf.S: Use EH_FRAME_FLAGS.
607 * src/powerpc/linux64.S: Likewise.
608 * src/powerpc/linux64_closure.S: Likewise. Include ffi.h.
609 * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding
610 if -fpic/-fPIC/-mrelocatable.
611 * src/powerpc/powerpc_closure.S: Likewise.
612 * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
613 #write in .eh_frame flags.
614 * src/sparc/v9.S: Likewise.
615 * src/x86/unix64.S: Use EH_FRAME_FLAGS.
616 * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC.
617 * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h.
618
bd19c9f4
JS
6192003-05-07 Jeff Sturm <jsturm@one-point.com>
620
621 Fixes PR bootstrap/10656
622 * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler
623 support for .register pseudo-op.
624 * src/sparc/v8.S: Use it.
625 * fficonfig.h.in: Rebuilt.
626 * configure: Rebuilt.
627
e9b84181
JJ
6282003-04-18 Jakub Jelinek <jakub@redhat.com>
629
630 * include/ffi.h.in (POWERPC64): Define if 64-bit.
631 (enum ffi_abi): Add FFI_LINUX64 on POWERPC.
632 Make it the default on POWERPC64.
633 (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
634 * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
635 * configure: Rebuilt.
636 * src/powerpc/ffi.c (hidden): Define.
637 (ffi_prep_args_SYSV): Renamed from
638 ffi_prep_args. Cast pointers to unsigned long to shut up warnings.
639 (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
640 ASM_NEEDS_REGISTERS64): New.
641 (ffi_prep_args64): New function.
642 (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
643 (ffi_call): Likewise.
644 (ffi_prep_closure): Likewise.
645 (flush_icache): Surround by #ifndef POWERPC64.
646 (ffi_dblfl): New union type.
647 (ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
648 (ffi_closure_helper_LINUX64): New function.
649 * src/powerpc/ppc_closure.S: Surround whole file by #ifndef
650 __powerpc64__.
651 * src/powerpc/sysv.S: Likewise.
652 (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
653 * src/powerpc/linux64.S: New file.
654 * src/powerpc/linux64_closure.S: New file.
655 * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
656 src/powerpc/linux64_closure.S.
657 (TARGET_SRC_POWERPC): Likewise.
658
659 * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
660 closure_test_fn3): Fix result printing on big-endian 64-bit
661 machines.
662 (main): Print tst2_arg instead of uninitialized tst2_result.
663
664 * src/ffitest.c (main): Hide what closure pointer really points to
665 from the compiler.
666
908a31e1
RE
6672003-04-16 Richard Earnshaw <rearnsha@arm.com>
668
669 * configure.in (arm-*-netbsdelf*): Add configuration.
670 (configure): Regenerated.
671
41a73c4c
LR
6722003-04-04 Loren J. Rittle <ljrittle@acm.org>
673
674 * include/Makefile.in: Regenerate.
675
cd41c847
ZD
6762003-03-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
677
678 * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
679 bit mode.
680 * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
681 Receive closure pointer through parameter, read args using
682 __builtin_dwarf_cfa.
683 (FFI_INIT_TRAMPOLINE): Send closure reference through eax.
684
6db450f9
AS
6852003-03-12 Andreas Schwab <schwab@suse.de>
686
687 * configure.in: Avoid trailing /. in toolexeclibdir.
688 * configure: Rebuilt.
689
70144e9c
AT
6902003-03-03 Andreas Tobler <a.tobler@schweiz.ch>
691
692 * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
693
79e43f89
AT
6942003-02-06 Andreas Tobler <a.tobler@schweiz.ch>
695
696 * libffi/src/powerpc/darwin_closure.S:
697 Fix alignement bug, allocate 8 bytes for the result.
c930d8a5 698 * libffi/src/powerpc/aix_closure.S:
79e43f89
AT
699 Likewise.
700 * libffi/src/powerpc/ffi_darwin.c:
701 Update stackframe description for aix/darwin_closure.S.
c930d8a5 702
0fcc9e55
JJ
7032003-02-06 Jakub Jelinek <jakub@redhat.com>
704
705 * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
706 attribute.
707
63b87c2e
CC
7082003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>,
709 Andreas Schwab <schwab@suse.de>
710
711 * configure.in: Adjust command to source config-ml.in to account
712 for changes to the libffi_basedir definition.
713 (libffi_basedir): Remove ${srcdir} from value and include trailing
714 slash if nonempty.
c930d8a5 715
63b87c2e
CC
716 * configure: Regenerate.
717
c33402e2
FS
7182003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
719
720 * src/powerpc/ppc_closure.S: Recode to fit shared libs.
721
fd2e49b2
AH
7222003-01-28 Andrew Haley <aph@redhat.com>
723
724 * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
725 * src/x86/ffi64.c (ffi_prep_closure): New.
726 (ffi_closure_UNIX64_inner): New.
727 * src/x86/unix64.S (ffi_closure_UNIX64): New.
728
0e292c01
AO
7292003-01-27 Alexandre Oliva <aoliva@redhat.com>
730
731 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
732 Remove USE_LIBDIR conditional.
733 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
734 * Makefile.in, configure: Rebuilt.
735
acabc220
DE
7362003-01027 David Edelsohn <edelsohn@gnu.org>
737
738 * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
739 * Makefile.in: Regenerate.
740
be0acd42
AH
7412003-01-22 Andrew Haley <aph@redhat.com>
742
743 * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
744 unwind info.
745
ed695c8e
AT
7462003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
747
748 * src/powerpc/darwin.S: Add unwind info.
749 * src/powerpc/darwin_closure.S: Likewise.
750
45ba15f4
AH
7512003-01-14 Andrew Haley <aph@redhat.com>
752
753 * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
754 (ffi_prep_cif_machdep): Likewise.
755 * src/x86/unix64.S: Add unwind info.
756
4b5f402e
AJ
7572003-01-14 Andreas Jaeger <aj@suse.de>
758
759 * src/ffitest.c (main): Only use ffi_closures if those are
760 supported.
761
7b5102af
TT
7622003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
763
764 * libffi/src/ffitest.c
765 add closure testcases
766
7672003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
768
769 * libffi/src/powerpc/ffi.c
770 fix alignment bug for float (4 byte aligned iso 8 byte)
771
5f7c78d8
GK
7722003-01-09 Geoffrey Keating <geoffk@apple.com>
773
774 * src/powerpc/ffi_darwin.c: Remove RCS version string.
775 * src/powerpc/darwin.S: Remove RCS version string.
776
c75c7793
JS
7772003-01-03 Jeff Sturm <jsturm@one-point.com>
778
779 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
780 * src/ffitest.c (main): Use static storage for closure.
781 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
782 * src/sparc/v8.S (ffi_closure_v8): New.
783 * src/sparc/v9.S (ffi_closure_v9): New.
784
eb3c46a1
RM
7852002-11-10 Ranjit Mathew <rmathew@hotmail.com>
786
787 * include/ffi.h.in: Added FFI_STDCALL ffi_type
788 enumeration for X86_WIN32.
789 * src/x86/win32.S: Added ffi_call_STDCALL function
790 definition.
791 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
792 switch cases for recognising FFI_STDCALL and
793 calling ffi_call_STDCALL if target is X86_WIN32.
794 * src/ffitest.c (my_stdcall_strlen/stdcall_many):
795 stdcall versions of the "my_strlen" and "many"
796 test functions (for X86_WIN32).
797 Added test cases to test stdcall invocation using
798 these functions.
799
4977bab6
ZW
8002002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
801
802 * src/sh/sysv.S: Add DWARF2 unwind info.
803
67333e84
UW
8042002-11-27 Ulrich Weigand <uweigand@de.ibm.com>
805
806 * src/s390/sysv.S (.eh_frame section): Make section read-only.
807
bc3cf760
JW
8082002-11-26 Jim Wilson <wilson@redhat.com>
809
810 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
811
4977bab6
ZW
8122002-11-23 H.J. Lu <hjl@gnu.org>
813
814 * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
815 Include ../config/accross.m4.
816 * aclocal.m4; Rebuild.
817 * configure: Likewise.
818
18789f4e
UW
8192002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
820
821 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
822
6bee5372
DD
8232002-11-11 DJ Delorie <dj@redhat.com>
824
825 * configure.in: Look for common files in the right place.
826
8177895b
UW
8272002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
828
829 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
830 raw data as _Jv_word values, not ffi_raw.
831 (ffi_java_ptrarray_to_raw): Likewise.
832 (ffi_java_rvalue_to_raw): New function.
833 (ffi_java_raw_call): Call it.
834 (ffi_java_raw_to_rvalue): New function.
835 (ffi_java_translate_args): Call it.
836 * src/ffitest.c (closure_test_fn): Interpret return value
837 as ffi_arg, not int.
838 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
839 FFI_TYPE_POINTER case.
840 (ffi_closure_helper_SYSV): Likewise. Also, assume return
841 values extended to word size.
842
af50f4c8
AJ
8432002-10-02 Andreas Jaeger <aj@suse.de>
844
845 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
846
5d297584
BT
8472002-10-01 Bo Thorsen <bo@smetana.suse.de>
848
849 * include/ffi.h.in: Fix i386 win32 compilation.
850
c4f17c6f
UW
8512002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
852
853 * configure.in: Add s390x-*-linux-* target.
854 * configure: Regenerate.
855 * include/ffi.h.in: Define S390X for s390x targets.
856 (FFI_CLOSURES): Define for s390/s390x.
857 (FFI_TRAMPOLINE_SIZE): Likewise.
858 (FFI_NATIVE_RAW_API): Likewise.
859 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
860 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
4977bab6 861 * src/s390/ffi.c: Major rework of existing code. Add support for
c4f17c6f
UW
862 s390x targets. Add closure support.
863 * src/s390/sysv.S: Likewise.
864
d7b52625
RE
8652002-09-29 Richard Earnshaw <rearnsha@arm.com>
866
867 * src/arm/sysv.S: Fix typo.
868
28165e22
RE
8692002-09-28 Richard Earnshaw <rearnsha@arm.com>
870
871 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
872 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
873 (ffi_call_SYSV): Handle soft-float.
874
0b0f4163
BT
8752002-09-27 Bo Thorsen <bo@suse.de>
876
877 * include/ffi.h.in: Fix multilib x86-64 support.
878
6c5d742e
KG
8792002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
880
881 * Makefile.am (all-multi): Fix multilib parallel build.
882
f4b2b0d6
KK
8832002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
884
885 * configure.in (sh[34]*-*-linux*): Add brackets.
886 * configure: Regenerate.
887
ddebdfeb
KK
8882002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
889
890 * Makefile.am: Add SH support.
891 * Makefile.in: Regenerate.
892 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
893 * configure: Regenerate.
894 * include/ffi.h.in: Add SH support.
895 * src/sh/ffi.c: New file.
896 * src/sh/sysv.S: New file.
897 * src/types.c: Add SH support.
898
c94974ca
BT
8992002-07-16 Bo Thorsen <bo@suse.de>
900
901 * src/x86/ffi64.c: New file that adds x86-64 support.
902 * src/x86/unix64.S: New file that handles argument setup for
903 x86-64.
904 * src/x86/sysv.S: Don't use this on x86-64.
905 * src/x86/ffi.c: Don't use this on x86-64.
906 Remove unused vars.
907 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
908 for x86-64.
909 * src/ffitest.c (struct6): New test that tests a special case in
910 the x86-64 ABI.
911 (struct7): Likewise.
912 (struct8): Likewise.
913 (struct9): Likewise.
914 (closure_test_fn): Silence warning about this when it's not used.
915 (main): Add the new tests.
916 (main): Fix a couple of wrong casts and silence some compiler warnings.
917 * include/ffi.h.in: Add x86-64 ABI definition.
918 * fficonfig.h.in: Regenerate.
919 * Makefile.am: Add x86-64 support.
920 * configure.in: Likewise.
921 * Makefile.in: Regenerate.
922 * configure: Likewise.
923
9242002-06-24 Bo Thorsen <bo@suse.de>
925
926 * src/types.c: Merge settings for similar architectures.
927 Add x86-64 sizes and alignments.
928
9292002-06-23 Bo Thorsen <bo@suse.de>
930
931 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
932 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
933 * src/mips/ffi.c (ffi_prep_args): Likewise.
934 * src/m68k/ffi.c (ffi_prep_args): Likewise.
935
5be36a8f
L
9362002-07-18 H.J. Lu (hjl@gnu.org)
937
938 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
939 (libffi_la_SOURCES): Support MIPS_LINUX.
940 (libffi_convenience_la_SOURCES): Likewise.
941 * Makefile.in: Regenerated.
942
943 * configure.in (mips64*-*): Skip.
944 (mips*-*-linux*): New.
945 * configure: Regenerated.
946
947 * src/mips/ffi.c: Include <sgidefs.h>.
948
ad5e163c
UW
9492002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
950
951 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
952
ee4586c5
RS
9532002-05-27 Roger Sayle <roger@eyesopen.com>
954
955 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
956
b86aa7b0
BT
9572002-05-27 Bo Thorsen <bo@suse.de>
958
959 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
960 fix formatting.
961
859f7aaf
AT
9622002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
963
964 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
965 beginning of function (for older apple cc).
966
6706f116
AO
9672002-05-08 Alexandre Oliva <aoliva@redhat.com>
968
969 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
970 script entry, and set LD to it when configuring multilibs.
971 * configure: Rebuilt.
972
fad655c8
JT
9732002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
974
975 * configure.in (sparc64-*-netbsd*): Add target.
976 (sparc-*-netbsdelf*): Likewise.
977 * configure: Regenerate.
978
189ab118
DM
9792002-04-28 David S. Miller <davem@redhat.com>
980
981 * configure.in, configure: Fix SPARC test in previous change.
982
22bcf65c
GT
9832002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
984
985 * Makefile.am: Add Linux for S/390 support.
986 * Makefile.in: Regenerate.
987 * configure.in: Add Linux for S/390 support.
988 * configure: Regenerate.
989 * include/ffi.h.in: Add Linux for S/390 support.
990 * src/s390/ffi.c: New file from libffi CVS tree.
991 * src/s390/sysv.S: New file from libffi CVS tree.
992
5d84cf0b
JJ
9932002-04-28 Jakub Jelinek <jakub@redhat.com>
994
995 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
996 %r_disp32().
997 * src/sparc/v8.S: Use it.
998 * src/sparc/v9.S: Likewise.
999 * fficonfig.h.in: Rebuilt.
1000 * configure: Rebuilt.
1001
cc382e5c
HB
10022002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1003
1004 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
1005 correctly.
1006 * src/ia64/unix.S: Add unwind information. Fix comments.
1007 Save sp in a way that's compatible with unwind info.
1008 (ffi_call_unix): Correctly restore sp in all cases.
1009 * src/ia64/ffi.c: Add, fix comments.
1010
dc798645
JJ
10112002-04-08 Jakub Jelinek <jakub@redhat.com>
1012
1013 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
1014
da00eaab
JT
10152002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
1016
1017 * configure.in (alpha*-*-netbsd*): Add target.
1018 * configure: Regenerate.
1019
0c0b87ad
JS
10202002-04-04 Jeff Sturm <jsturm@one-point.com>
1021
1022 * src/sparc/v8.S: Add unwind info.
1023 * src/sparc/v9.S: Likewise.
1024
320d7e7a
KW
10252002-03-30 Krister Walfridsson <cato@df.lth.se>
1026
1027 * configure.in: Enable i*86-*-netbsdelf*.
1028 * configure: Rebuilt.
4977bab6 1029
c75e51ed
DB
10302002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
1031
1032 PR other/2620
1033 * src/mips/n32.s: Delete
1034 * src/mips/o32.s: Delete
1035
5bb366e0
LR
10362002-03-21 Loren J. Rittle <ljrittle@acm.org>
1037
1038 * configure.in: Enable alpha*-*-freebsd*.
1039 * configure: Rebuilt.
1040
ce3b24a7
BM
10412002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1042
1043 * Makefile.am: libfficonvenience -> libffi_convenience.
1044 * Makefile.in: Rebuilt.
4977bab6 1045
1eb7ba30
BM
1046 * Makefile.am: Define ffitest_OBJECTS.
1047 * Makefile.in: Rebuilt.
ce3b24a7 1048
073ae293
AT
10492002-03-07 Andreas Tobler <toa@pop.agri.ch>
1050 David Edelsohn <edelsohn@gnu.org>
1051
1052 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
1053 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
1054 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
1055 * Makefile.in: Regenerate.
1056 * include/ffi.h.in: Add AIX and Darwin closure definitions.
1057 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
1058 (flush_icache, flush_range): New functions.
1059 (ffi_closure_helper_DARWIN): New function.
1060 * src/powerpc/aix_closure.S: New file.
1061 * src/powerpc/darwin_closure.S: New file.
4977bab6 1062
02c521f4
JS
10632002-02-24 Jeff Sturm <jsturm@one-point.com>
1064
1065 * include/ffi.h.in: Add typedef for ffi_arg.
1066 * src/ffitest.c (main): Declare rint with ffi_arg.
4977bab6 1067
287dd527
AT
10682002-02-21 Andreas Tobler <toa@pop.agri.ch>
1069
1070 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
1071 number of GPRs for floating-point arguments.
1072
e2f2e70a
AG
10732002-01-31 Anthony Green <green@redhat.com>
1074
1075 * configure: Rebuilt.
1076 * configure.in: Replace CHECK_SIZEOF and endian tests with
1077 cross-compiler friendly macros.
1078 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
1079 macros.
1080
15b9b32f
DE
10812002-01-18 David Edelsohn <edelsohn@gnu.org>
1082
1083 * src/powerpc/darwin.S (_ffi_call_AIX): New.
1f7d5413 1084 * src/powerpc/aix.S (ffi_call_DARWIN): New.
15b9b32f 1085
2f4006f8
DE
10862002-01-17 David Edelsohn <edelsohn@gnu.org>
1087
1088 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
1089 (TARGET_SRC_POWERPC_AIX): New.
1090 (POWERPC_AIX): New stanza.
1091 * Makefile.in: Regenerate.
1092 * configure.in: Add AIX case.
1093 * configure: Regenerate.
1094 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
1095 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
1096 size. Fix "long double" support.
1097 (ffi_call): Add FFI_AIX case.
1098 * src/powerpc/aix.S: New.
1099
3c017635
JH
11002001-10-09 John Hornkvist <john@toastedmarshmallow.com>
1101
1102 Implement Darwin PowerPC ABI.
1103 * configure.in: Handle powerpc-*-darwin*.
1104 * Makefile.am: Set source files for POWERPC_DARWIN.
1105 * configure: Rebuilt.
1106 * Makefile.in: Rebuilt.
1107 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
1108 POWERPC_DARWIN.
1109 * src/powerpc/darwin.S: New file.
1110 * src/powerpc/ffi_darwin.c: New file.
1111
cc712abf
JM
11122001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1113
1114 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
1115
03a8de49
RO
11162001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1117
1118 * src/x86/sysv.S: Avoid gas-only .balign directive.
1119 Use C style comments.
1120
92a0e6c6
RO
11212001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1122
1123 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
1124 Fixes PR bootstrap/3563.
1125
57482f58
RO
11262001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1127
1128 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
1129
d7e2dd2f
RO
11302001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1131
1132 * configure.in: Recognize sparc*-sun-* host.
1133 * configure: Regenerate.
4977bab6 1134
be72207c
AH
11352001-06-06 Andrew Haley <aph@redhat.com>
1136
4075db8f 1137 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
be72207c 1138
552cb45a
AH
11392001-06-03 Andrew Haley <aph@redhat.com>
1140
4075db8f
BT
1141 * src/alpha/osf.S: Add unwind info.
1142 * src/powerpc/sysv.S: Add unwind info.
1143 * src/powerpc/ppc_closure.S: Likewise.
552cb45a 1144
7d45b968
JS
11452000-05-31 Jeff Sturm <jsturm@one-point.com>
1146
1147 * configure.in: Fix AC_ARG_ENABLE usage.
1148 * configure: Rebuilt.
1149
2a7f63c4
BM
11502001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1151
1152 * configure.in: Remove warning about beta code.
1153 * configure: Rebuilt.
1154
11552001-04-25 Hans Boehm <Hans_Boehm@hp.com>
1156
03a55252
HB
1157 * src/ia64/unix.S: Restore stack pointer when returning from
1158 ffi_closure_UNIX.
1159 * src/ia64/ffi.c: Fix typo in comment.
1160
df5da1c4
JW
11612001-04-18 Jim Wilson <wilson@redhat.com>
1162
1163 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
1164 to eliminate RAW DV.
1165
52c28977
BM
11662001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
1167
1168 * Makefile.am: Make a libtool convenience library.
1169 * Makefile.in: Rebuilt.
1170
3b905056
BM
11712001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
1172
1173 * configure.in: Use different syntax for subdirectory creation.
1174 * configure: Rebuilt.
1175
d6c4152a
JB
11762001-03-27 Jon Beniston <jon@beniston.com>
1177
1178 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
1179 * configure: Rebuilt.
1180 * Makefile.am: Added X86_WIN32 target support.
1181 * Makefile.in: Rebuilt.
1182
1183 * include/ffi.h.in: Added X86_WIN32 target support.
1184
1185 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
1186 * src/types.c: Added X86_WIN32 target support.
1187
1188 * src/x86/win32.S: New file. Based on sysv.S, but with EH
1189 stuff removed and made to work with CygWin's gas.
1190
675cdab3
BM
11912001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
1192
1193 * configure.in: Make target subdirectory in build dir.
1194 * Makefile.am: Override suffix based rules to specify correct output
1195 subdirectory.
1196 * Makefile.in: Rebuilt.
1197 * configure: Rebuilt.
1198
e5f8858a 11992001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
cc4c8975
KH
1200
1201 * src/powerpc/ppc_closure.S: New file.
1202 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
1203 involving long long and register pairs.
1204 (ffi_prep_closure): New function.
1205 (flush_icache): Likewise.
1206 (ffi_closure_helper_SYSV): Likewise.
1207 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
1208 (FFI_TRAMPOLINE_SIZE): Likewise.
1209 (FFI_NATIVE_RAW_API): Likewise.
1210 * Makefile.in: Rebuilt.
1211 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
1212 (TARGET_SRC_POWERPC): Likewise.
1213
9450a929
TT
12142001-03-19 Tom Tromey <tromey@redhat.com>
1215
1216 * Makefile.in: Rebuilt.
1217 * Makefile.am (ffitest_LDFLAGS): New macro.
1218
4d2cf715
NC
12192001-03-02 Nick Clifton <nickc@redhat.com>
1220
1221 * include/ffi.h.in: Remove RCS ident string.
1222 * include/ffi_mips.h: Remove RCS ident string.
1223 * src/debug.c: Remove RCS ident string.
1224 * src/ffitest.c: Remove RCS ident string.
1225 * src/prep_cif.c: Remove RCS ident string.
1226 * src/types.c: Remove RCS ident string.
1227 * src/alpha/ffi.c: Remove RCS ident string.
1228 * src/alpha/osf.S: Remove RCS ident string.
1229 * src/arm/ffi.c: Remove RCS ident string.
1230 * src/arm/sysv.S: Remove RCS ident string.
1231 * src/mips/ffi.c: Remove RCS ident string.
1232 * src/mips/n32.S: Remove RCS ident string.
1233 * src/mips/o32.S: Remove RCS ident string.
1234 * src/sparc/ffi.c: Remove RCS ident string.
1235 * src/sparc/v8.S: Remove RCS ident string.
1236 * src/sparc/v9.S: Remove RCS ident string.
1237 * src/x86/ffi.c: Remove RCS ident string.
1238 * src/x86/sysv.S: Remove RCS ident string.
1239
7e5fd99f
JM
12402001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
1241
1242 * include/ffi.h.in: Change sourceware.cygnus.com references to
1243 gcc.gnu.org.
1244
3f67ba6e
RH
12452000-12-09 Richard Henderson <rth@redhat.com>
1246
1247 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
1248 (ffi_closure_osf_inner): Index rather than increment avalue
1249 and arg_types. Give ffi_closure_osf the raw return value type.
1250 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
1251 promotion.
1252
12532000-12-07 Richard Henderson <rth@redhat.com>
29fe0479
RH
1254
1255 * src/raw_api.c (ffi_translate_args): Fix typo.
1256 (ffi_prep_closure): Likewise.
1257
1258 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
1259 FFI_TRAMPOLINE_SIZE.
1260 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
1261 cif->bytes for new ffi_call_osf implementation.
1262 (ffi_prep_args): Absorb into ...
1263 (ffi_call): ... here. Do all stack allocation here and
1264 avoid a callback function.
1265 (ffi_prep_closure, ffi_closure_osf_inner): New.
1266 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
1267 (ffi_closure_osf): New.
1268
2f7bf5b7
AO
12692000-09-10 Alexandre Oliva <aoliva@redhat.com>
1270
ed1c1a1a
AO
1271 * config.guess, config.sub, install-sh: Removed.
1272 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
1273 * Makefile.in: Rebuilt.
1274
2f7bf5b7
AO
1275 * acinclude.m4: Include libtool macros from the top level.
1276 * aclocal.m4, configure: Rebuilt.
1277
e15a68e7
AO
12782000-08-22 Alexandre Oliva <aoliva@redhat.com>
1279
1280 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
1281 * configure: Rebuilt.
1282
7f8c11d5
SB
12832000-05-11 Scott Bambrough <scottb@netwinder.org>
1284
4977bab6
ZW
1285 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
1286 memory correctly. Use conditional instructions, not branches where
7f8c11d5
SB
1287 possible.
1288
c5acf51f
TT
12892000-05-04 Tom Tromey <tromey@cygnus.com>
1290
1291 * configure: Rebuilt.
1292 * configure.in: Match `arm*-*-linux-*'.
1293 From Chris Dornan <cdornan@arm.com>.
1294
91bffbe9
JJ
12952000-04-28 Jakub Jelinek <jakub@redhat.com>
1296
1297 * Makefile.am (SUBDIRS): Define.
1298 (AM_MAKEFLAGS): Likewise.
1299 (Multilib support.): Add section.
1300 * Makefile.in: Rebuilt.
1301 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
4075db8f
BT
1302 New variables. Set for gcc using -print-multi-lib. Export them
1303 to libtool.
1304 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
1305 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
1306 for -shared links.
1307 (extra_compiler_flags_value, extra_compiler_flags): Check these
1308 for extra compiler options which need to be passed down in
1309 compiler_flags.
91bffbe9 1310
bd66587e
AG
13112000-04-16 Anthony Green <green@redhat.com>
1312
1313 * configure: Rebuilt.
1314 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
1315
3791773c
JJ
13162000-04-14 Jakub Jelinek <jakub@redhat.com>
1317
4075db8f 1318 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
3791773c
JJ
1319 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
1320 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
1321 Replace all void * sizeofs with sizeof(int).
1322 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
1323 different than DOUBLE.
1324 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
1325 (ffi_prep_args_v9): New function.
1326 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
1327 (ffi_V9_return_struct): New function.
1328 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
1329 32bit code (not yet cross-arch calls).
1330 * src/sparc/v8.S: Add struct return delay nop.
1331 Handle long long.
1332 * src/sparc/v9.S: New file.
1333 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
1334 is used on sparc64 only for structures larger than 32 bytes.
1335 Pass by reference for structures is done for structure arguments
1336 larger than 16 bytes.
1337 * src/ffitest.c (main): Use 64bit rint on sparc64.
1338 Run long long tests on sparc.
1339 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
1340 sparc64.
1341 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
1342 on sparc64.
1343 * configure.in (sparc-*-linux*): New supported target.
1344 (sparc64-*-linux*): Likewise.
1345 * configure: Rebuilt.
1346 * Makefile.am: Add v9.S to SPARC files.
1347 * Makefile.in: Likewise.
1348 (LINK): Surround $(CCLD) into double quotes, so that multilib
1349 compiles work correctly.
1350
db459595
APB
13512000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
1352
1353 * configure: Rebuilt.
1354 * configure.in: (i*86-*-solaris*): New libffi target. Patch
1355 proposed by Bryce McKinlay.
1356
c1f63902
TT
13572000-03-20 Tom Tromey <tromey@cygnus.com>
1358
1359 * Makefile.in: Hand edit for java_raw_api.lo.
1360
0f72dc9e
BM
13612000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
1362
1363 * config.guess, config.sub: Update from the gcc tree.
1364 Fix for PR libgcj/168.
1365
3c18f2d1
TT
13662000-03-03 Tom Tromey <tromey@cygnus.com>
1367
323eee8a
TT
1368 * Makefile.in: Fixed ia64 by hand.
1369
3c18f2d1
TT
1370 * configure: Rebuilt.
1371 * configure.in (--enable-multilib): New option.
1372 (libffi_basedir): New subst.
1373 (AC_OUTPUT): Added multilib code.
1374
a2b10a92
TT
13752000-03-02 Tom Tromey <tromey@cygnus.com>
1376
1377 * Makefile.in: Rebuilt.
1378 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
1379 directory name.
1380
dc5de370
HB
13812000-02-25 Hans Boehm <boehm@acm.org>
1382
1383 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
1384 files.
1385 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
1386 list.
1387 (ffi_prep_raw_closure): Use ffi_translate_args, not
1388 ffi_closure_translate.
1389 * src/java_raw_api.c: New file.
1390 * src/ffitest.c (closure_test_fn): New function.
1391 (main): Define `rint' as long long on IA64. Added new test when
1392 FFI_CLOSURES is defined.
1393 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
1394 (ffi_abi): Recognize IA64.
1395 (ffi_raw): Added `flt' field.
1396 Added "Java raw API" code.
1397 * configure.in: Recognize ia64.
1398 * Makefile.am (TARGET_SRC_IA64): New macro.
1399 (libffi_la_common_SOURCES): Added java_raw_api.c.
1400 (libffi_la_SOURCES): Define in IA64 case.
1401
d79229bd
TT
14022000-01-04 Tom Tromey <tromey@cygnus.com>
1403
1404 * Makefile.in: Rebuilt with newer automake.
1405
2c33b220
TT
14061999-12-31 Tom Tromey <tromey@cygnus.com>
1407
1408 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
1409
6ba9e3b0
TT
14101999-09-01 Tom Tromey <tromey@cygnus.com>
1411
1412 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
1413 undefs.
1414 * fficonfig.h.in: Rebuilt.
1415 * configure: Rebuilt.
1416 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
1417 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
1418 * acconfig.h: Don't #undef PACKAGE or VERSION.
1419
63e5e3e0
AG
14201999-08-09 Anthony Green <green@cygnus.com>
1421
1422 * include/ffi.h.in: Try to work around messy header problem
1423 with PACKAGE and VERSION.
1424
1425 * configure: Rebuilt.
1426 * configure.in: Change version to 2.00-beta.
1427
4075db8f 1428 * fficonfig.h.in: Rebuilt.
63e5e3e0
AG
1429 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
1430
1431 * src/x86/ffi.c (ffi_raw_call): Rename.
1432
14331999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
1434
1435 * src/x86/ffi.c (ffi_closure_SYSV): New function.
1436 (ffi_prep_incoming_args_SYSV): Ditto.
1437 (ffi_prep_closure): Ditto.
1438 (ffi_closure_raw_SYSV): Ditto.
1439 (ffi_prep_raw_closure): More ditto.
1440 (ffi_call_raw): Final ditto.
1441
1442 * include/ffi.h.in: Add definitions for closure and raw API.
1443
1444 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
4977bab6 1445 FFI_TYPE_UINT64.
63e5e3e0
AG
1446
1447 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
1448
1449 * src/raw_api.c: New file.
1450
1451 * include/ffi.h.in (ffi_raw): New type.
1452 (UINT_ARG, SINT_ARG): New defines.
1453 (ffi_closure, ffi_raw_closure): New types.
1454 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
4977bab6 1455
63e5e3e0
AG
1456 * configure.in: Add check for endianness and sizeof void*.
1457
1458 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
1459 instead of directly.
1460
1461 * configure: Rebuilt.
1462
1463Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
1464
1465 * configure.in: Add x86 and powerpc BeOS configurations.
1466 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
1467
14681999-05-09 Anthony Green <green@cygnus.com>
1469
1470 * configure.in: Add warning about this being beta code.
1471 Remove src/Makefile.am from the picture.
1472 * configure: Rebuilt.
1473
1474 * Makefile.am: Move logic from src/Makefile.am. Add changes
1475 to support libffi as a target library.
1476 * Makefile.in: Rebuilt.
1477
1478 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
1479 Upgraded to new autoconf, automake, libtool.
1480
1481 * README: Tweaks.
1482
1483 * LICENSE: Update copyright date.
1484
1485 * src/Makefile.am, src/Makefile.in: Removed.
1486
14871998-11-29 Anthony Green <green@cygnus.com>
1488
1489 * include/ChangeLog: Removed.
1490 * src/ChangeLog: Removed.
1491 * src/mips/ChangeLog: Removed.
1492 * src/sparc/ChangeLog: Remboved.
1493 * src/x86/ChangeLog: Removed.
1494
1495 * ChangeLog.v1: Created.