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