]> git.ipfire.org Git - thirdparty/gcc.git/blame - libffi/ChangeLog
PR c++/6119
[thirdparty/gcc.git] / libffi / ChangeLog
CommitLineData
ec66e65b 12002-03-30 Krister Walfridsson <cato@df.lth.se>
2
3 * configure.in: Enable i*86-*-netbsdelf*.
4 * configure: Rebuilt.
5
9ee9948b 62002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
7
8 PR other/2620
9 * src/mips/n32.s: Delete
10 * src/mips/o32.s: Delete
11
6c74b4f2 122002-03-21 Loren J. Rittle <ljrittle@acm.org>
13
14 * configure.in: Enable alpha*-*-freebsd*.
15 * configure: Rebuilt.
16
9d0a2dd5 172002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
18
19 * Makefile.am: libfficonvenience -> libffi_convenience.
20 * Makefile.in: Rebuilt.
ee7750c2 21
22 * Makefile.am: Define ffitest_OBJECTS.
23 * Makefile.in: Rebuilt.
9d0a2dd5 24
f6a16bd8 252002-03-07 Andreas Tobler <toa@pop.agri.ch>
26 David Edelsohn <edelsohn@gnu.org>
27
28 * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
29 (TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
30 (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
31 * Makefile.in: Regenerate.
32 * include/ffi.h.in: Add AIX and Darwin closure definitions.
33 * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
34 (flush_icache, flush_range): New functions.
35 (ffi_closure_helper_DARWIN): New function.
36 * src/powerpc/aix_closure.S: New file.
37 * src/powerpc/darwin_closure.S: New file.
38
fed8d18d 392002-02-24 Jeff Sturm <jsturm@one-point.com>
40
41 * include/ffi.h.in: Add typedef for ffi_arg.
42 * src/ffitest.c (main): Declare rint with ffi_arg.
43
ddac7e16 442002-02-21 Andreas Tobler <toa@pop.agri.ch>
45
46 * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
47 number of GPRs for floating-point arguments.
48
ed35b400 492002-01-31 Anthony Green <green@redhat.com>
50
51 * configure: Rebuilt.
52 * configure.in: Replace CHECK_SIZEOF and endian tests with
53 cross-compiler friendly macros.
54 * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
55 macros.
56
bf270768 572002-01-18 David Edelsohn <edelsohn@gnu.org>
58
59 * src/powerpc/darwin.S (_ffi_call_AIX): New.
dc155f85 60 * src/powerpc/aix.S (ffi_call_DARWIN): New.
bf270768 61
faae36ce 622002-01-17 David Edelsohn <edelsohn@gnu.org>
63
64 * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
65 (TARGET_SRC_POWERPC_AIX): New.
66 (POWERPC_AIX): New stanza.
67 * Makefile.in: Regenerate.
68 * configure.in: Add AIX case.
69 * configure: Regenerate.
70 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
71 * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
72 size. Fix "long double" support.
73 (ffi_call): Add FFI_AIX case.
74 * src/powerpc/aix.S: New.
75
b81d6fe1 762001-10-09 John Hornkvist <john@toastedmarshmallow.com>
77
78 Implement Darwin PowerPC ABI.
79 * configure.in: Handle powerpc-*-darwin*.
80 * Makefile.am: Set source files for POWERPC_DARWIN.
81 * configure: Rebuilt.
82 * Makefile.in: Rebuilt.
83 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
84 POWERPC_DARWIN.
85 * src/powerpc/darwin.S: New file.
86 * src/powerpc/ffi_darwin.c: New file.
87
9bccb7a3 882001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
89
90 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
91
ac1f371e 922001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
93
94 * src/x86/sysv.S: Avoid gas-only .balign directive.
95 Use C style comments.
96
e1e36390 972001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
98
99 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
100 Fixes PR bootstrap/3563.
101
deb29e7a 1022001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
103
104 * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
105
8008de24 1062001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
107
108 * configure.in: Recognize sparc*-sun-* host.
109 * configure: Regenerate.
110
5fc46419 1112001-06-06 Andrew Haley <aph@redhat.com>
112
113 * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
114
49ff2ded 1152001-06-03 Andrew Haley <aph@redhat.com>
116
117 * src/alpha/osf.S: Add unwind info.
118 * src/powerpc/sysv.S: Add unwind info.
119 * src/powerpc/ppc_closure.S: Likewise.
120
070883fe 1212000-05-31 Jeff Sturm <jsturm@one-point.com>
122
123 * configure.in: Fix AC_ARG_ENABLE usage.
124 * configure: Rebuilt.
125
09da9506 1262001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
127
128 * configure.in: Remove warning about beta code.
129 * configure: Rebuilt.
130
1312001-04-25 Hans Boehm <Hans_Boehm@hp.com>
132
6c1b002f 133 * src/ia64/unix.S: Restore stack pointer when returning from
134 ffi_closure_UNIX.
135 * src/ia64/ffi.c: Fix typo in comment.
136
c4312026 1372001-04-18 Jim Wilson <wilson@redhat.com>
138
139 * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
140 to eliminate RAW DV.
141
db6ca0af 1422001-04-12 Bryce McKinlay <bryce@albatross.co.nz>
143
144 * Makefile.am: Make a libtool convenience library.
145 * Makefile.in: Rebuilt.
146
9461b350 1472001-03-29 Bryce McKinlay <bryce@albatross.co.nz>
148
149 * configure.in: Use different syntax for subdirectory creation.
150 * configure: Rebuilt.
151
a4cc90ca 1522001-03-27 Jon Beniston <jon@beniston.com>
153
154 * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
155 * configure: Rebuilt.
156 * Makefile.am: Added X86_WIN32 target support.
157 * Makefile.in: Rebuilt.
158
159 * include/ffi.h.in: Added X86_WIN32 target support.
160
161 * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
162 * src/types.c: Added X86_WIN32 target support.
163
164 * src/x86/win32.S: New file. Based on sysv.S, but with EH
165 stuff removed and made to work with CygWin's gas.
166
21f4579d 1672001-03-26 Bryce McKinlay <bryce@albatross.co.nz>
168
169 * configure.in: Make target subdirectory in build dir.
170 * Makefile.am: Override suffix based rules to specify correct output
171 subdirectory.
172 * Makefile.in: Rebuilt.
173 * configure: Rebuilt.
174
29183c57 1752001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca>
384eea1f 176
177 * src/powerpc/ppc_closure.S: New file.
178 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
179 involving long long and register pairs.
180 (ffi_prep_closure): New function.
181 (flush_icache): Likewise.
182 (ffi_closure_helper_SYSV): Likewise.
183 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
184 (FFI_TRAMPOLINE_SIZE): Likewise.
185 (FFI_NATIVE_RAW_API): Likewise.
186 * Makefile.in: Rebuilt.
187 * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
188 (TARGET_SRC_POWERPC): Likewise.
189
49604b5b 1902001-03-19 Tom Tromey <tromey@redhat.com>
191
192 * Makefile.in: Rebuilt.
193 * Makefile.am (ffitest_LDFLAGS): New macro.
194
c8fdcc07 1952001-03-02 Nick Clifton <nickc@redhat.com>
196
197 * include/ffi.h.in: Remove RCS ident string.
198 * include/ffi_mips.h: Remove RCS ident string.
199 * src/debug.c: Remove RCS ident string.
200 * src/ffitest.c: Remove RCS ident string.
201 * src/prep_cif.c: Remove RCS ident string.
202 * src/types.c: Remove RCS ident string.
203 * src/alpha/ffi.c: Remove RCS ident string.
204 * src/alpha/osf.S: Remove RCS ident string.
205 * src/arm/ffi.c: Remove RCS ident string.
206 * src/arm/sysv.S: Remove RCS ident string.
207 * src/mips/ffi.c: Remove RCS ident string.
208 * src/mips/n32.S: Remove RCS ident string.
209 * src/mips/o32.S: Remove RCS ident string.
210 * src/sparc/ffi.c: Remove RCS ident string.
211 * src/sparc/v8.S: Remove RCS ident string.
212 * src/sparc/v9.S: Remove RCS ident string.
213 * src/x86/ffi.c: Remove RCS ident string.
214 * src/x86/sysv.S: Remove RCS ident string.
215
8cb0f8ea 2162001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
217
218 * include/ffi.h.in: Change sourceware.cygnus.com references to
219 gcc.gnu.org.
220
18f704a9 2212000-12-09 Richard Henderson <rth@redhat.com>
222
223 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
224 (ffi_closure_osf_inner): Index rather than increment avalue
225 and arg_types. Give ffi_closure_osf the raw return value type.
226 * src/alpha/osf.S (ffi_closure_osf): Handle return value type
227 promotion.
228
2292000-12-07 Richard Henderson <rth@redhat.com>
fdf04128 230
231 * src/raw_api.c (ffi_translate_args): Fix typo.
232 (ffi_prep_closure): Likewise.
233
234 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
235 FFI_TRAMPOLINE_SIZE.
236 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
237 cif->bytes for new ffi_call_osf implementation.
238 (ffi_prep_args): Absorb into ...
239 (ffi_call): ... here. Do all stack allocation here and
240 avoid a callback function.
241 (ffi_prep_closure, ffi_closure_osf_inner): New.
242 * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
243 (ffi_closure_osf): New.
244
652f285b 2452000-09-10 Alexandre Oliva <aoliva@redhat.com>
246
4bfa769b 247 * config.guess, config.sub, install-sh: Removed.
248 * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
249 * Makefile.in: Rebuilt.
250
652f285b 251 * acinclude.m4: Include libtool macros from the top level.
252 * aclocal.m4, configure: Rebuilt.
253
6f52caf7 2542000-08-22 Alexandre Oliva <aoliva@redhat.com>
255
256 * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
257 * configure: Rebuilt.
258
d03e800c 2592000-05-11 Scott Bambrough <scottb@netwinder.org>
260
261 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to
262 memory correctly. Use conditional instructions, not branches where
263 possible.
264
f3e32e0b 2652000-05-04 Tom Tromey <tromey@cygnus.com>
266
267 * configure: Rebuilt.
268 * configure.in: Match `arm*-*-linux-*'.
269 From Chris Dornan <cdornan@arm.com>.
270
b23e0d76 2712000-04-28 Jakub Jelinek <jakub@redhat.com>
272
273 * Makefile.am (SUBDIRS): Define.
274 (AM_MAKEFLAGS): Likewise.
275 (Multilib support.): Add section.
276 * Makefile.in: Rebuilt.
277 * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
278 New variables. Set for gcc using -print-multi-lib. Export them
279 to libtool.
280 (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
281 * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
282 for -shared links.
283 (extra_compiler_flags_value, extra_compiler_flags): Check these
284 for extra compiler options which need to be passed down in
285 compiler_flags.
286
2c9b297c 2872000-04-16 Anthony Green <green@redhat.com>
288
289 * configure: Rebuilt.
290 * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
291
d7a35c6c 2922000-04-14 Jakub Jelinek <jakub@redhat.com>
293
294 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
295 Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
296 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
297 Replace all void * sizeofs with sizeof(int).
298 Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
299 different than DOUBLE.
300 Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
301 (ffi_prep_args_v9): New function.
302 (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
303 (ffi_V9_return_struct): New function.
304 (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
305 32bit code (not yet cross-arch calls).
306 * src/sparc/v8.S: Add struct return delay nop.
307 Handle long long.
308 * src/sparc/v9.S: New file.
309 * src/prep_cif.c (ffi_prep_cif): Return structure pointer
310 is used on sparc64 only for structures larger than 32 bytes.
311 Pass by reference for structures is done for structure arguments
312 larger than 16 bytes.
313 * src/ffitest.c (main): Use 64bit rint on sparc64.
314 Run long long tests on sparc.
315 * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
316 sparc64.
317 (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
318 on sparc64.
319 * configure.in (sparc-*-linux*): New supported target.
320 (sparc64-*-linux*): Likewise.
321 * configure: Rebuilt.
322 * Makefile.am: Add v9.S to SPARC files.
323 * Makefile.in: Likewise.
324 (LINK): Surround $(CCLD) into double quotes, so that multilib
325 compiles work correctly.
326
800d12c7 3272000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
328
329 * configure: Rebuilt.
330 * configure.in: (i*86-*-solaris*): New libffi target. Patch
331 proposed by Bryce McKinlay.
332
c44e8808 3332000-03-20 Tom Tromey <tromey@cygnus.com>
334
335 * Makefile.in: Hand edit for java_raw_api.lo.
336
f764cb60 3372000-03-08 Bryce McKinlay <bryce@albatross.co.nz>
338
339 * config.guess, config.sub: Update from the gcc tree.
340 Fix for PR libgcj/168.
341
3b43a26e 3422000-03-03 Tom Tromey <tromey@cygnus.com>
343
96215ab3 344 * Makefile.in: Fixed ia64 by hand.
345
3b43a26e 346 * configure: Rebuilt.
347 * configure.in (--enable-multilib): New option.
348 (libffi_basedir): New subst.
349 (AC_OUTPUT): Added multilib code.
350
03ae52bb 3512000-03-02 Tom Tromey <tromey@cygnus.com>
352
353 * Makefile.in: Rebuilt.
354 * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
355 directory name.
356
28c07da5 3572000-02-25 Hans Boehm <boehm@acm.org>
358
359 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
360 files.
361 * src/raw_api.c (ffi_translate_args): Fixed typo in argument
362 list.
363 (ffi_prep_raw_closure): Use ffi_translate_args, not
364 ffi_closure_translate.
365 * src/java_raw_api.c: New file.
366 * src/ffitest.c (closure_test_fn): New function.
367 (main): Define `rint' as long long on IA64. Added new test when
368 FFI_CLOSURES is defined.
369 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
370 (ffi_abi): Recognize IA64.
371 (ffi_raw): Added `flt' field.
372 Added "Java raw API" code.
373 * configure.in: Recognize ia64.
374 * Makefile.am (TARGET_SRC_IA64): New macro.
375 (libffi_la_common_SOURCES): Added java_raw_api.c.
376 (libffi_la_SOURCES): Define in IA64 case.
377
0bcdf5c5 3782000-01-04 Tom Tromey <tromey@cygnus.com>
379
380 * Makefile.in: Rebuilt with newer automake.
381
e9de8c8b 3821999-12-31 Tom Tromey <tromey@cygnus.com>
383
384 * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
385
20e58c02 3861999-09-01 Tom Tromey <tromey@cygnus.com>
387
388 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
389 undefs.
390 * fficonfig.h.in: Rebuilt.
391 * configure: Rebuilt.
392 * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
393 Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
394 * acconfig.h: Don't #undef PACKAGE or VERSION.
395
47c5fab6 3961999-08-09 Anthony Green <green@cygnus.com>
397
398 * include/ffi.h.in: Try to work around messy header problem
399 with PACKAGE and VERSION.
400
401 * configure: Rebuilt.
402 * configure.in: Change version to 2.00-beta.
403
404 * fficonfig.h.in: Rebuilt.
405 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
406
407 * src/x86/ffi.c (ffi_raw_call): Rename.
408
4091999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp>
410
411 * src/x86/ffi.c (ffi_closure_SYSV): New function.
412 (ffi_prep_incoming_args_SYSV): Ditto.
413 (ffi_prep_closure): Ditto.
414 (ffi_closure_raw_SYSV): Ditto.
415 (ffi_prep_raw_closure): More ditto.
416 (ffi_call_raw): Final ditto.
417
418 * include/ffi.h.in: Add definitions for closure and raw API.
419
420 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
421 FFI_TYPE_UINT64.
422
423 * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
424
425 * src/raw_api.c: New file.
426
427 * include/ffi.h.in (ffi_raw): New type.
428 (UINT_ARG, SINT_ARG): New defines.
429 (ffi_closure, ffi_raw_closure): New types.
430 (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
431
432 * configure.in: Add check for endianness and sizeof void*.
433
434 * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
435 instead of directly.
436
437 * configure: Rebuilt.
438
439Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com>
440
441 * configure.in: Add x86 and powerpc BeOS configurations.
442 From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
443
4441999-05-09 Anthony Green <green@cygnus.com>
445
446 * configure.in: Add warning about this being beta code.
447 Remove src/Makefile.am from the picture.
448 * configure: Rebuilt.
449
450 * Makefile.am: Move logic from src/Makefile.am. Add changes
451 to support libffi as a target library.
452 * Makefile.in: Rebuilt.
453
454 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
455 Upgraded to new autoconf, automake, libtool.
456
457 * README: Tweaks.
458
459 * LICENSE: Update copyright date.
460
461 * src/Makefile.am, src/Makefile.in: Removed.
462
4631998-11-29 Anthony Green <green@cygnus.com>
464
465 * include/ChangeLog: Removed.
466 * src/ChangeLog: Removed.
467 * src/mips/ChangeLog: Removed.
468 * src/sparc/ChangeLog: Remboved.
469 * src/x86/ChangeLog: Removed.
470
471 * ChangeLog.v1: Created.