OSDN Git Service

- Symmetrically define ffi_call_DARWIN for AIX.
[pf3gnuchains/gcc-fork.git] / libffi / ChangeLog
1 2002-01-18  David Edelsohn  <edelsohn@gnu.org>
2
3         * src/powerpc/darwin.S (_ffi_call_AIX): New.
4         * src/powerpc/aix.S (ffi_call_DARWIN): New.
5
6 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
7
8         * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
9         (TARGET_SRC_POWERPC_AIX): New.
10         (POWERPC_AIX): New stanza.
11         * Makefile.in: Regenerate.
12         * configure.in: Add AIX case.
13         * configure: Regenerate.
14         * include/ffi.h.in (ffi_abi): Add FFI_AIX.
15         * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
16         size.  Fix "long double" support.
17         (ffi_call): Add FFI_AIX case.
18         * src/powerpc/aix.S: New.
19
20 2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>
21
22         Implement Darwin PowerPC ABI.
23         * configure.in: Handle powerpc-*-darwin*.
24         * Makefile.am: Set source files for POWERPC_DARWIN.
25         * configure: Rebuilt.
26         * Makefile.in: Rebuilt.
27         * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
28         POWERPC_DARWIN.
29         * src/powerpc/darwin.S: New file.
30         * src/powerpc/ffi_darwin.c: New file.
31
32 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
33
34         * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
35
36 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
37
38         * src/x86/sysv.S: Avoid gas-only .balign directive.
39         Use C style comments.
40
41 2001-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
42
43         * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
44         Fixes PR bootstrap/3563.
45
46 2001-06-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
47
48         * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
49
50 2001-06-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
51
52         * configure.in: Recognize sparc*-sun-* host.
53         * configure: Regenerate.
54         
55 2001-06-06  Andrew Haley  <aph@redhat.com>
56
57         * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
58
59 2001-06-03  Andrew Haley  <aph@redhat.com>
60
61         * src/alpha/osf.S: Add unwind info.
62         * src/powerpc/sysv.S: Add unwind info.
63         * src/powerpc/ppc_closure.S: Likewise.
64
65 2000-05-31  Jeff Sturm  <jsturm@one-point.com>
66
67         * configure.in: Fix AC_ARG_ENABLE usage.
68         * configure: Rebuilt.
69
70 2001-05-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
71
72         * configure.in: Remove warning about beta code.
73         * configure: Rebuilt.
74
75 2001-04-25  Hans Boehm <Hans_Boehm@hp.com>
76
77         * src/ia64/unix.S: Restore stack pointer when returning from
78         ffi_closure_UNIX.
79         * src/ia64/ffi.c: Fix typo in comment.
80
81 2001-04-18  Jim Wilson  <wilson@redhat.com>
82
83         * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
84         to eliminate RAW DV.
85
86 2001-04-12  Bryce McKinlay  <bryce@albatross.co.nz>
87
88         * Makefile.am: Make a libtool convenience library.
89         * Makefile.in: Rebuilt.
90
91 2001-03-29  Bryce McKinlay  <bryce@albatross.co.nz>
92
93         * configure.in: Use different syntax for subdirectory creation.
94         * configure: Rebuilt.
95
96 2001-03-27  Jon Beniston  <jon@beniston.com>
97
98         * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
99         * configure: Rebuilt.
100         * Makefile.am: Added X86_WIN32 target support.
101         * Makefile.in: Rebuilt.
102
103         * include/ffi.h.in: Added X86_WIN32 target support.
104
105         * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
106         * src/types.c: Added X86_WIN32 target support.
107
108         * src/x86/win32.S: New file. Based on sysv.S, but with EH
109         stuff removed and made to work with CygWin's gas.
110
111 2001-03-26  Bryce McKinlay  <bryce@albatross.co.nz>
112
113         * configure.in: Make target subdirectory in build dir.
114         * Makefile.am: Override suffix based rules to specify correct output
115         subdirectory.
116         * Makefile.in: Rebuilt.
117         * configure: Rebuilt.
118
119 2001-03-23  Kevin B Hendricks  <khendricks@ivey.uwo.ca>
120
121         * src/powerpc/ppc_closure.S: New file.
122         * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
123         involving long long and register pairs.
124         (ffi_prep_closure): New function.
125         (flush_icache): Likewise.
126         (ffi_closure_helper_SYSV): Likewise.
127         * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
128         (FFI_TRAMPOLINE_SIZE): Likewise.
129         (FFI_NATIVE_RAW_API): Likewise.
130         * Makefile.in: Rebuilt.
131         * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
132         (TARGET_SRC_POWERPC): Likewise.
133
134 2001-03-19  Tom Tromey  <tromey@redhat.com>
135
136         * Makefile.in: Rebuilt.
137         * Makefile.am (ffitest_LDFLAGS): New macro.
138
139 2001-03-02  Nick Clifton  <nickc@redhat.com>
140
141         * include/ffi.h.in: Remove RCS ident string.
142         * include/ffi_mips.h: Remove RCS ident string.
143         * src/debug.c: Remove RCS ident string.
144         * src/ffitest.c: Remove RCS ident string.
145         * src/prep_cif.c: Remove RCS ident string.
146         * src/types.c: Remove RCS ident string.
147         * src/alpha/ffi.c: Remove RCS ident string.
148         * src/alpha/osf.S: Remove RCS ident string.
149         * src/arm/ffi.c: Remove RCS ident string.
150         * src/arm/sysv.S: Remove RCS ident string.
151         * src/mips/ffi.c: Remove RCS ident string.
152         * src/mips/n32.S: Remove RCS ident string.
153         * src/mips/o32.S: Remove RCS ident string.
154         * src/sparc/ffi.c: Remove RCS ident string.
155         * src/sparc/v8.S: Remove RCS ident string.
156         * src/sparc/v9.S: Remove RCS ident string.
157         * src/x86/ffi.c: Remove RCS ident string.
158         * src/x86/sysv.S: Remove RCS ident string.
159
160 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
161
162         * include/ffi.h.in: Change sourceware.cygnus.com references to
163         gcc.gnu.org.
164
165 2000-12-09  Richard Henderson  <rth@redhat.com>
166
167         * src/alpha/ffi.c (ffi_call): Simplify struct return test.
168         (ffi_closure_osf_inner): Index rather than increment avalue
169         and arg_types.  Give ffi_closure_osf the raw return value type.
170         * src/alpha/osf.S (ffi_closure_osf): Handle return value type
171         promotion.
172
173 2000-12-07  Richard Henderson  <rth@redhat.com>
174
175         * src/raw_api.c (ffi_translate_args): Fix typo.
176         (ffi_prep_closure): Likewise.
177
178         * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
179         FFI_TRAMPOLINE_SIZE.
180         * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
181         cif->bytes for new ffi_call_osf implementation.
182         (ffi_prep_args): Absorb into ...
183         (ffi_call): ... here.  Do all stack allocation here and
184         avoid a callback function.
185         (ffi_prep_closure, ffi_closure_osf_inner): New.
186         * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback.
187         (ffi_closure_osf): New.
188
189 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
190
191         * config.guess, config.sub, install-sh: Removed.
192         * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise.
193         * Makefile.in: Rebuilt.
194
195         * acinclude.m4: Include libtool macros from the top level.
196         * aclocal.m4, configure: Rebuilt.
197
198 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
199
200         * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
201         * configure: Rebuilt.
202
203 2000-05-11  Scott Bambrough  <scottb@netwinder.org>
204
205         * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to 
206         memory correctly.  Use conditional instructions, not branches where 
207         possible.
208
209 2000-05-04  Tom Tromey  <tromey@cygnus.com>
210
211         * configure: Rebuilt.
212         * configure.in: Match `arm*-*-linux-*'.
213         From Chris Dornan <cdornan@arm.com>.
214
215 2000-04-28  Jakub Jelinek  <jakub@redhat.com>
216
217         * Makefile.am (SUBDIRS): Define.
218         (AM_MAKEFLAGS): Likewise.
219         (Multilib support.): Add section.
220         * Makefile.in: Rebuilt.
221         * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
222         New variables. Set for gcc using -print-multi-lib. Export them
223         to libtool.
224         (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
225         * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
226         for -shared links.
227         (extra_compiler_flags_value, extra_compiler_flags): Check these
228         for extra compiler options which need to be passed down in
229         compiler_flags.
230
231 2000-04-16  Anthony Green  <green@redhat.com>
232
233         * configure: Rebuilt.
234         * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
235
236 2000-04-14  Jakub Jelinek  <jakub@redhat.com>
237
238         * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
239         Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
240         * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
241         Replace all void * sizeofs with sizeof(int).
242         Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
243         different than DOUBLE.
244         Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
245         (ffi_prep_args_v9): New function.
246         (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
247         (ffi_V9_return_struct): New function.
248         (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
249         32bit code (not yet cross-arch calls).
250         * src/sparc/v8.S: Add struct return delay nop.
251         Handle long long.
252         * src/sparc/v9.S: New file.
253         * src/prep_cif.c (ffi_prep_cif): Return structure pointer
254         is used on sparc64 only for structures larger than 32 bytes.
255         Pass by reference for structures is done for structure arguments
256         larger than 16 bytes.
257         * src/ffitest.c (main): Use 64bit rint on sparc64.
258         Run long long tests on sparc.
259         * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
260         sparc64.
261         (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
262         on sparc64.
263         * configure.in (sparc-*-linux*): New supported target.
264         (sparc64-*-linux*): Likewise.
265         * configure: Rebuilt.
266         * Makefile.am: Add v9.S to SPARC files.
267         * Makefile.in: Likewise.
268         (LINK): Surround $(CCLD) into double quotes, so that multilib
269         compiles work correctly.
270
271 2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
272
273         * configure: Rebuilt.
274         * configure.in: (i*86-*-solaris*): New libffi target. Patch
275         proposed by Bryce McKinlay.
276
277 2000-03-20  Tom Tromey  <tromey@cygnus.com>
278
279         * Makefile.in: Hand edit for java_raw_api.lo.
280
281 2000-03-08  Bryce McKinlay  <bryce@albatross.co.nz>
282
283         * config.guess, config.sub: Update from the gcc tree.
284         Fix for PR libgcj/168.
285
286 2000-03-03  Tom Tromey  <tromey@cygnus.com>
287
288         * Makefile.in: Fixed ia64 by hand.
289
290         * configure: Rebuilt.
291         * configure.in (--enable-multilib): New option.
292         (libffi_basedir): New subst.
293         (AC_OUTPUT): Added multilib code.
294
295 2000-03-02  Tom Tromey  <tromey@cygnus.com>
296
297         * Makefile.in: Rebuilt.
298         * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
299         directory name.
300
301 2000-02-25  Hans Boehm <boehm@acm.org>
302
303         * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
304         files.
305         * src/raw_api.c (ffi_translate_args): Fixed typo in argument
306         list.
307         (ffi_prep_raw_closure): Use ffi_translate_args, not
308         ffi_closure_translate.
309         * src/java_raw_api.c: New file.
310         * src/ffitest.c (closure_test_fn): New function.
311         (main): Define `rint' as long long on IA64.  Added new test when
312         FFI_CLOSURES is defined.
313         * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
314         (ffi_abi): Recognize IA64.
315         (ffi_raw): Added `flt' field.
316         Added "Java raw API" code.
317         * configure.in: Recognize ia64.
318         * Makefile.am (TARGET_SRC_IA64): New macro.
319         (libffi_la_common_SOURCES): Added java_raw_api.c.
320         (libffi_la_SOURCES): Define in IA64 case.
321
322 2000-01-04  Tom Tromey  <tromey@cygnus.com>
323
324         * Makefile.in: Rebuilt with newer automake.
325
326 1999-12-31  Tom Tromey  <tromey@cygnus.com>
327
328         * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
329
330 1999-09-01  Tom Tromey  <tromey@cygnus.com>
331
332         * include/ffi.h.in: Removed PACKAGE and VERSION defines and
333         undefs.
334         * fficonfig.h.in: Rebuilt.
335         * configure: Rebuilt.
336         * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
337         Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
338         * acconfig.h: Don't #undef PACKAGE or VERSION.
339
340 1999-08-09  Anthony Green  <green@cygnus.com>
341
342         * include/ffi.h.in: Try to work around messy header problem
343         with PACKAGE and VERSION.
344
345         * configure: Rebuilt.
346         * configure.in: Change version to 2.00-beta.
347
348         * fficonfig.h.in: Rebuilt.
349         * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
350
351         * src/x86/ffi.c (ffi_raw_call): Rename.
352
353 1999-08-02  Kresten Krab Thorup  <krab@dominiq.is.s.u-tokyo.ac.jp>
354
355         * src/x86/ffi.c (ffi_closure_SYSV): New function.
356         (ffi_prep_incoming_args_SYSV): Ditto.
357         (ffi_prep_closure): Ditto.
358         (ffi_closure_raw_SYSV): Ditto.
359         (ffi_prep_raw_closure): More ditto.
360         (ffi_call_raw): Final ditto.
361
362         * include/ffi.h.in: Add definitions for closure and raw API.
363
364         * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
365         FFI_TYPE_UINT64.  
366
367         * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
368
369         * src/raw_api.c: New file.
370
371         * include/ffi.h.in (ffi_raw): New type.
372         (UINT_ARG, SINT_ARG): New defines.
373         (ffi_closure, ffi_raw_closure): New types.
374         (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
375         
376         * configure.in: Add check for endianness and sizeof void*.
377
378         * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
379         instead of directly.
380
381         * configure: Rebuilt.
382
383 Thu Jul  8 14:28:42 1999  Anthony Green  <green@cygnus.com>
384
385         * configure.in: Add x86 and powerpc BeOS configurations.
386         From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
387
388 1999-05-09  Anthony Green  <green@cygnus.com>
389
390         * configure.in: Add warning about this being beta code.
391         Remove src/Makefile.am from the picture.
392         * configure: Rebuilt.
393
394         * Makefile.am: Move logic from src/Makefile.am.  Add changes
395         to support libffi as a target library.
396         * Makefile.in: Rebuilt.
397
398         * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
399         Upgraded to new autoconf, automake, libtool.
400
401         * README: Tweaks.
402
403         * LICENSE: Update copyright date.
404
405         * src/Makefile.am, src/Makefile.in: Removed.
406
407 1998-11-29  Anthony Green  <green@cygnus.com>
408
409         * include/ChangeLog: Removed.
410         * src/ChangeLog: Removed.
411         * src/mips/ChangeLog: Removed.
412         * src/sparc/ChangeLog: Remboved.
413         * src/x86/ChangeLog: Removed.
414
415         * ChangeLog.v1: Created.