]> git.ipfire.org Git - thirdparty/gcc.git/blame - libffi/ChangeLog
Fix Portable .NET bug with IA-64 pointer size.
[thirdparty/gcc.git] / libffi / ChangeLog
CommitLineData
bc3cf760
JW
12002-11-26 Jim Wilson <wilson@redhat.com>
2
3 * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
4
18789f4e
UW
52002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
6
7 * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
8
6bee5372
DD
92002-11-11 DJ Delorie <dj@redhat.com>
10
11 * configure.in: Look for common files in the right place.
12
8177895b
UW
132002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
14
15 * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
16 raw data as _Jv_word values, not ffi_raw.
17 (ffi_java_ptrarray_to_raw): Likewise.
18 (ffi_java_rvalue_to_raw): New function.
19 (ffi_java_raw_call): Call it.
20 (ffi_java_raw_to_rvalue): New function.
21 (ffi_java_translate_args): Call it.
22 * src/ffitest.c (closure_test_fn): Interpret return value
23 as ffi_arg, not int.
24 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
25 FFI_TYPE_POINTER case.
26 (ffi_closure_helper_SYSV): Likewise. Also, assume return
27 values extended to word size.
28
af50f4c8
AJ
292002-10-02 Andreas Jaeger <aj@suse.de>
30
31 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
32
5d297584
BT
332002-10-01 Bo Thorsen <bo@smetana.suse.de>
34
35 * include/ffi.h.in: Fix i386 win32 compilation.
36
c4f17c6f
UW
372002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
38
39 * configure.in: Add s390x-*-linux-* target.
40 * configure: Regenerate.
41 * include/ffi.h.in: Define S390X for s390x targets.
42 (FFI_CLOSURES): Define for s390/s390x.
43 (FFI_TRAMPOLINE_SIZE): Likewise.
44 (FFI_NATIVE_RAW_API): Likewise.
45 * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
46 * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
47 * src/s390/ffi.c: Major rework of existing code. Add support for
48 s390x targets. Add closure support.
49 * src/s390/sysv.S: Likewise.
50
d7b52625
RE
512002-09-29 Richard Earnshaw <rearnsha@arm.com>
52
53 * src/arm/sysv.S: Fix typo.
54
28165e22
RE
552002-09-28 Richard Earnshaw <rearnsha@arm.com>
56
57 * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
58 has defined __USER_LABEL_PREFIX__, then use it in CNAME.
59 (ffi_call_SYSV): Handle soft-float.
60
0b0f4163
BT
612002-09-27 Bo Thorsen <bo@suse.de>
62
63 * include/ffi.h.in: Fix multilib x86-64 support.
64
6c5d742e
KG
652002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
66
67 * Makefile.am (all-multi): Fix multilib parallel build.
68
f4b2b0d6
KK
692002-07-19 Kaz Kojima <kkojima@gcc.gnu.org>
70
71 * configure.in (sh[34]*-*-linux*): Add brackets.
72 * configure: Regenerate.
73
ddebdfeb
KK
742002-07-18 Kaz Kojima <kkojima@gcc.gnu.org>
75
76 * Makefile.am: Add SH support.
77 * Makefile.in: Regenerate.
78 * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
79 * configure: Regenerate.
80 * include/ffi.h.in: Add SH support.
81 * src/sh/ffi.c: New file.
82 * src/sh/sysv.S: New file.
83 * src/types.c: Add SH support.
84
c94974ca
BT
852002-07-16 Bo Thorsen <bo@suse.de>
86
87 * src/x86/ffi64.c: New file that adds x86-64 support.
88 * src/x86/unix64.S: New file that handles argument setup for
89 x86-64.
90 * src/x86/sysv.S: Don't use this on x86-64.
91 * src/x86/ffi.c: Don't use this on x86-64.
92 Remove unused vars.
93 * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
94 for x86-64.
95 * src/ffitest.c (struct6): New test that tests a special case in
96 the x86-64 ABI.
97 (struct7): Likewise.
98 (struct8): Likewise.
99 (struct9): Likewise.
100 (closure_test_fn): Silence warning about this when it's not used.
101 (main): Add the new tests.
102 (main): Fix a couple of wrong casts and silence some compiler warnings.
103 * include/ffi.h.in: Add x86-64 ABI definition.
104 * fficonfig.h.in: Regenerate.
105 * Makefile.am: Add x86-64 support.
106 * configure.in: Likewise.
107 * Makefile.in: Regenerate.
108 * configure: Likewise.
109
1102002-06-24 Bo Thorsen <bo@suse.de>
111
112 * src/types.c: Merge settings for similar architectures.
113 Add x86-64 sizes and alignments.
114
1152002-06-23 Bo Thorsen <bo@suse.de>
116
117 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
118 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
119 * src/mips/ffi.c (ffi_prep_args): Likewise.
120 * src/m68k/ffi.c (ffi_prep_args): Likewise.
121
5be36a8f
L
1222002-07-18 H.J. Lu (hjl@gnu.org)
123
124 * Makefile.am (TARGET_SRC_MIPS_LINUX): New.
125 (libffi_la_SOURCES): Support MIPS_LINUX.
126 (libffi_convenience_la_SOURCES): Likewise.
127 * Makefile.in: Regenerated.
128
129 * configure.in (mips64*-*): Skip.
130 (mips*-*-linux*): New.
131 * configure: Regenerated.
132
133 * src/mips/ffi.c: Include <sgidefs.h>.
134
ad5e163c
UW
1352002-06-06 Ulrich Weigand <uweigand@de.ibm.com>
136
137 * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
138
ee4586c5
RS
1392002-05-27 Roger Sayle <roger@eyesopen.com>
140
141 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
142
b86aa7b0
BT
1432002-05-27 Bo Thorsen <bo@suse.de>
144
145 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
146 fix formatting.
147
859f7aaf
AT
1482002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
149
150 * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
151 beginning of function (for older apple cc).
152
6706f116
AO
1532002-05-08 Alexandre Oliva <aoliva@redhat.com>
154
155 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
156 script entry, and set LD to it when configuring multilibs.
157 * configure: Rebuilt.
158
fad655c8
JT
1592002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
160
161 * configure.in (sparc64-*-netbsd*): Add target.
162 (sparc-*-netbsdelf*): Likewise.
163 * configure: Regenerate.
164
189ab118
DM
1652002-04-28 David S. Miller <davem@redhat.com>
166
167 * configure.in, configure: Fix SPARC test in previous change.
168
22bcf65c
GT
1692002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
170
171 * Makefile.am: Add Linux for S/390 support.
172 * Makefile.in: Regenerate.
173 * configure.in: Add Linux for S/390 support.
174 * configure: Regenerate.
175 * include/ffi.h.in: Add Linux for S/390 support.
176 * src/s390/ffi.c: New file from libffi CVS tree.
177 * src/s390/sysv.S: New file from libffi CVS tree.
178
5d84cf0b
JJ
1792002-04-28 Jakub Jelinek <jakub@redhat.com>
180
181 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
182 %r_disp32().
183 * src/sparc/v8.S: Use it.
184 * src/sparc/v9.S: Likewise.
185 * fficonfig.h.in: Rebuilt.
186 * configure: Rebuilt.
187
cc382e5c
HB
1882002-04-08 Hans Boehm <Hans_Boehm@hp.com>
189
190 * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
191 correctly.
192 * src/ia64/unix.S: Add unwind information. Fix comments.
193 Save sp in a way that's compatible with unwind info.
194 (ffi_call_unix): Correctly restore sp in all cases.
195 * src/ia64/ffi.c: Add, fix comments.
196
dc798645
JJ
1972002-04-08 Jakub Jelinek <jakub@redhat.com>
198
199 * src/sparc/v8.S: Make .eh_frame dependent on target word size.
200
da00eaab
JT
2012002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
202
203 * configure.in (alpha*-*-netbsd*): Add target.
204 * configure: Regenerate.
205
0c0b87ad
JS
2062002-04-04 Jeff Sturm <jsturm@one-point.com>
207
208 * src/sparc/v8.S: Add unwind info.
209 * src/sparc/v9.S: Likewise.
210
320d7e7a
KW
2112002-03-30 Krister Walfridsson <cato@df.lth.se>
212
213 * configure.in: Enable i*86-*-netbsdelf*.
214 * configure: Rebuilt.
215
c75e51ed
DB
2162002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
217
218 PR other/2620
219 * src/mips/n32.s: Delete
220 * src/mips/o32.s: Delete
221
5bb366e0
LR
2222002-03-21 Loren J. Rittle <ljrittle@acm.org>
223
224 * configure.in: Enable alpha*-*-freebsd*.
225 * configure: Rebuilt.
226
ce3b24a7
BM
2272002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
228
229 * Makefile.am: libfficonvenience -> libffi_convenience.
230 * Makefile.in: Rebuilt.
1eb7ba30
BM
231
232 * Makefile.am: Define ffitest_OBJECTS.
233 * Makefile.in: Rebuilt.
ce3b24a7 234
073ae293
AT
2352002-03-07 Andreas Tobler <toa@pop.agri.ch>
236 David Edelsohn <edelsohn@gnu.org>
237
238 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
239 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
240 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
241 * Makefile.in: Regenerate.
242 * include/ffi.h.in: Add AIX and Darwin closure definitions.
243 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
244 (flush_icache, flush_range): New functions.
245 (ffi_closure_helper_DARWIN): New function.
246 * src/powerpc/aix_closure.S: New file.
247 * src/powerpc/darwin_closure.S: New file.
248
02c521f4
JS
2492002-02-24 Jeff Sturm <jsturm@one-point.com>
250
251 * include/ffi.h.in: Add typedef for ffi_arg.
252 * src/ffitest.c (main): Declare rint with ffi_arg.
253
287dd527
AT
2542002-02-21 Andreas Tobler <toa@pop.agri.ch>
255
256 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
257 number of GPRs for floating-point arguments.
258
e2f2e70a
AG
2592002-01-31 Anthony Green <green@redhat.com>
260
261 * configure: Rebuilt.
262 * configure.in: Replace CHECK_SIZEOF and endian tests with
263 cross-compiler friendly macros.
264 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
265 macros.
266
15b9b32f
DE
2672002-01-18 David Edelsohn <edelsohn@gnu.org>
268
269 * src/powerpc/darwin.S (_ffi_call_AIX): New.
1f7d5413 270 * src/powerpc/aix.S (ffi_call_DARWIN): New.
15b9b32f 271
2f4006f8
DE
2722002-01-17 David Edelsohn <edelsohn@gnu.org>
273
274 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
275 (TARGET_SRC_POWERPC_AIX): New.
276 (POWERPC_AIX): New stanza.
277 * Makefile.in: Regenerate.
278 * configure.in: Add AIX case.
279 * configure: Regenerate.
280 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
281 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
282 size. Fix "long double" support.
283 (ffi_call): Add FFI_AIX case.
284 * src/powerpc/aix.S: New.
285
3c017635
JH
2862001-10-09 John Hornkvist <john@toastedmarshmallow.com>
287
288 Implement Darwin PowerPC ABI.
289 * configure.in: Handle powerpc-*-darwin*.
290 * Makefile.am: Set source files for POWERPC_DARWIN.
291 * configure: Rebuilt.
292 * Makefile.in: Rebuilt.
293 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
294 POWERPC_DARWIN.
295 * src/powerpc/darwin.S: New file.
296 * src/powerpc/ffi_darwin.c: New file.
297
cc712abf
JM
2982001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
299
300 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
301
03a8de49
RO
3022001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
303
304 * src/x86/sysv.S: Avoid gas-only .balign directive.
305 Use C style comments.
306
92a0e6c6
RO
3072001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
308
309 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
310 Fixes PR bootstrap/3563.
311
57482f58
RO
3122001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
313
314 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
315
d7e2dd2f
RO
3162001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
317
318 * configure.in: Recognize sparc*-sun-* host.
319 * configure: Regenerate.
320
be72207c
AH
3212001-06-06 Andrew Haley <aph@redhat.com>
322
4075db8f 323 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
be72207c 324
552cb45a
AH
3252001-06-03 Andrew Haley <aph@redhat.com>
326
4075db8f
BT
327 * src/alpha/osf.S: Add unwind info.
328 * src/powerpc/sysv.S: Add unwind info.
329 * src/powerpc/ppc_closure.S: Likewise.
552cb45a 330
7d45b968
JS
3312000-05-31 Jeff Sturm <jsturm@one-point.com>
332
333 * configure.in: Fix AC_ARG_ENABLE usage.
334 * configure: Rebuilt.
335
2a7f63c4
BM
3362001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
337
338 * configure.in: Remove warning about beta code.
339 * configure: Rebuilt.
340
3412001-04-25 Hans Boehm <Hans_Boehm@hp.com>
342
03a55252
HB
343 * src/ia64/unix.S: Restore stack pointer when returning from
344 ffi_closure_UNIX.
345 * src/ia64/ffi.c: Fix typo in comment.
346
df5da1c4
JW
3472001-04-18 Jim Wilson <wilson@redhat.com>
348
349 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
350 to eliminate RAW DV.
351
52c28977
BM
3522001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
353
354 * Makefile.am: Make a libtool convenience library.
355 * Makefile.in: Rebuilt.
356
3b905056
BM
3572001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
358
359 * configure.in: Use different syntax for subdirectory creation.
360 * configure: Rebuilt.
361
d6c4152a
JB
3622001-03-27 Jon Beniston <jon@beniston.com>
363
364 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
365 * configure: Rebuilt.
366 * Makefile.am: Added X86_WIN32 target support.
367 * Makefile.in: Rebuilt.
368
369 * include/ffi.h.in: Added X86_WIN32 target support.
370
371 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
372 * src/types.c: Added X86_WIN32 target support.
373
374 * src/x86/win32.S: New file. Based on sysv.S, but with EH
375 stuff removed and made to work with CygWin's gas.
376
675cdab3
BM
3772001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
378
379 * configure.in: Make target subdirectory in build dir.
380 * Makefile.am: Override suffix based rules to specify correct output
381 subdirectory.
382 * Makefile.in: Rebuilt.
383 * configure: Rebuilt.
384
e5f8858a 3852001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
cc4c8975
KH
386
387 * src/powerpc/ppc_closure.S: New file.
388 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
389 involving long long and register pairs.
390 (ffi_prep_closure): New function.
391 (flush_icache): Likewise.
392 (ffi_closure_helper_SYSV): Likewise.
393 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
394 (FFI_TRAMPOLINE_SIZE): Likewise.
395 (FFI_NATIVE_RAW_API): Likewise.
396 * Makefile.in: Rebuilt.
397 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
398 (TARGET_SRC_POWERPC): Likewise.
399
9450a929
TT
4002001-03-19 Tom Tromey <tromey@redhat.com>
401
402 * Makefile.in: Rebuilt.
403 * Makefile.am (ffitest_LDFLAGS): New macro.
404
4d2cf715
NC
4052001-03-02 Nick Clifton <nickc@redhat.com>
406
407 * include/ffi.h.in: Remove RCS ident string.
408 * include/ffi_mips.h: Remove RCS ident string.
409 * src/debug.c: Remove RCS ident string.
410 * src/ffitest.c: Remove RCS ident string.
411 * src/prep_cif.c: Remove RCS ident string.
412 * src/types.c: Remove RCS ident string.
413 * src/alpha/ffi.c: Remove RCS ident string.
414 * src/alpha/osf.S: Remove RCS ident string.
415 * src/arm/ffi.c: Remove RCS ident string.
416 * src/arm/sysv.S: Remove RCS ident string.
417 * src/mips/ffi.c: Remove RCS ident string.
418 * src/mips/n32.S: Remove RCS ident string.
419 * src/mips/o32.S: Remove RCS ident string.
420 * src/sparc/ffi.c: Remove RCS ident string.
421 * src/sparc/v8.S: Remove RCS ident string.
422 * src/sparc/v9.S: Remove RCS ident string.
423 * src/x86/ffi.c: Remove RCS ident string.
424 * src/x86/sysv.S: Remove RCS ident string.
425
7e5fd99f
JM
4262001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
427
428 * include/ffi.h.in: Change sourceware.cygnus.com references to
429 gcc.gnu.org.
430
3f67ba6e
RH
4312000-12-09 Richard Henderson <rth@redhat.com>
432
433 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
434 (ffi_closure_osf_inner): Index rather than increment avalue
435 and arg_types. Give ffi_closure_osf the raw return value type.
436 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
437 promotion.
438
4392000-12-07 Richard Henderson <rth@redhat.com>
29fe0479
RH
440
441 * src/raw_api.c (ffi_translate_args): Fix typo.
442 (ffi_prep_closure): Likewise.
443
444 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
445 FFI_TRAMPOLINE_SIZE.
446 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
447 cif->bytes for new ffi_call_osf implementation.
448 (ffi_prep_args): Absorb into ...
449 (ffi_call): ... here. Do all stack allocation here and
450 avoid a callback function.
451 (ffi_prep_closure, ffi_closure_osf_inner): New.
452 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
453 (ffi_closure_osf): New.
454
2f7bf5b7
AO
4552000-09-10 Alexandre Oliva <aoliva@redhat.com>
456
ed1c1a1a
AO
457 * config.guess, config.sub, install-sh: Removed.
458 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
459 * Makefile.in: Rebuilt.
460
2f7bf5b7
AO
461 * acinclude.m4: Include libtool macros from the top level.
462 * aclocal.m4, configure: Rebuilt.
463
e15a68e7
AO
4642000-08-22 Alexandre Oliva <aoliva@redhat.com>
465
466 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
467 * configure: Rebuilt.
468
7f8c11d5
SB
4692000-05-11 Scott Bambrough <scottb@netwinder.org>
470
471 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
472 memory correctly. Use conditional instructions, not branches where
473 possible.
474
c5acf51f
TT
4752000-05-04 Tom Tromey <tromey@cygnus.com>
476
477 * configure: Rebuilt.
478 * configure.in: Match `arm*-*-linux-*'.
479 From Chris Dornan <cdornan@arm.com>.
480
91bffbe9
JJ
4812000-04-28 Jakub Jelinek <jakub@redhat.com>
482
483 * Makefile.am (SUBDIRS): Define.
484 (AM_MAKEFLAGS): Likewise.
485 (Multilib support.): Add section.
486 * Makefile.in: Rebuilt.
487 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
4075db8f
BT
488 New variables. Set for gcc using -print-multi-lib. Export them
489 to libtool.
490 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
491 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
492 for -shared links.
493 (extra_compiler_flags_value, extra_compiler_flags): Check these
494 for extra compiler options which need to be passed down in
495 compiler_flags.
91bffbe9 496
bd66587e
AG
4972000-04-16 Anthony Green <green@redhat.com>
498
499 * configure: Rebuilt.
500 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
501
3791773c
JJ
5022000-04-14 Jakub Jelinek <jakub@redhat.com>
503
4075db8f 504 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
3791773c
JJ
505 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
506 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
507 Replace all void * sizeofs with sizeof(int).
508 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
509 different than DOUBLE.
510 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
511 (ffi_prep_args_v9): New function.
512 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
513 (ffi_V9_return_struct): New function.
514 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
515 32bit code (not yet cross-arch calls).
516 * src/sparc/v8.S: Add struct return delay nop.
517 Handle long long.
518 * src/sparc/v9.S: New file.
519 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
520 is used on sparc64 only for structures larger than 32 bytes.
521 Pass by reference for structures is done for structure arguments
522 larger than 16 bytes.
523 * src/ffitest.c (main): Use 64bit rint on sparc64.
524 Run long long tests on sparc.
525 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
526 sparc64.
527 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
528 on sparc64.
529 * configure.in (sparc-*-linux*): New supported target.
530 (sparc64-*-linux*): Likewise.
531 * configure: Rebuilt.
532 * Makefile.am: Add v9.S to SPARC files.
533 * Makefile.in: Likewise.
534 (LINK): Surround $(CCLD) into double quotes, so that multilib
535 compiles work correctly.
536
db459595
APB
5372000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
538
539 * configure: Rebuilt.
540 * configure.in: (i*86-*-solaris*): New libffi target. Patch
541 proposed by Bryce McKinlay.
542
c1f63902
TT
5432000-03-20 Tom Tromey <tromey@cygnus.com>
544
545 * Makefile.in: Hand edit for java_raw_api.lo.
546
0f72dc9e
BM
5472000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
548
549 * config.guess, config.sub: Update from the gcc tree.
550 Fix for PR libgcj/168.
551
3c18f2d1
TT
5522000-03-03 Tom Tromey <tromey@cygnus.com>
553
323eee8a
TT
554 * Makefile.in: Fixed ia64 by hand.
555
3c18f2d1
TT
556 * configure: Rebuilt.
557 * configure.in (--enable-multilib): New option.
558 (libffi_basedir): New subst.
559 (AC_OUTPUT): Added multilib code.
560
a2b10a92
TT
5612000-03-02 Tom Tromey <tromey@cygnus.com>
562
563 * Makefile.in: Rebuilt.
564 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
565 directory name.
566
dc5de370
HB
5672000-02-25 Hans Boehm <boehm@acm.org>
568
569 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
570 files.
571 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
572 list.
573 (ffi_prep_raw_closure): Use ffi_translate_args, not
574 ffi_closure_translate.
575 * src/java_raw_api.c: New file.
576 * src/ffitest.c (closure_test_fn): New function.
577 (main): Define `rint' as long long on IA64. Added new test when
578 FFI_CLOSURES is defined.
579 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
580 (ffi_abi): Recognize IA64.
581 (ffi_raw): Added `flt' field.
582 Added "Java raw API" code.
583 * configure.in: Recognize ia64.
584 * Makefile.am (TARGET_SRC_IA64): New macro.
585 (libffi_la_common_SOURCES): Added java_raw_api.c.
586 (libffi_la_SOURCES): Define in IA64 case.
587
d79229bd
TT
5882000-01-04 Tom Tromey <tromey@cygnus.com>
589
590 * Makefile.in: Rebuilt with newer automake.
591
2c33b220
TT
5921999-12-31 Tom Tromey <tromey@cygnus.com>
593
594 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
595
6ba9e3b0
TT
5961999-09-01 Tom Tromey <tromey@cygnus.com>
597
598 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
599 undefs.
600 * fficonfig.h.in: Rebuilt.
601 * configure: Rebuilt.
602 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
603 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
604 * acconfig.h: Don't #undef PACKAGE or VERSION.
605
63e5e3e0
AG
6061999-08-09 Anthony Green <green@cygnus.com>
607
608 * include/ffi.h.in: Try to work around messy header problem
609 with PACKAGE and VERSION.
610
611 * configure: Rebuilt.
612 * configure.in: Change version to 2.00-beta.
613
4075db8f 614 * fficonfig.h.in: Rebuilt.
63e5e3e0
AG
615 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
616
617 * src/x86/ffi.c (ffi_raw_call): Rename.
618
6191999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
620
621 * src/x86/ffi.c (ffi_closure_SYSV): New function.
622 (ffi_prep_incoming_args_SYSV): Ditto.
623 (ffi_prep_closure): Ditto.
624 (ffi_closure_raw_SYSV): Ditto.
625 (ffi_prep_raw_closure): More ditto.
626 (ffi_call_raw): Final ditto.
627
628 * include/ffi.h.in: Add definitions for closure and raw API.
629
630 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
631 FFI_TYPE_UINT64.
632
633 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
634
635 * src/raw_api.c: New file.
636
637 * include/ffi.h.in (ffi_raw): New type.
638 (UINT_ARG, SINT_ARG): New defines.
639 (ffi_closure, ffi_raw_closure): New types.
640 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
641
642 * configure.in: Add check for endianness and sizeof void*.
643
644 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
645 instead of directly.
646
647 * configure: Rebuilt.
648
649Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
650
651 * configure.in: Add x86 and powerpc BeOS configurations.
652 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
653
6541999-05-09 Anthony Green <green@cygnus.com>
655
656 * configure.in: Add warning about this being beta code.
657 Remove src/Makefile.am from the picture.
658 * configure: Rebuilt.
659
660 * Makefile.am: Move logic from src/Makefile.am. Add changes
661 to support libffi as a target library.
662 * Makefile.in: Rebuilt.
663
664 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
665 Upgraded to new autoconf, automake, libtool.
666
667 * README: Tweaks.
668
669 * LICENSE: Update copyright date.
670
671 * src/Makefile.am, src/Makefile.in: Removed.
672
6731998-11-29 Anthony Green <green@cygnus.com>
674
675 * include/ChangeLog: Removed.
676 * src/ChangeLog: Removed.
677 * src/mips/ChangeLog: Removed.
678 * src/sparc/ChangeLog: Remboved.
679 * src/x86/ChangeLog: Removed.
680
681 * ChangeLog.v1: Created.