OSDN Git Service

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