OSDN Git Service

* c-decl.c (finish_enum): Convert enumerations that fit in an
[pf3gnuchains/gcc-fork.git] / libffi / ChangeLog
1 2000-05-11  Scott Bambrough  <scottb@netwinder.org>
2
3         * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to 
4         memory correctly.  Use conditional instructions, not branches where 
5         possible.
6
7 2000-05-04  Tom Tromey  <tromey@cygnus.com>
8
9         * configure: Rebuilt.
10         * configure.in: Match `arm*-*-linux-*'.
11         From Chris Dornan <cdornan@arm.com>.
12
13 2000-04-28  Jakub Jelinek  <jakub@redhat.com>
14
15         * Makefile.am (SUBDIRS): Define.
16         (AM_MAKEFLAGS): Likewise.
17         (Multilib support.): Add section.
18         * Makefile.in: Rebuilt.
19         * ltconfig (extra_compiler_flags, extra_compiler_flags_value):
20         New variables. Set for gcc using -print-multi-lib. Export them
21         to libtool.
22         (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
23         * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
24         for -shared links.
25         (extra_compiler_flags_value, extra_compiler_flags): Check these
26         for extra compiler options which need to be passed down in
27         compiler_flags.
28
29 2000-04-16  Anthony Green  <green@redhat.com>
30
31         * configure: Rebuilt.
32         * configure.in: Change i*86-pc-linux* to i*86-*-linux*.
33
34 2000-04-14  Jakub Jelinek  <jakub@redhat.com>
35
36         * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
37         Set SPARC FFI_DEFAULT_ABI based on SPARC64 define.
38         * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
39         Replace all void * sizeofs with sizeof(int).
40         Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is
41         different than DOUBLE.
42         Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere).
43         (ffi_prep_args_v9): New function.
44         (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8.
45         (ffi_V9_return_struct): New function.
46         (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from
47         32bit code (not yet cross-arch calls).
48         * src/sparc/v8.S: Add struct return delay nop.
49         Handle long long.
50         * src/sparc/v9.S: New file.
51         * src/prep_cif.c (ffi_prep_cif): Return structure pointer
52         is used on sparc64 only for structures larger than 32 bytes.
53         Pass by reference for structures is done for structure arguments
54         larger than 16 bytes.
55         * src/ffitest.c (main): Use 64bit rint on sparc64.
56         Run long long tests on sparc.
57         * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and
58         sparc64.
59         (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits
60         on sparc64.
61         * configure.in (sparc-*-linux*): New supported target.
62         (sparc64-*-linux*): Likewise.
63         * configure: Rebuilt.
64         * Makefile.am: Add v9.S to SPARC files.
65         * Makefile.in: Likewise.
66         (LINK): Surround $(CCLD) into double quotes, so that multilib
67         compiles work correctly.
68
69 2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
70
71         * configure: Rebuilt.
72         * configure.in: (i*86-*-solaris*): New libffi target. Patch
73         proposed by Bryce McKinlay.
74
75 2000-03-20  Tom Tromey  <tromey@cygnus.com>
76
77         * Makefile.in: Hand edit for java_raw_api.lo.
78
79 2000-03-08  Bryce McKinlay  <bryce@albatross.co.nz>
80
81         * config.guess, config.sub: Update from the gcc tree.
82         Fix for PR libgcj/168.
83
84 2000-03-03  Tom Tromey  <tromey@cygnus.com>
85
86         * Makefile.in: Fixed ia64 by hand.
87
88         * configure: Rebuilt.
89         * configure.in (--enable-multilib): New option.
90         (libffi_basedir): New subst.
91         (AC_OUTPUT): Added multilib code.
92
93 2000-03-02  Tom Tromey  <tromey@cygnus.com>
94
95         * Makefile.in: Rebuilt.
96         * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as
97         directory name.
98
99 2000-02-25  Hans Boehm <boehm@acm.org>
100
101         * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
102         files.
103         * src/raw_api.c (ffi_translate_args): Fixed typo in argument
104         list.
105         (ffi_prep_raw_closure): Use ffi_translate_args, not
106         ffi_closure_translate.
107         * src/java_raw_api.c: New file.
108         * src/ffitest.c (closure_test_fn): New function.
109         (main): Define `rint' as long long on IA64.  Added new test when
110         FFI_CLOSURES is defined.
111         * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
112         (ffi_abi): Recognize IA64.
113         (ffi_raw): Added `flt' field.
114         Added "Java raw API" code.
115         * configure.in: Recognize ia64.
116         * Makefile.am (TARGET_SRC_IA64): New macro.
117         (libffi_la_common_SOURCES): Added java_raw_api.c.
118         (libffi_la_SOURCES): Define in IA64 case.
119
120 2000-01-04  Tom Tromey  <tromey@cygnus.com>
121
122         * Makefile.in: Rebuilt with newer automake.
123
124 1999-12-31  Tom Tromey  <tromey@cygnus.com>
125
126         * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
127
128 1999-09-01  Tom Tromey  <tromey@cygnus.com>
129
130         * include/ffi.h.in: Removed PACKAGE and VERSION defines and
131         undefs.
132         * fficonfig.h.in: Rebuilt.
133         * configure: Rebuilt.
134         * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE.
135         Use AM_PROG_LIBTOOL (automake 1.4 compatibility).
136         * acconfig.h: Don't #undef PACKAGE or VERSION.
137
138 1999-08-09  Anthony Green  <green@cygnus.com>
139
140         * include/ffi.h.in: Try to work around messy header problem
141         with PACKAGE and VERSION.
142
143         * configure: Rebuilt.
144         * configure.in: Change version to 2.00-beta.
145
146         * fficonfig.h.in: Rebuilt.
147         * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define.
148
149         * src/x86/ffi.c (ffi_raw_call): Rename.
150
151 1999-08-02  Kresten Krab Thorup  <krab@dominiq.is.s.u-tokyo.ac.jp>
152
153         * src/x86/ffi.c (ffi_closure_SYSV): New function.
154         (ffi_prep_incoming_args_SYSV): Ditto.
155         (ffi_prep_closure): Ditto.
156         (ffi_closure_raw_SYSV): Ditto.
157         (ffi_prep_raw_closure): More ditto.
158         (ffi_call_raw): Final ditto.
159
160         * include/ffi.h.in: Add definitions for closure and raw API.
161
162         * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
163         FFI_TYPE_UINT64.  
164
165         * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c
166
167         * src/raw_api.c: New file.
168
169         * include/ffi.h.in (ffi_raw): New type.
170         (UINT_ARG, SINT_ARG): New defines.
171         (ffi_closure, ffi_raw_closure): New types.
172         (ffi_prep_closure, ffi_prep_raw_closure): New declarations.
173         
174         * configure.in: Add check for endianness and sizeof void*.
175
176         * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument,
177         instead of directly.
178
179         * configure: Rebuilt.
180
181 Thu Jul  8 14:28:42 1999  Anthony Green  <green@cygnus.com>
182
183         * configure.in: Add x86 and powerpc BeOS configurations.
184         From Makoto Kato <m_kato@ga2.so-net.ne.jp>.
185
186 1999-05-09  Anthony Green  <green@cygnus.com>
187
188         * configure.in: Add warning about this being beta code.
189         Remove src/Makefile.am from the picture.
190         * configure: Rebuilt.
191
192         * Makefile.am: Move logic from src/Makefile.am.  Add changes
193         to support libffi as a target library.
194         * Makefile.in: Rebuilt.
195
196         * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh:
197         Upgraded to new autoconf, automake, libtool.
198
199         * README: Tweaks.
200
201         * LICENSE: Update copyright date.
202
203         * src/Makefile.am, src/Makefile.in: Removed.
204
205 1998-11-29  Anthony Green  <green@cygnus.com>
206
207         * include/ChangeLog: Removed.
208         * src/ChangeLog: Removed.
209         * src/mips/ChangeLog: Removed.
210         * src/sparc/ChangeLog: Remboved.
211         * src/x86/ChangeLog: Removed.
212
213         * ChangeLog.v1: Created.