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