]> git.ipfire.org Git - thirdparty/gcc.git/blame - libffi/ChangeLog
re PR fortran/7681 (ICE in compensate_edge, at reg-stack.c:2591)
[thirdparty/gcc.git] / libffi / ChangeLog
CommitLineData
c33402e2
FS
12003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2
3 * src/powerpc/ppc_closure.S: Recode to fit shared libs.
4
fd2e49b2
AH
52003-01-28 Andrew Haley <aph@redhat.com>
6
7 * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
8 * src/x86/ffi64.c (ffi_prep_closure): New.
9 (ffi_closure_UNIX64_inner): New.
10 * src/x86/unix64.S (ffi_closure_UNIX64): New.
11
0e292c01
AO
122003-01-27 Alexandre Oliva <aoliva@redhat.com>
13
14 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
15 Remove USE_LIBDIR conditional.
16 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
17 * Makefile.in, configure: Rebuilt.
18
acabc220
DE
192003-01027 David Edelsohn <edelsohn@gnu.org>
20
21 * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
22 * Makefile.in: Regenerate.
23
be0acd42
AH
242003-01-22 Andrew Haley <aph@redhat.com>
25
26 * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
27 unwind info.
28
ed695c8e
AT
292003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
30
31 * src/powerpc/darwin.S: Add unwind info.
32 * src/powerpc/darwin_closure.S: Likewise.
33
45ba15f4
AH
342003-01-14 Andrew Haley <aph@redhat.com>
35
36 * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
37 (ffi_prep_cif_machdep): Likewise.
38 * src/x86/unix64.S: Add unwind info.
39
4b5f402e
AJ
402003-01-14 Andreas Jaeger <aj@suse.de>
41
42 * src/ffitest.c (main): Only use ffi_closures if those are
43 supported.
44
7b5102af
TT
452003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
46
47 * libffi/src/ffitest.c
48 add closure testcases
49
502003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
51
52 * libffi/src/powerpc/ffi.c
53 fix alignment bug for float (4 byte aligned iso 8 byte)
54
5f7c78d8
GK
552003-01-09 Geoffrey Keating <geoffk@apple.com>
56
57 * src/powerpc/ffi_darwin.c: Remove RCS version string.
58 * src/powerpc/darwin.S: Remove RCS version string.
59
c75c7793
JS
602003-01-03 Jeff Sturm <jsturm@one-point.com>
61
62 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
63 * src/ffitest.c (main): Use static storage for closure.
64 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
65 * src/sparc/v8.S (ffi_closure_v8): New.
66 * src/sparc/v9.S (ffi_closure_v9): New.
67
eb3c46a1
RM
682002-11-10 Ranjit Mathew <rmathew@hotmail.com>
69
70 * include/ffi.h.in: Added FFI_STDCALL ffi_type
71 enumeration for X86_WIN32.
72 * src/x86/win32.S: Added ffi_call_STDCALL function
73 definition.
74 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
75 switch cases for recognising FFI_STDCALL and
76 calling ffi_call_STDCALL if target is X86_WIN32.
77 * src/ffitest.c (my_stdcall_strlen/stdcall_many):
78 stdcall versions of the "my_strlen" and "many"
79 test functions (for X86_WIN32).
80 Added test cases to test stdcall invocation using
81 these functions.
82
4977bab6
ZW
832002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
84
85 * src/sh/sysv.S: Add DWARF2 unwind info.
86
67333e84
UW
872002-11-27 Ulrich Weigand <uweigand@de.ibm.com>
88
89 * src/s390/sysv.S (.eh_frame section): Make section read-only.
90
bc3cf760
JW
912002-11-26 Jim Wilson <wilson@redhat.com>
92
93 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
94
4977bab6
ZW
952002-11-23 H.J. Lu <hjl@gnu.org>
96
97 * acinclude.m4: Add dummy AM_PROG_LIBTOOL.
98 Include ../config/accross.m4.
99 * aclocal.m4; Rebuild.
100 * configure: Likewise.
101
18789f4e
UW
1022002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
103
104 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
105
6bee5372
DD
1062002-11-11 DJ Delorie <dj@redhat.com>
107
108 * configure.in: Look for common files in the right place.
109
8177895b
UW
1102002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
111
112 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
113 raw data as _Jv_word values, not ffi_raw.
114 (ffi_java_ptrarray_to_raw): Likewise.
115 (ffi_java_rvalue_to_raw): New function.
116 (ffi_java_raw_call): Call it.
117 (ffi_java_raw_to_rvalue): New function.
118 (ffi_java_translate_args): Call it.
119 * src/ffitest.c (closure_test_fn): Interpret return value
120 as ffi_arg, not int.
121 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
122 FFI_TYPE_POINTER case.
123 (ffi_closure_helper_SYSV): Likewise. Also, assume return
124 values extended to word size.
125
af50f4c8
AJ
1262002-10-02 Andreas Jaeger <aj@suse.de>
127
128 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
129
5d297584
BT
1302002-10-01 Bo Thorsen <bo@smetana.suse.de>
131
132 * include/ffi.h.in: Fix i386 win32 compilation.
133
c4f17c6f
UW
1342002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
135
136 * configure.in: Add s390x-*-linux-* target.
137 * configure: Regenerate.
138 * include/ffi.h.in: Define S390X for s390x targets.
139 (FFI_CLOSURES): Define for s390/s390x.
140 (FFI_TRAMPOLINE_SIZE): Likewise.
141 (FFI_NATIVE_RAW_API): Likewise.
142 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
143 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
4977bab6 144 * src/s390/ffi.c: Major rework of existing code. Add support for
c4f17c6f
UW
145 s390x targets. Add closure support.
146 * src/s390/sysv.S: Likewise.
147
d7b52625
RE
1482002-09-29 Richard Earnshaw <rearnsha@arm.com>
149
150 * src/arm/sysv.S: Fix typo.
151
28165e22
RE
1522002-09-28 Richard Earnshaw <rearnsha@arm.com>
153
154 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
155 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
156 (ffi_call_SYSV): Handle soft-float.
157
0b0f4163
BT
1582002-09-27 Bo Thorsen <bo@suse.de>
159
160 * include/ffi.h.in: Fix multilib x86-64 support.
161
6c5d742e
KG
1622002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
163
164 * Makefile.am (all-multi): Fix multilib parallel build.
165
f4b2b0d6
KK
1662002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
167
168 * configure.in (sh[34]*-*-linux*): Add brackets.
169 * configure: Regenerate.
170
ddebdfeb
KK
1712002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
172
173 * Makefile.am: Add SH support.
174 * Makefile.in: Regenerate.
175 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
176 * configure: Regenerate.
177 * include/ffi.h.in: Add SH support.
178 * src/sh/ffi.c: New file.
179 * src/sh/sysv.S: New file.
180 * src/types.c: Add SH support.
181
c94974ca
BT
1822002-07-16 Bo Thorsen <bo@suse.de>
183
184 * src/x86/ffi64.c: New file that adds x86-64 support.
185 * src/x86/unix64.S: New file that handles argument setup for
186 x86-64.
187 * src/x86/sysv.S: Don't use this on x86-64.
188 * src/x86/ffi.c: Don't use this on x86-64.
189 Remove unused vars.
190 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
191 for x86-64.
192 * src/ffitest.c (struct6): New test that tests a special case in
193 the x86-64 ABI.
194 (struct7): Likewise.
195 (struct8): Likewise.
196 (struct9): Likewise.
197 (closure_test_fn): Silence warning about this when it's not used.
198 (main): Add the new tests.
199 (main): Fix a couple of wrong casts and silence some compiler warnings.
200 * include/ffi.h.in: Add x86-64 ABI definition.
201 * fficonfig.h.in: Regenerate.
202 * Makefile.am: Add x86-64 support.
203 * configure.in: Likewise.
204 * Makefile.in: Regenerate.
205 * configure: Likewise.
206
2072002-06-24 Bo Thorsen <bo@suse.de>
208
209 * src/types.c: Merge settings for similar architectures.
210 Add x86-64 sizes and alignments.
211
2122002-06-23 Bo Thorsen <bo@suse.de>
213
214 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
215 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
216 * src/mips/ffi.c (ffi_prep_args): Likewise.
217 * src/m68k/ffi.c (ffi_prep_args): Likewise.
218
5be36a8f
L
2192002-07-18 H.J. Lu (hjl@gnu.org)
220
221 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
222 (libffi_la_SOURCES): Support MIPS_LINUX.
223 (libffi_convenience_la_SOURCES): Likewise.
224 * Makefile.in: Regenerated.
225
226 * configure.in (mips64*-*): Skip.
227 (mips*-*-linux*): New.
228 * configure: Regenerated.
229
230 * src/mips/ffi.c: Include <sgidefs.h>.
231
ad5e163c
UW
2322002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
233
234 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
235
ee4586c5
RS
2362002-05-27 Roger Sayle <roger@eyesopen.com>
237
238 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
239
b86aa7b0
BT
2402002-05-27 Bo Thorsen <bo@suse.de>
241
242 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
243 fix formatting.
244
859f7aaf
AT
2452002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
246
247 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
248 beginning of function (for older apple cc).
249
6706f116
AO
2502002-05-08 Alexandre Oliva <aoliva@redhat.com>
251
252 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
253 script entry, and set LD to it when configuring multilibs.
254 * configure: Rebuilt.
255
fad655c8
JT
2562002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
257
258 * configure.in (sparc64-*-netbsd*): Add target.
259 (sparc-*-netbsdelf*): Likewise.
260 * configure: Regenerate.
261
189ab118
DM
2622002-04-28 David S. Miller <davem@redhat.com>
263
264 * configure.in, configure: Fix SPARC test in previous change.
265
22bcf65c
GT
2662002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
267
268 * Makefile.am: Add Linux for S/390 support.
269 * Makefile.in: Regenerate.
270 * configure.in: Add Linux for S/390 support.
271 * configure: Regenerate.
272 * include/ffi.h.in: Add Linux for S/390 support.
273 * src/s390/ffi.c: New file from libffi CVS tree.
274 * src/s390/sysv.S: New file from libffi CVS tree.
275
5d84cf0b
JJ
2762002-04-28 Jakub Jelinek <jakub@redhat.com>
277
278 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
279 %r_disp32().
280 * src/sparc/v8.S: Use it.
281 * src/sparc/v9.S: Likewise.
282 * fficonfig.h.in: Rebuilt.
283 * configure: Rebuilt.
284
cc382e5c
HB
2852002-04-08 Hans Boehm <Hans_Boehm@hp.com>
286
287 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
288 correctly.
289 * src/ia64/unix.S: Add unwind information. Fix comments.
290 Save sp in a way that's compatible with unwind info.
291 (ffi_call_unix): Correctly restore sp in all cases.
292 * src/ia64/ffi.c: Add, fix comments.
293
dc798645
JJ
2942002-04-08 Jakub Jelinek <jakub@redhat.com>
295
296 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
297
da00eaab
JT
2982002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
299
300 * configure.in (alpha*-*-netbsd*): Add target.
301 * configure: Regenerate.
302
0c0b87ad
JS
3032002-04-04 Jeff Sturm <jsturm@one-point.com>
304
305 * src/sparc/v8.S: Add unwind info.
306 * src/sparc/v9.S: Likewise.
307
320d7e7a
KW
3082002-03-30 Krister Walfridsson <cato@df.lth.se>
309
310 * configure.in: Enable i*86-*-netbsdelf*.
311 * configure: Rebuilt.
4977bab6 312
c75e51ed
DB
3132002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
314
315 PR other/2620
316 * src/mips/n32.s: Delete
317 * src/mips/o32.s: Delete
318
5bb366e0
LR
3192002-03-21 Loren J. Rittle <ljrittle@acm.org>
320
321 * configure.in: Enable alpha*-*-freebsd*.
322 * configure: Rebuilt.
323
ce3b24a7
BM
3242002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
325
326 * Makefile.am: libfficonvenience -> libffi_convenience.
327 * Makefile.in: Rebuilt.
4977bab6 328
1eb7ba30
BM
329 * Makefile.am: Define ffitest_OBJECTS.
330 * Makefile.in: Rebuilt.
ce3b24a7 331
073ae293
AT
3322002-03-07 Andreas Tobler <toa@pop.agri.ch>
333 David Edelsohn <edelsohn@gnu.org>
334
335 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
336 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
337 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
338 * Makefile.in: Regenerate.
339 * include/ffi.h.in: Add AIX and Darwin closure definitions.
340 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
341 (flush_icache, flush_range): New functions.
342 (ffi_closure_helper_DARWIN): New function.
343 * src/powerpc/aix_closure.S: New file.
344 * src/powerpc/darwin_closure.S: New file.
4977bab6 345
02c521f4
JS
3462002-02-24 Jeff Sturm <jsturm@one-point.com>
347
348 * include/ffi.h.in: Add typedef for ffi_arg.
349 * src/ffitest.c (main): Declare rint with ffi_arg.
4977bab6 350
287dd527
AT
3512002-02-21 Andreas Tobler <toa@pop.agri.ch>
352
353 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
354 number of GPRs for floating-point arguments.
355
e2f2e70a
AG
3562002-01-31 Anthony Green <green@redhat.com>
357
358 * configure: Rebuilt.
359 * configure.in: Replace CHECK_SIZEOF and endian tests with
360 cross-compiler friendly macros.
361 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
362 macros.
363
15b9b32f
DE
3642002-01-18 David Edelsohn <edelsohn@gnu.org>
365
366 * src/powerpc/darwin.S (_ffi_call_AIX): New.
1f7d5413 367 * src/powerpc/aix.S (ffi_call_DARWIN): New.
15b9b32f 368
2f4006f8
DE
3692002-01-17 David Edelsohn <edelsohn@gnu.org>
370
371 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
372 (TARGET_SRC_POWERPC_AIX): New.
373 (POWERPC_AIX): New stanza.
374 * Makefile.in: Regenerate.
375 * configure.in: Add AIX case.
376 * configure: Regenerate.
377 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
378 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
379 size. Fix "long double" support.
380 (ffi_call): Add FFI_AIX case.
381 * src/powerpc/aix.S: New.
382
3c017635
JH
3832001-10-09 John Hornkvist <john@toastedmarshmallow.com>
384
385 Implement Darwin PowerPC ABI.
386 * configure.in: Handle powerpc-*-darwin*.
387 * Makefile.am: Set source files for POWERPC_DARWIN.
388 * configure: Rebuilt.
389 * Makefile.in: Rebuilt.
390 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
391 POWERPC_DARWIN.
392 * src/powerpc/darwin.S: New file.
393 * src/powerpc/ffi_darwin.c: New file.
394
cc712abf
JM
3952001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
396
397 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
398
03a8de49
RO
3992001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
400
401 * src/x86/sysv.S: Avoid gas-only .balign directive.
402 Use C style comments.
403
92a0e6c6
RO
4042001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
405
406 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
407 Fixes PR bootstrap/3563.
408
57482f58
RO
4092001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
410
411 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
412
d7e2dd2f
RO
4132001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
414
415 * configure.in: Recognize sparc*-sun-* host.
416 * configure: Regenerate.
4977bab6 417
be72207c
AH
4182001-06-06 Andrew Haley <aph@redhat.com>
419
4075db8f 420 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
be72207c 421
552cb45a
AH
4222001-06-03 Andrew Haley <aph@redhat.com>
423
4075db8f
BT
424 * src/alpha/osf.S: Add unwind info.
425 * src/powerpc/sysv.S: Add unwind info.
426 * src/powerpc/ppc_closure.S: Likewise.
552cb45a 427
7d45b968
JS
4282000-05-31 Jeff Sturm <jsturm@one-point.com>
429
430 * configure.in: Fix AC_ARG_ENABLE usage.
431 * configure: Rebuilt.
432
2a7f63c4
BM
4332001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
434
435 * configure.in: Remove warning about beta code.
436 * configure: Rebuilt.
437
4382001-04-25 Hans Boehm <Hans_Boehm@hp.com>
439
03a55252
HB
440 * src/ia64/unix.S: Restore stack pointer when returning from
441 ffi_closure_UNIX.
442 * src/ia64/ffi.c: Fix typo in comment.
443
df5da1c4
JW
4442001-04-18 Jim Wilson <wilson@redhat.com>
445
446 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
447 to eliminate RAW DV.
448
52c28977
BM
4492001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
450
451 * Makefile.am: Make a libtool convenience library.
452 * Makefile.in: Rebuilt.
453
3b905056
BM
4542001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
455
456 * configure.in: Use different syntax for subdirectory creation.
457 * configure: Rebuilt.
458
d6c4152a
JB
4592001-03-27 Jon Beniston <jon@beniston.com>
460
461 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
462 * configure: Rebuilt.
463 * Makefile.am: Added X86_WIN32 target support.
464 * Makefile.in: Rebuilt.
465
466 * include/ffi.h.in: Added X86_WIN32 target support.
467
468 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
469 * src/types.c: Added X86_WIN32 target support.
470
471 * src/x86/win32.S: New file. Based on sysv.S, but with EH
472 stuff removed and made to work with CygWin's gas.
473
675cdab3
BM
4742001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
475
476 * configure.in: Make target subdirectory in build dir.
477 * Makefile.am: Override suffix based rules to specify correct output
478 subdirectory.
479 * Makefile.in: Rebuilt.
480 * configure: Rebuilt.
481
e5f8858a 4822001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
cc4c8975
KH
483
484 * src/powerpc/ppc_closure.S: New file.
485 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
486 involving long long and register pairs.
487 (ffi_prep_closure): New function.
488 (flush_icache): Likewise.
489 (ffi_closure_helper_SYSV): Likewise.
490 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
491 (FFI_TRAMPOLINE_SIZE): Likewise.
492 (FFI_NATIVE_RAW_API): Likewise.
493 * Makefile.in: Rebuilt.
494 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
495 (TARGET_SRC_POWERPC): Likewise.
496
9450a929
TT
4972001-03-19 Tom Tromey <tromey@redhat.com>
498
499 * Makefile.in: Rebuilt.
500 * Makefile.am (ffitest_LDFLAGS): New macro.
501
4d2cf715
NC
5022001-03-02 Nick Clifton <nickc@redhat.com>
503
504 * include/ffi.h.in: Remove RCS ident string.
505 * include/ffi_mips.h: Remove RCS ident string.
506 * src/debug.c: Remove RCS ident string.
507 * src/ffitest.c: Remove RCS ident string.
508 * src/prep_cif.c: Remove RCS ident string.
509 * src/types.c: Remove RCS ident string.
510 * src/alpha/ffi.c: Remove RCS ident string.
511 * src/alpha/osf.S: Remove RCS ident string.
512 * src/arm/ffi.c: Remove RCS ident string.
513 * src/arm/sysv.S: Remove RCS ident string.
514 * src/mips/ffi.c: Remove RCS ident string.
515 * src/mips/n32.S: Remove RCS ident string.
516 * src/mips/o32.S: Remove RCS ident string.
517 * src/sparc/ffi.c: Remove RCS ident string.
518 * src/sparc/v8.S: Remove RCS ident string.
519 * src/sparc/v9.S: Remove RCS ident string.
520 * src/x86/ffi.c: Remove RCS ident string.
521 * src/x86/sysv.S: Remove RCS ident string.
522
7e5fd99f
JM
5232001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
524
525 * include/ffi.h.in: Change sourceware.cygnus.com references to
526 gcc.gnu.org.
527
3f67ba6e
RH
5282000-12-09 Richard Henderson <rth@redhat.com>
529
530 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
531 (ffi_closure_osf_inner): Index rather than increment avalue
532 and arg_types. Give ffi_closure_osf the raw return value type.
533 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
534 promotion.
535
5362000-12-07 Richard Henderson <rth@redhat.com>
29fe0479
RH
537
538 * src/raw_api.c (ffi_translate_args): Fix typo.
539 (ffi_prep_closure): Likewise.
540
541 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
542 FFI_TRAMPOLINE_SIZE.
543 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
544 cif->bytes for new ffi_call_osf implementation.
545 (ffi_prep_args): Absorb into ...
546 (ffi_call): ... here. Do all stack allocation here and
547 avoid a callback function.
548 (ffi_prep_closure, ffi_closure_osf_inner): New.
549 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
550 (ffi_closure_osf): New.
551
2f7bf5b7
AO
5522000-09-10 Alexandre Oliva <aoliva@redhat.com>
553
ed1c1a1a
AO
554 * config.guess, config.sub, install-sh: Removed.
555 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
556 * Makefile.in: Rebuilt.
557
2f7bf5b7
AO
558 * acinclude.m4: Include libtool macros from the top level.
559 * aclocal.m4, configure: Rebuilt.
560
e15a68e7
AO
5612000-08-22 Alexandre Oliva <aoliva@redhat.com>
562
563 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
564 * configure: Rebuilt.
565
7f8c11d5
SB
5662000-05-11 Scott Bambrough <scottb@netwinder.org>
567
4977bab6
ZW
568 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
569 memory correctly. Use conditional instructions, not branches where
7f8c11d5
SB
570 possible.
571
c5acf51f
TT
5722000-05-04 Tom Tromey <tromey@cygnus.com>
573
574 * configure: Rebuilt.
575 * configure.in: Match `arm*-*-linux-*'.
576 From Chris Dornan <cdornan@arm.com>.
577
91bffbe9
JJ
5782000-04-28 Jakub Jelinek <jakub@redhat.com>
579
580 * Makefile.am (SUBDIRS): Define.
581 (AM_MAKEFLAGS): Likewise.
582 (Multilib support.): Add section.
583 * Makefile.in: Rebuilt.
584 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
4075db8f
BT
585 New variables. Set for gcc using -print-multi-lib. Export them
586 to libtool.
587 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
588 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
589 for -shared links.
590 (extra_compiler_flags_value, extra_compiler_flags): Check these
591 for extra compiler options which need to be passed down in
592 compiler_flags.
91bffbe9 593
bd66587e
AG
5942000-04-16 Anthony Green <green@redhat.com>
595
596 * configure: Rebuilt.
597 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
598
3791773c
JJ
5992000-04-14 Jakub Jelinek <jakub@redhat.com>
600
4075db8f 601 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
3791773c
JJ
602 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
603 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
604 Replace all void * sizeofs with sizeof(int).
605 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
606 different than DOUBLE.
607 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
608 (ffi_prep_args_v9): New function.
609 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
610 (ffi_V9_return_struct): New function.
611 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
612 32bit code (not yet cross-arch calls).
613 * src/sparc/v8.S: Add struct return delay nop.
614 Handle long long.
615 * src/sparc/v9.S: New file.
616 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
617 is used on sparc64 only for structures larger than 32 bytes.
618 Pass by reference for structures is done for structure arguments
619 larger than 16 bytes.
620 * src/ffitest.c (main): Use 64bit rint on sparc64.
621 Run long long tests on sparc.
622 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
623 sparc64.
624 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
625 on sparc64.
626 * configure.in (sparc-*-linux*): New supported target.
627 (sparc64-*-linux*): Likewise.
628 * configure: Rebuilt.
629 * Makefile.am: Add v9.S to SPARC files.
630 * Makefile.in: Likewise.
631 (LINK): Surround $(CCLD) into double quotes, so that multilib
632 compiles work correctly.
633
db459595
APB
6342000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
635
636 * configure: Rebuilt.
637 * configure.in: (i*86-*-solaris*): New libffi target. Patch
638 proposed by Bryce McKinlay.
639
c1f63902
TT
6402000-03-20 Tom Tromey <tromey@cygnus.com>
641
642 * Makefile.in: Hand edit for java_raw_api.lo.
643
0f72dc9e
BM
6442000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
645
646 * config.guess, config.sub: Update from the gcc tree.
647 Fix for PR libgcj/168.
648
3c18f2d1
TT
6492000-03-03 Tom Tromey <tromey@cygnus.com>
650
323eee8a
TT
651 * Makefile.in: Fixed ia64 by hand.
652
3c18f2d1
TT
653 * configure: Rebuilt.
654 * configure.in (--enable-multilib): New option.
655 (libffi_basedir): New subst.
656 (AC_OUTPUT): Added multilib code.
657
a2b10a92
TT
6582000-03-02 Tom Tromey <tromey@cygnus.com>
659
660 * Makefile.in: Rebuilt.
661 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
662 directory name.
663
dc5de370
HB
6642000-02-25 Hans Boehm <boehm@acm.org>
665
666 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
667 files.
668 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
669 list.
670 (ffi_prep_raw_closure): Use ffi_translate_args, not
671 ffi_closure_translate.
672 * src/java_raw_api.c: New file.
673 * src/ffitest.c (closure_test_fn): New function.
674 (main): Define `rint' as long long on IA64. Added new test when
675 FFI_CLOSURES is defined.
676 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
677 (ffi_abi): Recognize IA64.
678 (ffi_raw): Added `flt' field.
679 Added "Java raw API" code.
680 * configure.in: Recognize ia64.
681 * Makefile.am (TARGET_SRC_IA64): New macro.
682 (libffi_la_common_SOURCES): Added java_raw_api.c.
683 (libffi_la_SOURCES): Define in IA64 case.
684
d79229bd
TT
6852000-01-04 Tom Tromey <tromey@cygnus.com>
686
687 * Makefile.in: Rebuilt with newer automake.
688
2c33b220
TT
6891999-12-31 Tom Tromey <tromey@cygnus.com>
690
691 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
692
6ba9e3b0
TT
6931999-09-01 Tom Tromey <tromey@cygnus.com>
694
695 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
696 undefs.
697 * fficonfig.h.in: Rebuilt.
698 * configure: Rebuilt.
699 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
700 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
701 * acconfig.h: Don't #undef PACKAGE or VERSION.
702
63e5e3e0
AG
7031999-08-09 Anthony Green <green@cygnus.com>
704
705 * include/ffi.h.in: Try to work around messy header problem
706 with PACKAGE and VERSION.
707
708 * configure: Rebuilt.
709 * configure.in: Change version to 2.00-beta.
710
4075db8f 711 * fficonfig.h.in: Rebuilt.
63e5e3e0
AG
712 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
713
714 * src/x86/ffi.c (ffi_raw_call): Rename.
715
7161999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
717
718 * src/x86/ffi.c (ffi_closure_SYSV): New function.
719 (ffi_prep_incoming_args_SYSV): Ditto.
720 (ffi_prep_closure): Ditto.
721 (ffi_closure_raw_SYSV): Ditto.
722 (ffi_prep_raw_closure): More ditto.
723 (ffi_call_raw): Final ditto.
724
725 * include/ffi.h.in: Add definitions for closure and raw API.
726
727 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
4977bab6 728 FFI_TYPE_UINT64.
63e5e3e0
AG
729
730 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
731
732 * src/raw_api.c: New file.
733
734 * include/ffi.h.in (ffi_raw): New type.
735 (UINT_ARG, SINT_ARG): New defines.
736 (ffi_closure, ffi_raw_closure): New types.
737 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
4977bab6 738
63e5e3e0
AG
739 * configure.in: Add check for endianness and sizeof void*.
740
741 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
742 instead of directly.
743
744 * configure: Rebuilt.
745
746Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
747
748 * configure.in: Add x86 and powerpc BeOS configurations.
749 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
750
7511999-05-09 Anthony Green <green@cygnus.com>
752
753 * configure.in: Add warning about this being beta code.
754 Remove src/Makefile.am from the picture.
755 * configure: Rebuilt.
756
757 * Makefile.am: Move logic from src/Makefile.am. Add changes
758 to support libffi as a target library.
759 * Makefile.in: Rebuilt.
760
761 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
762 Upgraded to new autoconf, automake, libtool.
763
764 * README: Tweaks.
765
766 * LICENSE: Update copyright date.
767
768 * src/Makefile.am, src/Makefile.in: Removed.
769
7701998-11-29 Anthony Green <green@cygnus.com>
771
772 * include/ChangeLog: Removed.
773 * src/ChangeLog: Removed.
774 * src/mips/ChangeLog: Removed.
775 * src/sparc/ChangeLog: Remboved.
776 * src/x86/ChangeLog: Removed.
777
778 * ChangeLog.v1: Created.