]> gcc.gnu.org Git - gcc.git/blame - libffi/ChangeLog
loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition...
[gcc.git] / libffi / ChangeLog
CommitLineData
ac47cc13
AT
12003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
2
3 * testsuite/libffi.call/cls_9byte2.c: New test case.
4 * testsuite/libffi.call/cls_9byte1.c: Likewise.
5 * testsuite/libffi.call/cls_64byte.c: Likewise.
6 * testsuite/libffi.call/cls_20byte1.c: Likewise.
7 * testsuite/libffi.call/cls_19byte.c: Likewise.
8 * testsuite/libffi.call/cls_18byte.c: Likewise.
9 * testsuite/libffi.call/closure_fn4.c: Likewise.
10 * testsuite/libffi.call/closure_fn5.c: Likewise.
11 * testsuite/libffi.call/cls_schar.c: Likewise.
12 * testsuite/libffi.call/cls_sint.c: Likewise.
13 * testsuite/libffi.call/cls_sshort.c: Likewise.
14 * testsuite/libffi.call/nested_struct2.c: Likewise.
15 * testsuite/libffi.call/nested_struct3.c: Likewise.
16
f145ed6b
AT
172003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
18
19 * testsuite/libffi.call/cls_double.c: Do a check on the result.
20 * testsuite/libffi.call/cls_uchar.c: Likewise.
21 * testsuite/libffi.call/cls_uint.c: Likewise.
22 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
23 * testsuite/libffi.call/cls_ushort.c: Likewise.
24 * testsuite/libffi.call/return_sc.c: Cleanup whitespaces.
25
2b04d015
AT
262003-11-06 Andreas Tobler <a.tobler@schweiz.ch>
27
28 * src/prep_cif.c (ffi_prep_cif): Move the validity check after
29 the initialization.
30
57f542b3
AT
312003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
32
2b04d015 33 * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
57f542b3
AT
34 FFI_ASSERT(FALSE) with FFI_ASSERT(0).
35
e61acf72
DD
362003-10-22 David Daney <ddaney@avtrex.com>
37
38 * src/mips/ffitarget.h: Replace undefined UINT32 and friends with
39 __attribute__((__mode__(__SI__))) and friends.
40
2461c08b
AS
412003-10-22 Andreas Schwab <schwab@suse.de>
42
43 * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
44
1450eb7a
AT
452003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
46
47 * configure.in: AC_LINK_FILES(ffitarget.h).
48 * configure: Regenerate.
49 * Makefile.in: Likewise.
50 * include/Makefile.in: Likewise.
51 * testsuite/Makefile.in: Likewise.
52 * fficonfig.h.in: Likewise.
53
542003-10-21 Paolo Bonzini <bonzini@gnu.org>
55 Richard Henderson <rth@redhat.com>
56
57 Avoid that ffi.h includes fficonfig.h.
58
59 * Makefile.am (EXTRA_DIST): Include ffitarget.h files
60 (TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
61 (TARGET_SRC_MIPS_SGI): Removed.
62 (MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
63 (MIPS_SGI): Removed.
64 (CLEANFILES): Removed.
65 (mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
66 targets.
67 * acconfig.h: Removed.
68 * configure.in: Compute sizeofs only for double and long double.
69 Use them to define and subst HAVE_LONG_DOUBLE. Include comments
70 into AC_DEFINE instead of using acconfig.h. Create
71 include/ffitarget.h instead of include/fficonfig.h. Rename
72 MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
73 AC_DEFINE EH_FRAME_FLAGS.
74 * include/Makefile.am (DISTCLEANFILES): New automake macro.
75 (hack_DATA): Add ffitarget.h.
76 * include/ffi.h.in: Remove all system specific definitions.
77 Declare raw API even if it is not installed, why bother?
78 Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
79 not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
80 ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
81 (UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
82 * include/ffi_common.h (bool): Do not define.
83 (ffi_assert): Accept failed assertion.
84 (ffi_type_test): Return void and accept file/line.
85 (FFI_ASSERT): Pass stringized failed assertion.
86 (FFI_ASSERT_AT): New macro.
87 (FFI_ASSERT_VALID_TYPE): New macro.
88 (UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
89 UINT64, SINT64): Define here with gcc's __attribute__ macro
90 instead of in ffi.h
91 (FLOAT32, ALIGN): Define here instead of in ffi.h
92 * include/ffi-mips.h: Removed. Its content moved to
93 src/mips/ffitarget.h after separating assembly and C sections.
94 * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
95 src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
96 src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
97 src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
98 SIZEOF_ARG -> FFI_SIZEOF_ARG.
99 * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
100 * src/debug.c (ffi_assert): Accept stringized failed assertion.
101 (ffi_type_test): Rewritten.
102 * src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
103 FFI_ASSERT_VALID_TYPE.
104 * src/alpha/ffitarget.h, src/arm/ffitarget.h,
105 src/ia64/ffitarget.h, src/m68k/ffitarget.h,
106 src/mips/ffitarget.h, src/powerpc/ffitarget.h,
107 src/s390/ffitarget.h, src/sh/ffitarget.h,
108 src/sh64/ffitarget.h, src/sparc/ffitarget.h,
109 src/x86/ffitarget.h: New files.
110 * src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
111 src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
112 src/powerpc/aix.S, src/powerpc/darwin.S,
113 src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
114 src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
115 src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
116 src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
117 src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
118 include fficonfig.h
119
27d54b2a
RO
1202003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
121
122 * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
123 _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
124
0df6970d
AT
1252003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
126
127 * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
128 Used when FFI_DEBUG = 1.
129
2612ffce
AM
1302003-10-14 Alan Modra <amodra@bigpond.net.au>
131
132 * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
133 and align.
134
d54f7354
RO
1352003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
136
137 * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
138 FFI_MIPS_O32 for O32 ABI.
139
7a54c850
AT
1402003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
141
142 * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
143 SPARC64. Cleanup whitespaces.
144
9e3bfa9b
AT
1452003-09-19 Andreas Tobler <a.tobler@schweiz.ch>
146
147 * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
148 strongarm, xscale. Cleanup whitespaces.
149 * testsuite/libffi.call/closure_fn1.c: Likewise.
150 * testsuite/libffi.call/closure_fn2.c: Likewise.
151 * testsuite/libffi.call/closure_fn3.c: Likewise.
152 * testsuite/libffi.call/cls_12byte.c: Likewise.
153 * testsuite/libffi.call/cls_16byte.c: Likewise.
154 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
155 * testsuite/libffi.call/cls_20byte.c: Likewise.
156 * testsuite/libffi.call/cls_24byte.c: Likewise.
157 * testsuite/libffi.call/cls_2byte.c: Likewise.
158 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
159 * testsuite/libffi.call/cls_3byte1.c: Likewise.
160 * testsuite/libffi.call/cls_3byte2.c: Likewise.
161 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
162 * testsuite/libffi.call/cls_4byte.c: Likewise.
163 * testsuite/libffi.call/cls_5byte.c: Likewise.
164 * testsuite/libffi.call/cls_6byte.c: Likewise.
165 * testsuite/libffi.call/cls_7byte.c: Likewise.
166 * testsuite/libffi.call/cls_8byte.c: Likewise.
167 * testsuite/libffi.call/cls_double.c: Likewise.
168 * testsuite/libffi.call/cls_float.c: Likewise.
169 * testsuite/libffi.call/cls_uchar.c: Likewise.
170 * testsuite/libffi.call/cls_uint.c: Likewise.
171 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
172 * testsuite/libffi.call/cls_ushort.c: Likewise.
173 * testsuite/libffi.call/nested_struct.c: Likewise.
174 * testsuite/libffi.call/nested_struct1.c: Likewise.
175 * testsuite/libffi.call/problem1.c: Likewise.
176 * testsuite/libffi.special/unwindtest.cc: Likewise.
177 * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.
178
3e86b595
DE
1792003-09-18 David Edelsohn <edelsohn@gnu.org>
180
181 * src/powerpc/aix.S: Cleanup whitespaces.
182 * src/powerpc/aix_closure.S: Likewise.
183
8d8369f8
AT
1842003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
185
186 * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
187 * src/powerpc/darwin_closure.S: Likewise.
188 * src/powerpc/ffi_darwin.c: Likewise.
189
69b182fd
AT
1902003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
191 David Edelsohn <edelsohn@gnu.org>
192
193 * src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
194 * src/powerpc/aix_closure.S: Remove the pointer to the outgoing
195 parameter stack.
196 * src/powerpc/darwin_closure.S: Likewise.
197 * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
198 according to the Darwin/AIX ABI.
199 (ffi_prep_cif_machdep): Likewise.
200 (ffi_closure_helper_DARWIN): Likewise.
201 Remove the outgoing parameter stack logic. Simplify the evaluation
202 of the different CASE types.
203 (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
204 statement in the trampoline code.
205
df805cdc
KK
2062003-09-18 Kaz Kojima <kkojima@gcc.gnu.org>
207
208 * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
209 for the register size.
210 (ffi_closure_helper_SYSV): Handle the structure return value
211 address correctly.
212 (ffi_closure_helper_SYSV): Return the appropriate type when
213 the registers are used for the structure return value.
214 * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
215 the 64-bit return value. Update copyright years.
216
eb26c76c
RO
2172003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
218
219 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
220 srcdir for ffi_mips.h.
221
6350c02c
AM
2222003-09-12 Alan Modra <amodra@bigpond.net.au>
223
224 * src/prep_cif.c (initialize_aggregate): Include tail padding in
225 structure size.
226 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
227 placement of float result.
228 * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct
229 cast of "resp" for big-endian 64 bit machines.
230
5af1c806
AM
2312003-09-11 Alan Modra <amodra@bigpond.net.au>
232
233 * src/types.c (double, longdouble): Merge identical SH and ARM
234 typedefs, and add POWERPC64.
235 * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
236 struct split over gpr and rest.
237 (ffi_prep_cif_machdep): Correct intarg_count for structures.
238 * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.
239
086a4bd7
AT
2402003-09-09 Andreas Tobler <a.tobler@schweiz.ch>
241
242 * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
243 passing correctly.
244
e517f636
AM
2452003-09-09 Alan Modra <amodra@bigpond.net.au>
246
247 * configure: Regenerate.
248
6f20d627
AT
2492003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
250
251 * Makefile.am: Remove build rules for ffitest.
252 * Makefile.in: Rebuilt.
253
2542003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
226660af
AT
255
256 * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
257 about implicit declaration of abort().
258
bbf3057b
AT
2592003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
260
261 * Makefile.am: Add dejagnu test framework. Fixes PR other/11411.
262 * Makefile.in: Rebuilt.
263 * configure.in: Add dejagnu test framework.
264 * configure: Rebuilt.
265
266 * testsuite/Makefile.am: New file.
267 * testsuite/Makefile.in: Built
268 * testsuite/lib/libffi-dg.exp: New file.
269 * testsuite/config/default.exp: Likewise.
270 * testsuite/libffi.call/call.exp: Likewise.
271 * testsuite/libffi.call/ffitest.h: Likewise.
272 * testsuite/libffi.call/closure_fn0.c: Likewise.
273 * testsuite/libffi.call/closure_fn1.c: Likewise.
274 * testsuite/libffi.call/closure_fn2.c: Likewise.
275 * testsuite/libffi.call/closure_fn3.c: Likewise.
276 * testsuite/libffi.call/cls_1_1byte.c: Likewise.
277 * testsuite/libffi.call/cls_3_1byte.c: Likewise.
278 * testsuite/libffi.call/cls_4_1byte.c: Likewise.
279 * testsuite/libffi.call/cls_2byte.c: Likewise.
280 * testsuite/libffi.call/cls_3byte1.c: Likewise.
281 * testsuite/libffi.call/cls_3byte2.c: Likewise.
282 * testsuite/libffi.call/cls_4byte.c: Likewise.
283 * testsuite/libffi.call/cls_5byte.c: Likewise.
284 * testsuite/libffi.call/cls_6byte.c: Likewise.
285 * testsuite/libffi.call/cls_7byte.c: Likewise.
286 * testsuite/libffi.call/cls_8byte.c: Likewise.
287 * testsuite/libffi.call/cls_12byte.c: Likewise.
288 * testsuite/libffi.call/cls_16byte.c: Likewise.
289 * testsuite/libffi.call/cls_20byte.c: Likewise.
290 * testsuite/libffi.call/cls_24byte.c: Likewise.
291 * testsuite/libffi.call/cls_double.c: Likewise.
292 * testsuite/libffi.call/cls_float.c: Likewise.
293 * testsuite/libffi.call/cls_uchar.c: Likewise.
294 * testsuite/libffi.call/cls_uint.c: Likewise.
295 * testsuite/libffi.call/cls_ulonglong.c: Likewise.
296 * testsuite/libffi.call/cls_ushort.c: Likewise.
297 * testsuite/libffi.call/float.c: Likewise.
298 * testsuite/libffi.call/float1.c: Likewise.
299 * testsuite/libffi.call/float2.c: Likewise.
300 * testsuite/libffi.call/many.c: Likewise.
301 * testsuite/libffi.call/many_win32.c: Likewise.
302 * testsuite/libffi.call/nested_struct.c: Likewise.
303 * testsuite/libffi.call/nested_struct1.c: Likewise.
304 * testsuite/libffi.call/pyobjc-tc.c: Likewise.
305 * testsuite/libffi.call/problem1.c: Likewise.
306 * testsuite/libffi.call/promotion.c: Likewise.
307 * testsuite/libffi.call/return_ll.c: Likewise.
308 * testsuite/libffi.call/return_sc.c: Likewise.
309 * testsuite/libffi.call/return_uc.c: Likewise.
310 * testsuite/libffi.call/strlen.c: Likewise.
311 * testsuite/libffi.call/strlen_win32.c: Likewise.
312 * testsuite/libffi.call/struct1.c: Likewise.
313 * testsuite/libffi.call/struct2.c: Likewise.
314 * testsuite/libffi.call/struct3.c: Likewise.
315 * testsuite/libffi.call/struct4.c: Likewise.
316 * testsuite/libffi.call/struct5.c: Likewise.
317 * testsuite/libffi.call/struct6.c: Likewise.
318 * testsuite/libffi.call/struct7.c: Likewise.
319 * testsuite/libffi.call/struct8.c: Likewise.
320 * testsuite/libffi.call/struct9.c: Likewise.
321 * testsuite/libffi.special/special.exp: New file.
322 * testsuite/libffi.special/ffitestcxx.h: Likewise.
323 * testsuite/libffi.special/unwindtest.cc: Likewise.
324
325
996b4f8f
KK
3262003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
327
328 * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
329 copyright years.
330
b00badcd
AM
3312003-08-02 Alan Modra <amodra@bigpond.net.au>
332
333 * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
334 structure passing.
335 (ffi_closure_helper_LINUX64): Likewise.
336 * src/powerpc/linux64.S: Remove code writing to parm save area.
337 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return
338 address in lr from ffi_closure_helper_LINUX64 call to calculate
339 table address. Optimize function tail.
340
c1516eae
AT
3412003-07-28 Andreas Tobler <a.tobler@schweiz.ch>
342
343 * src/sparc/ffi.c: Handle all floating point registers.
344 * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410.
345
fc0e6222
GP
3462003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
347
348 * README: Note that libffi is not part of GCC. Update the project
349 URL and status.
350
a1569df8
FS
3512003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
352
353 * src/powerpc/ppc_closure.S: Include ffi.h.
354
12e816bf
RO
3552003-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
356
357 * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
358 Use C style comments.
359
e860ed6d
KK
3602003-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
361
362 * Makefile.am: Add SHmedia support. Fix a typo of SH support.
363 * Makefile.in: Regenerate.
364 * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
365 * configure: Regenerate.
366 * include/ffi.h.in: Add SHmedia support.
367 * src/sh64/ffi.c: New file.
368 * src/sh64/sysv.S: New file.
369
a733b15e
JJ
3702003-05-16 Jakub Jelinek <jakub@redhat.com>
371
372 * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
373 should be read-only.
374 * configure: Rebuilt.
375 * fficonfig.h.in: Rebuilt.
376 * include/ffi.h.in (EH_FRAME_FLAGS): Define.
377 * src/alpha/osf.S: Use EH_FRAME_FLAGS.
378 * src/powerpc/linux64.S: Likewise.
379 * src/powerpc/linux64_closure.S: Likewise. Include ffi.h.
380 * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding
381 if -fpic/-fPIC/-mrelocatable.
382 * src/powerpc/powerpc_closure.S: Likewise.
383 * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
384 #write in .eh_frame flags.
385 * src/sparc/v9.S: Likewise.
386 * src/x86/unix64.S: Use EH_FRAME_FLAGS.
387 * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC.
388 * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h.
389
bd19c9f4
JS
3902003-05-07 Jeff Sturm <jsturm@one-point.com>
391
392 Fixes PR bootstrap/10656
393 * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler
394 support for .register pseudo-op.
395 * src/sparc/v8.S: Use it.
396 * fficonfig.h.in: Rebuilt.
397 * configure: Rebuilt.
398
e9b84181
JJ
3992003-04-18 Jakub Jelinek <jakub@redhat.com>
400
401 * include/ffi.h.in (POWERPC64): Define if 64-bit.
402 (enum ffi_abi): Add FFI_LINUX64 on POWERPC.
403 Make it the default on POWERPC64.
404 (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
405 * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
406 * configure: Rebuilt.
407 * src/powerpc/ffi.c (hidden): Define.
408 (ffi_prep_args_SYSV): Renamed from
409 ffi_prep_args. Cast pointers to unsigned long to shut up warnings.
410 (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
411 ASM_NEEDS_REGISTERS64): New.
412 (ffi_prep_args64): New function.
413 (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
414 (ffi_call): Likewise.
415 (ffi_prep_closure): Likewise.
416 (flush_icache): Surround by #ifndef POWERPC64.
417 (ffi_dblfl): New union type.
418 (ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
419 (ffi_closure_helper_LINUX64): New function.
420 * src/powerpc/ppc_closure.S: Surround whole file by #ifndef
421 __powerpc64__.
422 * src/powerpc/sysv.S: Likewise.
423 (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
424 * src/powerpc/linux64.S: New file.
425 * src/powerpc/linux64_closure.S: New file.
426 * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
427 src/powerpc/linux64_closure.S.
428 (TARGET_SRC_POWERPC): Likewise.
429
430 * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
431 closure_test_fn3): Fix result printing on big-endian 64-bit
432 machines.
433 (main): Print tst2_arg instead of uninitialized tst2_result.
434
435 * src/ffitest.c (main): Hide what closure pointer really points to
436 from the compiler.
437
908a31e1
RE
4382003-04-16 Richard Earnshaw <rearnsha@arm.com>
439
440 * configure.in (arm-*-netbsdelf*): Add configuration.
441 (configure): Regenerated.
442
41a73c4c
LR
4432003-04-04 Loren J. Rittle <ljrittle@acm.org>
444
445 * include/Makefile.in: Regenerate.
446
cd41c847
ZD
4472003-03-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
448
449 * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
450 bit mode.
451 * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
452 Receive closure pointer through parameter, read args using
453 __builtin_dwarf_cfa.
454 (FFI_INIT_TRAMPOLINE): Send closure reference through eax.
455
6db450f9
AS
4562003-03-12 Andreas Schwab <schwab@suse.de>
457
458 * configure.in: Avoid trailing /. in toolexeclibdir.
459 * configure: Rebuilt.
460
70144e9c
AT
4612003-03-03 Andreas Tobler <a.tobler@schweiz.ch>
462
463 * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
464
79e43f89
AT
4652003-02-06 Andreas Tobler <a.tobler@schweiz.ch>
466
467 * libffi/src/powerpc/darwin_closure.S:
468 Fix alignement bug, allocate 8 bytes for the result.
469 * libffi/src/powerpc/aix_closure.S:
470 Likewise.
471 * libffi/src/powerpc/ffi_darwin.c:
472 Update stackframe description for aix/darwin_closure.S.
473
0fcc9e55
JJ
4742003-02-06 Jakub Jelinek <jakub@redhat.com>
475
476 * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
477 attribute.
478
63b87c2e
CC
4792003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>,
480 Andreas Schwab <schwab@suse.de>
481
482 * configure.in: Adjust command to source config-ml.in to account
483 for changes to the libffi_basedir definition.
484 (libffi_basedir): Remove ${srcdir} from value and include trailing
485 slash if nonempty.
486
487 * configure: Regenerate.
488
c33402e2
FS
4892003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
490
491 * src/powerpc/ppc_closure.S: Recode to fit shared libs.
492
fd2e49b2
AH
4932003-01-28 Andrew Haley <aph@redhat.com>
494
495 * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
496 * src/x86/ffi64.c (ffi_prep_closure): New.
497 (ffi_closure_UNIX64_inner): New.
498 * src/x86/unix64.S (ffi_closure_UNIX64): New.
499
0e292c01
AO
5002003-01-27 Alexandre Oliva <aoliva@redhat.com>
501
502 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
503 Remove USE_LIBDIR conditional.
504 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
505 * Makefile.in, configure: Rebuilt.
506
acabc220
DE
5072003-01027 David Edelsohn <edelsohn@gnu.org>
508
509 * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
510 * Makefile.in: Regenerate.
511
be0acd42
AH
5122003-01-22 Andrew Haley <aph@redhat.com>
513
514 * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
515 unwind info.
516
ed695c8e
AT
5172003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
518
519 * src/powerpc/darwin.S: Add unwind info.
520 * src/powerpc/darwin_closure.S: Likewise.
521
45ba15f4
AH
5222003-01-14 Andrew Haley <aph@redhat.com>
523
524 * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
525 (ffi_prep_cif_machdep): Likewise.
526 * src/x86/unix64.S: Add unwind info.
527
4b5f402e
AJ
5282003-01-14 Andreas Jaeger <aj@suse.de>
529
530 * src/ffitest.c (main): Only use ffi_closures if those are
531 supported.
532
7b5102af
TT
5332003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
534
535 * libffi/src/ffitest.c
536 add closure testcases
537
5382003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
539
540 * libffi/src/powerpc/ffi.c
541 fix alignment bug for float (4 byte aligned iso 8 byte)
542
5f7c78d8
GK
5432003-01-09 Geoffrey Keating <geoffk@apple.com>
544
545 * src/powerpc/ffi_darwin.c: Remove RCS version string.
546 * src/powerpc/darwin.S: Remove RCS version string.
547
c75c7793
JS
5482003-01-03 Jeff Sturm <jsturm@one-point.com>
549
550 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
551 * src/ffitest.c (main): Use static storage for closure.
552 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
553 * src/sparc/v8.S (ffi_closure_v8): New.
554 * src/sparc/v9.S (ffi_closure_v9): New.
555
eb3c46a1
RM
5562002-11-10 Ranjit Mathew <rmathew@hotmail.com>
557
558 * include/ffi.h.in: Added FFI_STDCALL ffi_type
559 enumeration for X86_WIN32.
560 * src/x86/win32.S: Added ffi_call_STDCALL function
561 definition.
562 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
563 switch cases for recognising FFI_STDCALL and
564 calling ffi_call_STDCALL if target is X86_WIN32.
565 * src/ffitest.c (my_stdcall_strlen/stdcall_many):
566 stdcall versions of the "my_strlen" and "many"
567 test functions (for X86_WIN32).
568 Added test cases to test stdcall invocation using
569 these functions.
570
4977bab6
ZW
5712002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
572
573 * src/sh/sysv.S: Add DWARF2 unwind info.
574
67333e84
UW
5752002-11-27 Ulrich Weigand <uweigand@de.ibm.com>
576
577 * src/s390/sysv.S (.eh_frame section): Make section read-only.
578
bc3cf760
JW
5792002-11-26 Jim Wilson <wilson@redhat.com>
580
581 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
582
4977bab6
ZW
5832002-11-23 H.J. Lu <hjl@gnu.org>
584
585 * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
586 Include ../config/accross.m4.
587 * aclocal.m4; Rebuild.
588 * configure: Likewise.
589
18789f4e
UW
5902002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
591
592 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
593
6bee5372
DD
5942002-11-11 DJ Delorie <dj@redhat.com>
595
596 * configure.in: Look for common files in the right place.
597
8177895b
UW
5982002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
599
600 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
601 raw data as _Jv_word values, not ffi_raw.
602 (ffi_java_ptrarray_to_raw): Likewise.
603 (ffi_java_rvalue_to_raw): New function.
604 (ffi_java_raw_call): Call it.
605 (ffi_java_raw_to_rvalue): New function.
606 (ffi_java_translate_args): Call it.
607 * src/ffitest.c (closure_test_fn): Interpret return value
608 as ffi_arg, not int.
609 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
610 FFI_TYPE_POINTER case.
611 (ffi_closure_helper_SYSV): Likewise. Also, assume return
612 values extended to word size.
613
af50f4c8
AJ
6142002-10-02 Andreas Jaeger <aj@suse.de>
615
616 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
617
5d297584
BT
6182002-10-01 Bo Thorsen <bo@smetana.suse.de>
619
620 * include/ffi.h.in: Fix i386 win32 compilation.
621
c4f17c6f
UW
6222002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
623
624 * configure.in: Add s390x-*-linux-* target.
625 * configure: Regenerate.
626 * include/ffi.h.in: Define S390X for s390x targets.
627 (FFI_CLOSURES): Define for s390/s390x.
628 (FFI_TRAMPOLINE_SIZE): Likewise.
629 (FFI_NATIVE_RAW_API): Likewise.
630 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
631 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
4977bab6 632 * src/s390/ffi.c: Major rework of existing code. Add support for
c4f17c6f
UW
633 s390x targets. Add closure support.
634 * src/s390/sysv.S: Likewise.
635
d7b52625
RE
6362002-09-29 Richard Earnshaw <rearnsha@arm.com>
637
638 * src/arm/sysv.S: Fix typo.
639
28165e22
RE
6402002-09-28 Richard Earnshaw <rearnsha@arm.com>
641
642 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
643 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
644 (ffi_call_SYSV): Handle soft-float.
645
0b0f4163
BT
6462002-09-27 Bo Thorsen <bo@suse.de>
647
648 * include/ffi.h.in: Fix multilib x86-64 support.
649
6c5d742e
KG
6502002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
651
652 * Makefile.am (all-multi): Fix multilib parallel build.
653
f4b2b0d6
KK
6542002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
655
656 * configure.in (sh[34]*-*-linux*): Add brackets.
657 * configure: Regenerate.
658
ddebdfeb
KK
6592002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
660
661 * Makefile.am: Add SH support.
662 * Makefile.in: Regenerate.
663 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
664 * configure: Regenerate.
665 * include/ffi.h.in: Add SH support.
666 * src/sh/ffi.c: New file.
667 * src/sh/sysv.S: New file.
668 * src/types.c: Add SH support.
669
c94974ca
BT
6702002-07-16 Bo Thorsen <bo@suse.de>
671
672 * src/x86/ffi64.c: New file that adds x86-64 support.
673 * src/x86/unix64.S: New file that handles argument setup for
674 x86-64.
675 * src/x86/sysv.S: Don't use this on x86-64.
676 * src/x86/ffi.c: Don't use this on x86-64.
677 Remove unused vars.
678 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
679 for x86-64.
680 * src/ffitest.c (struct6): New test that tests a special case in
681 the x86-64 ABI.
682 (struct7): Likewise.
683 (struct8): Likewise.
684 (struct9): Likewise.
685 (closure_test_fn): Silence warning about this when it's not used.
686 (main): Add the new tests.
687 (main): Fix a couple of wrong casts and silence some compiler warnings.
688 * include/ffi.h.in: Add x86-64 ABI definition.
689 * fficonfig.h.in: Regenerate.
690 * Makefile.am: Add x86-64 support.
691 * configure.in: Likewise.
692 * Makefile.in: Regenerate.
693 * configure: Likewise.
694
6952002-06-24 Bo Thorsen <bo@suse.de>
696
697 * src/types.c: Merge settings for similar architectures.
698 Add x86-64 sizes and alignments.
699
7002002-06-23 Bo Thorsen <bo@suse.de>
701
702 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
703 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
704 * src/mips/ffi.c (ffi_prep_args): Likewise.
705 * src/m68k/ffi.c (ffi_prep_args): Likewise.
706
5be36a8f
L
7072002-07-18 H.J. Lu (hjl@gnu.org)
708
709 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
710 (libffi_la_SOURCES): Support MIPS_LINUX.
711 (libffi_convenience_la_SOURCES): Likewise.
712 * Makefile.in: Regenerated.
713
714 * configure.in (mips64*-*): Skip.
715 (mips*-*-linux*): New.
716 * configure: Regenerated.
717
718 * src/mips/ffi.c: Include <sgidefs.h>.
719
ad5e163c
UW
7202002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
721
722 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
723
ee4586c5
RS
7242002-05-27 Roger Sayle <roger@eyesopen.com>
725
726 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
727
b86aa7b0
BT
7282002-05-27 Bo Thorsen <bo@suse.de>
729
730 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
731 fix formatting.
732
859f7aaf
AT
7332002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
734
735 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
736 beginning of function (for older apple cc).
737
6706f116
AO
7382002-05-08 Alexandre Oliva <aoliva@redhat.com>
739
740 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
741 script entry, and set LD to it when configuring multilibs.
742 * configure: Rebuilt.
743
fad655c8
JT
7442002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
745
746 * configure.in (sparc64-*-netbsd*): Add target.
747 (sparc-*-netbsdelf*): Likewise.
748 * configure: Regenerate.
749
189ab118
DM
7502002-04-28 David S. Miller <davem@redhat.com>
751
752 * configure.in, configure: Fix SPARC test in previous change.
753
22bcf65c
GT
7542002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
755
756 * Makefile.am: Add Linux for S/390 support.
757 * Makefile.in: Regenerate.
758 * configure.in: Add Linux for S/390 support.
759 * configure: Regenerate.
760 * include/ffi.h.in: Add Linux for S/390 support.
761 * src/s390/ffi.c: New file from libffi CVS tree.
762 * src/s390/sysv.S: New file from libffi CVS tree.
763
5d84cf0b
JJ
7642002-04-28 Jakub Jelinek <jakub@redhat.com>
765
766 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
767 %r_disp32().
768 * src/sparc/v8.S: Use it.
769 * src/sparc/v9.S: Likewise.
770 * fficonfig.h.in: Rebuilt.
771 * configure: Rebuilt.
772
cc382e5c
HB
7732002-04-08 Hans Boehm <Hans_Boehm@hp.com>
774
775 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
776 correctly.
777 * src/ia64/unix.S: Add unwind information. Fix comments.
778 Save sp in a way that's compatible with unwind info.
779 (ffi_call_unix): Correctly restore sp in all cases.
780 * src/ia64/ffi.c: Add, fix comments.
781
dc798645
JJ
7822002-04-08 Jakub Jelinek <jakub@redhat.com>
783
784 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
785
da00eaab
JT
7862002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
787
788 * configure.in (alpha*-*-netbsd*): Add target.
789 * configure: Regenerate.
790
0c0b87ad
JS
7912002-04-04 Jeff Sturm <jsturm@one-point.com>
792
793 * src/sparc/v8.S: Add unwind info.
794 * src/sparc/v9.S: Likewise.
795
320d7e7a
KW
7962002-03-30 Krister Walfridsson <cato@df.lth.se>
797
798 * configure.in: Enable i*86-*-netbsdelf*.
799 * configure: Rebuilt.
4977bab6 800
c75e51ed
DB
8012002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
802
803 PR other/2620
804 * src/mips/n32.s: Delete
805 * src/mips/o32.s: Delete
806
5bb366e0
LR
8072002-03-21 Loren J. Rittle <ljrittle@acm.org>
808
809 * configure.in: Enable alpha*-*-freebsd*.
810 * configure: Rebuilt.
811
ce3b24a7
BM
8122002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
813
814 * Makefile.am: libfficonvenience -> libffi_convenience.
815 * Makefile.in: Rebuilt.
4977bab6 816
1eb7ba30
BM
817 * Makefile.am: Define ffitest_OBJECTS.
818 * Makefile.in: Rebuilt.
ce3b24a7 819
073ae293
AT
8202002-03-07 Andreas Tobler <toa@pop.agri.ch>
821 David Edelsohn <edelsohn@gnu.org>
822
823 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
824 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
825 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
826 * Makefile.in: Regenerate.
827 * include/ffi.h.in: Add AIX and Darwin closure definitions.
828 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
829 (flush_icache, flush_range): New functions.
830 (ffi_closure_helper_DARWIN): New function.
831 * src/powerpc/aix_closure.S: New file.
832 * src/powerpc/darwin_closure.S: New file.
4977bab6 833
02c521f4
JS
8342002-02-24 Jeff Sturm <jsturm@one-point.com>
835
836 * include/ffi.h.in: Add typedef for ffi_arg.
837 * src/ffitest.c (main): Declare rint with ffi_arg.
4977bab6 838
287dd527
AT
8392002-02-21 Andreas Tobler <toa@pop.agri.ch>
840
841 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
842 number of GPRs for floating-point arguments.
843
e2f2e70a
AG
8442002-01-31 Anthony Green <green@redhat.com>
845
846 * configure: Rebuilt.
847 * configure.in: Replace CHECK_SIZEOF and endian tests with
848 cross-compiler friendly macros.
849 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
850 macros.
851
15b9b32f
DE
8522002-01-18 David Edelsohn <edelsohn@gnu.org>
853
854 * src/powerpc/darwin.S (_ffi_call_AIX): New.
1f7d5413 855 * src/powerpc/aix.S (ffi_call_DARWIN): New.
15b9b32f 856
2f4006f8
DE
8572002-01-17 David Edelsohn <edelsohn@gnu.org>
858
859 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
860 (TARGET_SRC_POWERPC_AIX): New.
861 (POWERPC_AIX): New stanza.
862 * Makefile.in: Regenerate.
863 * configure.in: Add AIX case.
864 * configure: Regenerate.
865 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
866 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
867 size. Fix "long double" support.
868 (ffi_call): Add FFI_AIX case.
869 * src/powerpc/aix.S: New.
870
3c017635
JH
8712001-10-09 John Hornkvist <john@toastedmarshmallow.com>
872
873 Implement Darwin PowerPC ABI.
874 * configure.in: Handle powerpc-*-darwin*.
875 * Makefile.am: Set source files for POWERPC_DARWIN.
876 * configure: Rebuilt.
877 * Makefile.in: Rebuilt.
878 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
879 POWERPC_DARWIN.
880 * src/powerpc/darwin.S: New file.
881 * src/powerpc/ffi_darwin.c: New file.
882
cc712abf
JM
8832001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
884
885 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
886
03a8de49
RO
8872001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
888
889 * src/x86/sysv.S: Avoid gas-only .balign directive.
890 Use C style comments.
891
92a0e6c6
RO
8922001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
893
894 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
895 Fixes PR bootstrap/3563.
896
57482f58
RO
8972001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
898
899 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
900
d7e2dd2f
RO
9012001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
902
903 * configure.in: Recognize sparc*-sun-* host.
904 * configure: Regenerate.
4977bab6 905
be72207c
AH
9062001-06-06 Andrew Haley <aph@redhat.com>
907
4075db8f 908 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
be72207c 909
552cb45a
AH
9102001-06-03 Andrew Haley <aph@redhat.com>
911
4075db8f
BT
912 * src/alpha/osf.S: Add unwind info.
913 * src/powerpc/sysv.S: Add unwind info.
914 * src/powerpc/ppc_closure.S: Likewise.
552cb45a 915
7d45b968
JS
9162000-05-31 Jeff Sturm <jsturm@one-point.com>
917
918 * configure.in: Fix AC_ARG_ENABLE usage.
919 * configure: Rebuilt.
920
2a7f63c4
BM
9212001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
922
923 * configure.in: Remove warning about beta code.
924 * configure: Rebuilt.
925
9262001-04-25 Hans Boehm <Hans_Boehm@hp.com>
927
03a55252
HB
928 * src/ia64/unix.S: Restore stack pointer when returning from
929 ffi_closure_UNIX.
930 * src/ia64/ffi.c: Fix typo in comment.
931
df5da1c4
JW
9322001-04-18 Jim Wilson <wilson@redhat.com>
933
934 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
935 to eliminate RAW DV.
936
52c28977
BM
9372001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
938
939 * Makefile.am: Make a libtool convenience library.
940 * Makefile.in: Rebuilt.
941
3b905056
BM
9422001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
943
944 * configure.in: Use different syntax for subdirectory creation.
945 * configure: Rebuilt.
946
d6c4152a
JB
9472001-03-27 Jon Beniston <jon@beniston.com>
948
949 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
950 * configure: Rebuilt.
951 * Makefile.am: Added X86_WIN32 target support.
952 * Makefile.in: Rebuilt.
953
954 * include/ffi.h.in: Added X86_WIN32 target support.
955
956 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
957 * src/types.c: Added X86_WIN32 target support.
958
959 * src/x86/win32.S: New file. Based on sysv.S, but with EH
960 stuff removed and made to work with CygWin's gas.
961
675cdab3
BM
9622001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
963
964 * configure.in: Make target subdirectory in build dir.
965 * Makefile.am: Override suffix based rules to specify correct output
966 subdirectory.
967 * Makefile.in: Rebuilt.
968 * configure: Rebuilt.
969
e5f8858a 9702001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
cc4c8975
KH
971
972 * src/powerpc/ppc_closure.S: New file.
973 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
974 involving long long and register pairs.
975 (ffi_prep_closure): New function.
976 (flush_icache): Likewise.
977 (ffi_closure_helper_SYSV): Likewise.
978 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
979 (FFI_TRAMPOLINE_SIZE): Likewise.
980 (FFI_NATIVE_RAW_API): Likewise.
981 * Makefile.in: Rebuilt.
982 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
983 (TARGET_SRC_POWERPC): Likewise.
984
9450a929
TT
9852001-03-19 Tom Tromey <tromey@redhat.com>
986
987 * Makefile.in: Rebuilt.
988 * Makefile.am (ffitest_LDFLAGS): New macro.
989
4d2cf715
NC
9902001-03-02 Nick Clifton <nickc@redhat.com>
991
992 * include/ffi.h.in: Remove RCS ident string.
993 * include/ffi_mips.h: Remove RCS ident string.
994 * src/debug.c: Remove RCS ident string.
995 * src/ffitest.c: Remove RCS ident string.
996 * src/prep_cif.c: Remove RCS ident string.
997 * src/types.c: Remove RCS ident string.
998 * src/alpha/ffi.c: Remove RCS ident string.
999 * src/alpha/osf.S: Remove RCS ident string.
1000 * src/arm/ffi.c: Remove RCS ident string.
1001 * src/arm/sysv.S: Remove RCS ident string.
1002 * src/mips/ffi.c: Remove RCS ident string.
1003 * src/mips/n32.S: Remove RCS ident string.
1004 * src/mips/o32.S: Remove RCS ident string.
1005 * src/sparc/ffi.c: Remove RCS ident string.
1006 * src/sparc/v8.S: Remove RCS ident string.
1007 * src/sparc/v9.S: Remove RCS ident string.
1008 * src/x86/ffi.c: Remove RCS ident string.
1009 * src/x86/sysv.S: Remove RCS ident string.
1010
7e5fd99f
JM
10112001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
1012
1013 * include/ffi.h.in: Change sourceware.cygnus.com references to
1014 gcc.gnu.org.
1015
3f67ba6e
RH
10162000-12-09 Richard Henderson <rth@redhat.com>
1017
1018 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
1019 (ffi_closure_osf_inner): Index rather than increment avalue
1020 and arg_types. Give ffi_closure_osf the raw return value type.
1021 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
1022 promotion.
1023
10242000-12-07 Richard Henderson <rth@redhat.com>
29fe0479
RH
1025
1026 * src/raw_api.c (ffi_translate_args): Fix typo.
1027 (ffi_prep_closure): Likewise.
1028
1029 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
1030 FFI_TRAMPOLINE_SIZE.
1031 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
1032 cif->bytes for new ffi_call_osf implementation.
1033 (ffi_prep_args): Absorb into ...
1034 (ffi_call): ... here. Do all stack allocation here and
1035 avoid a callback function.
1036 (ffi_prep_closure, ffi_closure_osf_inner): New.
1037 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
1038 (ffi_closure_osf): New.
1039
2f7bf5b7
AO
10402000-09-10 Alexandre Oliva <aoliva@redhat.com>
1041
ed1c1a1a
AO
1042 * config.guess, config.sub, install-sh: Removed.
1043 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
1044 * Makefile.in: Rebuilt.
1045
2f7bf5b7
AO
1046 * acinclude.m4: Include libtool macros from the top level.
1047 * aclocal.m4, configure: Rebuilt.
1048
e15a68e7
AO
10492000-08-22 Alexandre Oliva <aoliva@redhat.com>
1050
1051 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
1052 * configure: Rebuilt.
1053
7f8c11d5
SB
10542000-05-11 Scott Bambrough <scottb@netwinder.org>
1055
4977bab6
ZW
1056 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
1057 memory correctly. Use conditional instructions, not branches where
7f8c11d5
SB
1058 possible.
1059
c5acf51f
TT
10602000-05-04 Tom Tromey <tromey@cygnus.com>
1061
1062 * configure: Rebuilt.
1063 * configure.in: Match `arm*-*-linux-*'.
1064 From Chris Dornan <cdornan@arm.com>.
1065
91bffbe9
JJ
10662000-04-28 Jakub Jelinek <jakub@redhat.com>
1067
1068 * Makefile.am (SUBDIRS): Define.
1069 (AM_MAKEFLAGS): Likewise.
1070 (Multilib support.): Add section.
1071 * Makefile.in: Rebuilt.
1072 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
4075db8f
BT
1073 New variables. Set for gcc using -print-multi-lib. Export them
1074 to libtool.
1075 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
1076 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
1077 for -shared links.
1078 (extra_compiler_flags_value, extra_compiler_flags): Check these
1079 for extra compiler options which need to be passed down in
1080 compiler_flags.
91bffbe9 1081
bd66587e
AG
10822000-04-16 Anthony Green <green@redhat.com>
1083
1084 * configure: Rebuilt.
1085 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
1086
3791773c
JJ
10872000-04-14 Jakub Jelinek <jakub@redhat.com>
1088
4075db8f 1089 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
3791773c
JJ
1090 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
1091 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
1092 Replace all void * sizeofs with sizeof(int).
1093 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
1094 different than DOUBLE.
1095 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
1096 (ffi_prep_args_v9): New function.
1097 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
1098 (ffi_V9_return_struct): New function.
1099 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
1100 32bit code (not yet cross-arch calls).
1101 * src/sparc/v8.S: Add struct return delay nop.
1102 Handle long long.
1103 * src/sparc/v9.S: New file.
1104 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
1105 is used on sparc64 only for structures larger than 32 bytes.
1106 Pass by reference for structures is done for structure arguments
1107 larger than 16 bytes.
1108 * src/ffitest.c (main): Use 64bit rint on sparc64.
1109 Run long long tests on sparc.
1110 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
1111 sparc64.
1112 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
1113 on sparc64.
1114 * configure.in (sparc-*-linux*): New supported target.
1115 (sparc64-*-linux*): Likewise.
1116 * configure: Rebuilt.
1117 * Makefile.am: Add v9.S to SPARC files.
1118 * Makefile.in: Likewise.
1119 (LINK): Surround $(CCLD) into double quotes, so that multilib
1120 compiles work correctly.
1121
db459595
APB
11222000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
1123
1124 * configure: Rebuilt.
1125 * configure.in: (i*86-*-solaris*): New libffi target. Patch
1126 proposed by Bryce McKinlay.
1127
c1f63902
TT
11282000-03-20 Tom Tromey <tromey@cygnus.com>
1129
1130 * Makefile.in: Hand edit for java_raw_api.lo.
1131
0f72dc9e
BM
11322000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
1133
1134 * config.guess, config.sub: Update from the gcc tree.
1135 Fix for PR libgcj/168.
1136
3c18f2d1
TT
11372000-03-03 Tom Tromey <tromey@cygnus.com>
1138
323eee8a
TT
1139 * Makefile.in: Fixed ia64 by hand.
1140
3c18f2d1
TT
1141 * configure: Rebuilt.
1142 * configure.in (--enable-multilib): New option.
1143 (libffi_basedir): New subst.
1144 (AC_OUTPUT): Added multilib code.
1145
a2b10a92
TT
11462000-03-02 Tom Tromey <tromey@cygnus.com>
1147
1148 * Makefile.in: Rebuilt.
1149 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
1150 directory name.
1151
dc5de370
HB
11522000-02-25 Hans Boehm <boehm@acm.org>
1153
1154 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
1155 files.
1156 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
1157 list.
1158 (ffi_prep_raw_closure): Use ffi_translate_args, not
1159 ffi_closure_translate.
1160 * src/java_raw_api.c: New file.
1161 * src/ffitest.c (closure_test_fn): New function.
1162 (main): Define `rint' as long long on IA64. Added new test when
1163 FFI_CLOSURES is defined.
1164 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
1165 (ffi_abi): Recognize IA64.
1166 (ffi_raw): Added `flt' field.
1167 Added "Java raw API" code.
1168 * configure.in: Recognize ia64.
1169 * Makefile.am (TARGET_SRC_IA64): New macro.
1170 (libffi_la_common_SOURCES): Added java_raw_api.c.
1171 (libffi_la_SOURCES): Define in IA64 case.
1172
d79229bd
TT
11732000-01-04 Tom Tromey <tromey@cygnus.com>
1174
1175 * Makefile.in: Rebuilt with newer automake.
1176
2c33b220
TT
11771999-12-31 Tom Tromey <tromey@cygnus.com>
1178
1179 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
1180
6ba9e3b0
TT
11811999-09-01 Tom Tromey <tromey@cygnus.com>
1182
1183 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
1184 undefs.
1185 * fficonfig.h.in: Rebuilt.
1186 * configure: Rebuilt.
1187 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
1188 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
1189 * acconfig.h: Don't #undef PACKAGE or VERSION.
1190
63e5e3e0
AG
11911999-08-09 Anthony Green <green@cygnus.com>
1192
1193 * include/ffi.h.in: Try to work around messy header problem
1194 with PACKAGE and VERSION.
1195
1196 * configure: Rebuilt.
1197 * configure.in: Change version to 2.00-beta.
1198
4075db8f 1199 * fficonfig.h.in: Rebuilt.
63e5e3e0
AG
1200 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
1201
1202 * src/x86/ffi.c (ffi_raw_call): Rename.
1203
12041999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
1205
1206 * src/x86/ffi.c (ffi_closure_SYSV): New function.
1207 (ffi_prep_incoming_args_SYSV): Ditto.
1208 (ffi_prep_closure): Ditto.
1209 (ffi_closure_raw_SYSV): Ditto.
1210 (ffi_prep_raw_closure): More ditto.
1211 (ffi_call_raw): Final ditto.
1212
1213 * include/ffi.h.in: Add definitions for closure and raw API.
1214
1215 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
4977bab6 1216 FFI_TYPE_UINT64.
63e5e3e0
AG
1217
1218 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
1219
1220 * src/raw_api.c: New file.
1221
1222 * include/ffi.h.in (ffi_raw): New type.
1223 (UINT_ARG, SINT_ARG): New defines.
1224 (ffi_closure, ffi_raw_closure): New types.
1225 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
4977bab6 1226
63e5e3e0
AG
1227 * configure.in: Add check for endianness and sizeof void*.
1228
1229 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
1230 instead of directly.
1231
1232 * configure: Rebuilt.
1233
1234Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
1235
1236 * configure.in: Add x86 and powerpc BeOS configurations.
1237 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
1238
12391999-05-09 Anthony Green <green@cygnus.com>
1240
1241 * configure.in: Add warning about this being beta code.
1242 Remove src/Makefile.am from the picture.
1243 * configure: Rebuilt.
1244
1245 * Makefile.am: Move logic from src/Makefile.am. Add changes
1246 to support libffi as a target library.
1247 * Makefile.in: Rebuilt.
1248
1249 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
1250 Upgraded to new autoconf, automake, libtool.
1251
1252 * README: Tweaks.
1253
1254 * LICENSE: Update copyright date.
1255
1256 * src/Makefile.am, src/Makefile.in: Removed.
1257
12581998-11-29 Anthony Green <green@cygnus.com>
1259
1260 * include/ChangeLog: Removed.
1261 * src/ChangeLog: Removed.
1262 * src/mips/ChangeLog: Removed.
1263 * src/sparc/ChangeLog: Remboved.
1264 * src/x86/ChangeLog: Removed.
1265
1266 * ChangeLog.v1: Created.
This page took 0.430893 seconds and 5 git commands to generate.