OSDN Git Service

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