]>
Commit | Line | Data |
---|---|---|
7b5102af TT |
1 | 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch> |
2 | ||
3 | * libffi/src/ffitest.c | |
4 | add closure testcases | |
5 | ||
6 | 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca> | |
7 | ||
8 | * libffi/src/powerpc/ffi.c | |
9 | fix alignment bug for float (4 byte aligned iso 8 byte) | |
10 | ||
5f7c78d8 GK |
11 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
12 | ||
13 | * src/powerpc/ffi_darwin.c: Remove RCS version string. | |
14 | * src/powerpc/darwin.S: Remove RCS version string. | |
15 | ||
c75c7793 JS |
16 | 2003-01-03 Jeff Sturm <jsturm@one-point.com> |
17 | ||
18 | * include/ffi.h.in: Add closure defines for SPARC, SPARC64. | |
19 | * src/ffitest.c (main): Use static storage for closure. | |
20 | * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. | |
21 | * src/sparc/v8.S (ffi_closure_v8): New. | |
22 | * src/sparc/v9.S (ffi_closure_v9): New. | |
23 | ||
eb3c46a1 RM |
24 | 2002-11-10 Ranjit Mathew <rmathew@hotmail.com> |
25 | ||
26 | * include/ffi.h.in: Added FFI_STDCALL ffi_type | |
27 | enumeration for X86_WIN32. | |
28 | * src/x86/win32.S: Added ffi_call_STDCALL function | |
29 | definition. | |
30 | * src/x86/ffi.c (ffi_call/ffi_raw_call): Added | |
31 | switch cases for recognising FFI_STDCALL and | |
32 | calling ffi_call_STDCALL if target is X86_WIN32. | |
33 | * src/ffitest.c (my_stdcall_strlen/stdcall_many): | |
34 | stdcall versions of the "my_strlen" and "many" | |
35 | test functions (for X86_WIN32). | |
36 | Added test cases to test stdcall invocation using | |
37 | these functions. | |
38 | ||
4977bab6 ZW |
39 | 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org> |
40 | ||
41 | * src/sh/sysv.S: Add DWARF2 unwind info. | |
42 | ||
67333e84 UW |
43 | 2002-11-27 Ulrich Weigand <uweigand@de.ibm.com> |
44 | ||
45 | * src/s390/sysv.S (.eh_frame section): Make section read-only. | |
46 | ||
bc3cf760 JW |
47 | 2002-11-26 Jim Wilson <wilson@redhat.com> |
48 | ||
49 | * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64. | |
50 | ||
4977bab6 ZW |
51 | 2002-11-23 H.J. Lu <hjl@gnu.org> |
52 | ||
53 | * acinclude.m4: Add dummy AM_PROG_LIBTOOL. | |
54 | Include ../config/accross.m4. | |
55 | * aclocal.m4; Rebuild. | |
56 | * configure: Likewise. | |
57 | ||
18789f4e UW |
58 | 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com> |
59 | ||
60 | * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding. | |
61 | ||
6bee5372 DD |
62 | 2002-11-11 DJ Delorie <dj@redhat.com> |
63 | ||
64 | * configure.in: Look for common files in the right place. | |
65 | ||
8177895b UW |
66 | 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
67 | ||
68 | * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret | |
69 | raw data as _Jv_word values, not ffi_raw. | |
70 | (ffi_java_ptrarray_to_raw): Likewise. | |
71 | (ffi_java_rvalue_to_raw): New function. | |
72 | (ffi_java_raw_call): Call it. | |
73 | (ffi_java_raw_to_rvalue): New function. | |
74 | (ffi_java_translate_args): Call it. | |
75 | * src/ffitest.c (closure_test_fn): Interpret return value | |
76 | as ffi_arg, not int. | |
77 | * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing | |
78 | FFI_TYPE_POINTER case. | |
79 | (ffi_closure_helper_SYSV): Likewise. Also, assume return | |
80 | values extended to word size. | |
81 | ||
af50f4c8 AJ |
82 | 2002-10-02 Andreas Jaeger <aj@suse.de> |
83 | ||
84 | * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output. | |
85 | ||
5d297584 BT |
86 | 2002-10-01 Bo Thorsen <bo@smetana.suse.de> |
87 | ||
88 | * include/ffi.h.in: Fix i386 win32 compilation. | |
89 | ||
c4f17c6f UW |
90 | 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
91 | ||
92 | * configure.in: Add s390x-*-linux-* target. | |
93 | * configure: Regenerate. | |
94 | * include/ffi.h.in: Define S390X for s390x targets. | |
95 | (FFI_CLOSURES): Define for s390/s390x. | |
96 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
97 | (FFI_NATIVE_RAW_API): Likewise. | |
98 | * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390. | |
99 | * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x. | |
4977bab6 | 100 | * src/s390/ffi.c: Major rework of existing code. Add support for |
c4f17c6f UW |
101 | s390x targets. Add closure support. |
102 | * src/s390/sysv.S: Likewise. | |
103 | ||
d7b52625 RE |
104 | 2002-09-29 Richard Earnshaw <rearnsha@arm.com> |
105 | ||
106 | * src/arm/sysv.S: Fix typo. | |
107 | ||
28165e22 RE |
108 | 2002-09-28 Richard Earnshaw <rearnsha@arm.com> |
109 | ||
110 | * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor | |
111 | has defined __USER_LABEL_PREFIX__, then use it in CNAME. | |
112 | (ffi_call_SYSV): Handle soft-float. | |
113 | ||
0b0f4163 BT |
114 | 2002-09-27 Bo Thorsen <bo@suse.de> |
115 | ||
116 | * include/ffi.h.in: Fix multilib x86-64 support. | |
117 | ||
6c5d742e KG |
118 | 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
119 | ||
120 | * Makefile.am (all-multi): Fix multilib parallel build. | |
121 | ||
f4b2b0d6 KK |
122 | 2002-07-19 Kaz Kojima <kkojima@gcc.gnu.org> |
123 | ||
124 | * configure.in (sh[34]*-*-linux*): Add brackets. | |
125 | * configure: Regenerate. | |
126 | ||
ddebdfeb KK |
127 | 2002-07-18 Kaz Kojima <kkojima@gcc.gnu.org> |
128 | ||
129 | * Makefile.am: Add SH support. | |
130 | * Makefile.in: Regenerate. | |
131 | * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target. | |
132 | * configure: Regenerate. | |
133 | * include/ffi.h.in: Add SH support. | |
134 | * src/sh/ffi.c: New file. | |
135 | * src/sh/sysv.S: New file. | |
136 | * src/types.c: Add SH support. | |
137 | ||
c94974ca BT |
138 | 2002-07-16 Bo Thorsen <bo@suse.de> |
139 | ||
140 | * src/x86/ffi64.c: New file that adds x86-64 support. | |
141 | * src/x86/unix64.S: New file that handles argument setup for | |
142 | x86-64. | |
143 | * src/x86/sysv.S: Don't use this on x86-64. | |
144 | * src/x86/ffi.c: Don't use this on x86-64. | |
145 | Remove unused vars. | |
146 | * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation | |
147 | for x86-64. | |
148 | * src/ffitest.c (struct6): New test that tests a special case in | |
149 | the x86-64 ABI. | |
150 | (struct7): Likewise. | |
151 | (struct8): Likewise. | |
152 | (struct9): Likewise. | |
153 | (closure_test_fn): Silence warning about this when it's not used. | |
154 | (main): Add the new tests. | |
155 | (main): Fix a couple of wrong casts and silence some compiler warnings. | |
156 | * include/ffi.h.in: Add x86-64 ABI definition. | |
157 | * fficonfig.h.in: Regenerate. | |
158 | * Makefile.am: Add x86-64 support. | |
159 | * configure.in: Likewise. | |
160 | * Makefile.in: Regenerate. | |
161 | * configure: Likewise. | |
162 | ||
163 | 2002-06-24 Bo Thorsen <bo@suse.de> | |
164 | ||
165 | * src/types.c: Merge settings for similar architectures. | |
166 | Add x86-64 sizes and alignments. | |
167 | ||
168 | 2002-06-23 Bo Thorsen <bo@suse.de> | |
169 | ||
170 | * src/arm/ffi.c (ffi_prep_args): Remove unused vars. | |
171 | * src/sparc/ffi.c (ffi_prep_args_v8): Likewise. | |
172 | * src/mips/ffi.c (ffi_prep_args): Likewise. | |
173 | * src/m68k/ffi.c (ffi_prep_args): Likewise. | |
174 | ||
5be36a8f L |
175 | 2002-07-18 H.J. Lu (hjl@gnu.org) |
176 | ||
177 | * Makefile.am (TARGET_SRC_MIPS_LINUX): New. | |
178 | (libffi_la_SOURCES): Support MIPS_LINUX. | |
179 | (libffi_convenience_la_SOURCES): Likewise. | |
180 | * Makefile.in: Regenerated. | |
181 | ||
182 | * configure.in (mips64*-*): Skip. | |
183 | (mips*-*-linux*): New. | |
184 | * configure: Regenerated. | |
185 | ||
186 | * src/mips/ffi.c: Include <sgidefs.h>. | |
187 | ||
ad5e163c UW |
188 | 2002-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
189 | ||
190 | * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info. | |
191 | ||
ee4586c5 RS |
192 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
193 | ||
194 | * src/x86/ffi.c (ffi_prep_args): Remove reference to avn. | |
195 | ||
b86aa7b0 BT |
196 | 2002-05-27 Bo Thorsen <bo@suse.de> |
197 | ||
198 | * src/x86/ffi.c (ffi_prep_args): Remove unused variable and | |
199 | fix formatting. | |
200 | ||
859f7aaf AT |
201 | 2002-05-13 Andreas Tobler <a.tobler@schweiz.ch> |
202 | ||
203 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at | |
204 | beginning of function (for older apple cc). | |
205 | ||
6706f116 AO |
206 | 2002-05-08 Alexandre Oliva <aoliva@redhat.com> |
207 | ||
208 | * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at | |
209 | script entry, and set LD to it when configuring multilibs. | |
210 | * configure: Rebuilt. | |
211 | ||
fad655c8 JT |
212 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
213 | ||
214 | * configure.in (sparc64-*-netbsd*): Add target. | |
215 | (sparc-*-netbsdelf*): Likewise. | |
216 | * configure: Regenerate. | |
217 | ||
189ab118 DM |
218 | 2002-04-28 David S. Miller <davem@redhat.com> |
219 | ||
220 | * configure.in, configure: Fix SPARC test in previous change. | |
221 | ||
22bcf65c GT |
222 | 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> |
223 | ||
224 | * Makefile.am: Add Linux for S/390 support. | |
225 | * Makefile.in: Regenerate. | |
226 | * configure.in: Add Linux for S/390 support. | |
227 | * configure: Regenerate. | |
228 | * include/ffi.h.in: Add Linux for S/390 support. | |
229 | * src/s390/ffi.c: New file from libffi CVS tree. | |
230 | * src/s390/sysv.S: New file from libffi CVS tree. | |
231 | ||
5d84cf0b JJ |
232 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
233 | ||
234 | * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working | |
235 | %r_disp32(). | |
236 | * src/sparc/v8.S: Use it. | |
237 | * src/sparc/v9.S: Likewise. | |
238 | * fficonfig.h.in: Rebuilt. | |
239 | * configure: Rebuilt. | |
240 | ||
cc382e5c HB |
241 | 2002-04-08 Hans Boehm <Hans_Boehm@hp.com> |
242 | ||
243 | * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE | |
244 | correctly. | |
245 | * src/ia64/unix.S: Add unwind information. Fix comments. | |
246 | Save sp in a way that's compatible with unwind info. | |
247 | (ffi_call_unix): Correctly restore sp in all cases. | |
248 | * src/ia64/ffi.c: Add, fix comments. | |
249 | ||
dc798645 JJ |
250 | 2002-04-08 Jakub Jelinek <jakub@redhat.com> |
251 | ||
252 | * src/sparc/v8.S: Make .eh_frame dependent on target word size. | |
253 | ||
da00eaab JT |
254 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
255 | ||
256 | * configure.in (alpha*-*-netbsd*): Add target. | |
257 | * configure: Regenerate. | |
258 | ||
0c0b87ad JS |
259 | 2002-04-04 Jeff Sturm <jsturm@one-point.com> |
260 | ||
261 | * src/sparc/v8.S: Add unwind info. | |
262 | * src/sparc/v9.S: Likewise. | |
263 | ||
320d7e7a KW |
264 | 2002-03-30 Krister Walfridsson <cato@df.lth.se> |
265 | ||
266 | * configure.in: Enable i*86-*-netbsdelf*. | |
267 | * configure: Rebuilt. | |
4977bab6 | 268 | |
c75e51ed DB |
269 | 2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com> |
270 | ||
271 | PR other/2620 | |
272 | * src/mips/n32.s: Delete | |
273 | * src/mips/o32.s: Delete | |
274 | ||
5bb366e0 LR |
275 | 2002-03-21 Loren J. Rittle <ljrittle@acm.org> |
276 | ||
277 | * configure.in: Enable alpha*-*-freebsd*. | |
278 | * configure: Rebuilt. | |
279 | ||
ce3b24a7 BM |
280 | 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
281 | ||
282 | * Makefile.am: libfficonvenience -> libffi_convenience. | |
283 | * Makefile.in: Rebuilt. | |
4977bab6 | 284 | |
1eb7ba30 BM |
285 | * Makefile.am: Define ffitest_OBJECTS. |
286 | * Makefile.in: Rebuilt. | |
ce3b24a7 | 287 | |
073ae293 AT |
288 | 2002-03-07 Andreas Tobler <toa@pop.agri.ch> |
289 | David Edelsohn <edelsohn@gnu.org> | |
290 | ||
291 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files. | |
292 | (TARGET_SRC_POWERPC_AIX): Add aix_closure.S. | |
293 | (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S. | |
294 | * Makefile.in: Regenerate. | |
295 | * include/ffi.h.in: Add AIX and Darwin closure definitions. | |
296 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function. | |
297 | (flush_icache, flush_range): New functions. | |
298 | (ffi_closure_helper_DARWIN): New function. | |
299 | * src/powerpc/aix_closure.S: New file. | |
300 | * src/powerpc/darwin_closure.S: New file. | |
4977bab6 | 301 | |
02c521f4 JS |
302 | 2002-02-24 Jeff Sturm <jsturm@one-point.com> |
303 | ||
304 | * include/ffi.h.in: Add typedef for ffi_arg. | |
305 | * src/ffitest.c (main): Declare rint with ffi_arg. | |
4977bab6 | 306 | |
287dd527 AT |
307 | 2002-02-21 Andreas Tobler <toa@pop.agri.ch> |
308 | ||
309 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate | |
310 | number of GPRs for floating-point arguments. | |
311 | ||
e2f2e70a AG |
312 | 2002-01-31 Anthony Green <green@redhat.com> |
313 | ||
314 | * configure: Rebuilt. | |
315 | * configure.in: Replace CHECK_SIZEOF and endian tests with | |
316 | cross-compiler friendly macros. | |
317 | * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New | |
318 | macros. | |
319 | ||
15b9b32f DE |
320 | 2002-01-18 David Edelsohn <edelsohn@gnu.org> |
321 | ||
322 | * src/powerpc/darwin.S (_ffi_call_AIX): New. | |
1f7d5413 | 323 | * src/powerpc/aix.S (ffi_call_DARWIN): New. |
15b9b32f | 324 | |
2f4006f8 DE |
325 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
326 | ||
327 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX files. | |
328 | (TARGET_SRC_POWERPC_AIX): New. | |
329 | (POWERPC_AIX): New stanza. | |
330 | * Makefile.in: Regenerate. | |
331 | * configure.in: Add AIX case. | |
332 | * configure: Regenerate. | |
333 | * include/ffi.h.in (ffi_abi): Add FFI_AIX. | |
334 | * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame | |
335 | size. Fix "long double" support. | |
336 | (ffi_call): Add FFI_AIX case. | |
337 | * src/powerpc/aix.S: New. | |
338 | ||
3c017635 JH |
339 | 2001-10-09 John Hornkvist <john@toastedmarshmallow.com> |
340 | ||
341 | Implement Darwin PowerPC ABI. | |
342 | * configure.in: Handle powerpc-*-darwin*. | |
343 | * Makefile.am: Set source files for POWERPC_DARWIN. | |
344 | * configure: Rebuilt. | |
345 | * Makefile.in: Rebuilt. | |
346 | * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for | |
347 | POWERPC_DARWIN. | |
348 | * src/powerpc/darwin.S: New file. | |
349 | * src/powerpc/ffi_darwin.c: New file. | |
350 | ||
cc712abf JM |
351 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
352 | ||
353 | * src/x86/ffi.c: Fix spelling error of "separate" as "seperate". | |
354 | ||
03a8de49 RO |
355 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
356 | ||
357 | * src/x86/sysv.S: Avoid gas-only .balign directive. | |
358 | Use C style comments. | |
359 | ||
92a0e6c6 RO |
360 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
361 | ||
362 | * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic. | |
363 | Fixes PR bootstrap/3563. | |
364 | ||
57482f58 RO |
365 | 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
366 | ||
367 | * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF. | |
368 | ||
d7e2dd2f RO |
369 | 2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
370 | ||
371 | * configure.in: Recognize sparc*-sun-* host. | |
372 | * configure: Regenerate. | |
4977bab6 | 373 | |
be72207c AH |
374 | 2001-06-06 Andrew Haley <aph@redhat.com> |
375 | ||
4075db8f | 376 | * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF. |
be72207c | 377 | |
552cb45a AH |
378 | 2001-06-03 Andrew Haley <aph@redhat.com> |
379 | ||
4075db8f BT |
380 | * src/alpha/osf.S: Add unwind info. |
381 | * src/powerpc/sysv.S: Add unwind info. | |
382 | * src/powerpc/ppc_closure.S: Likewise. | |
552cb45a | 383 | |
7d45b968 JS |
384 | 2000-05-31 Jeff Sturm <jsturm@one-point.com> |
385 | ||
386 | * configure.in: Fix AC_ARG_ENABLE usage. | |
387 | * configure: Rebuilt. | |
388 | ||
2a7f63c4 BM |
389 | 2001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
390 | ||
391 | * configure.in: Remove warning about beta code. | |
392 | * configure: Rebuilt. | |
393 | ||
394 | 2001-04-25 Hans Boehm <Hans_Boehm@hp.com> | |
395 | ||
03a55252 HB |
396 | * src/ia64/unix.S: Restore stack pointer when returning from |
397 | ffi_closure_UNIX. | |
398 | * src/ia64/ffi.c: Fix typo in comment. | |
399 | ||
df5da1c4 JW |
400 | 2001-04-18 Jim Wilson <wilson@redhat.com> |
401 | ||
402 | * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2 | |
403 | to eliminate RAW DV. | |
404 | ||
52c28977 BM |
405 | 2001-04-12 Bryce McKinlay <bryce@albatross.co.nz> |
406 | ||
407 | * Makefile.am: Make a libtool convenience library. | |
408 | * Makefile.in: Rebuilt. | |
409 | ||
3b905056 BM |
410 | 2001-03-29 Bryce McKinlay <bryce@albatross.co.nz> |
411 | ||
412 | * configure.in: Use different syntax for subdirectory creation. | |
413 | * configure: Rebuilt. | |
414 | ||
d6c4152a JB |
415 | 2001-03-27 Jon Beniston <jon@beniston.com> |
416 | ||
417 | * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW). | |
418 | * configure: Rebuilt. | |
419 | * Makefile.am: Added X86_WIN32 target support. | |
420 | * Makefile.in: Rebuilt. | |
421 | ||
422 | * include/ffi.h.in: Added X86_WIN32 target support. | |
423 | ||
424 | * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets. | |
425 | * src/types.c: Added X86_WIN32 target support. | |
426 | ||
427 | * src/x86/win32.S: New file. Based on sysv.S, but with EH | |
428 | stuff removed and made to work with CygWin's gas. | |
429 | ||
675cdab3 BM |
430 | 2001-03-26 Bryce McKinlay <bryce@albatross.co.nz> |
431 | ||
432 | * configure.in: Make target subdirectory in build dir. | |
433 | * Makefile.am: Override suffix based rules to specify correct output | |
434 | subdirectory. | |
435 | * Makefile.in: Rebuilt. | |
436 | * configure: Rebuilt. | |
437 | ||
e5f8858a | 438 | 2001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca> |
cc4c8975 KH |
439 | |
440 | * src/powerpc/ppc_closure.S: New file. | |
441 | * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug | |
442 | involving long long and register pairs. | |
443 | (ffi_prep_closure): New function. | |
444 | (flush_icache): Likewise. | |
445 | (ffi_closure_helper_SYSV): Likewise. | |
446 | * include/ffi.h.in (FFI_CLOSURES): Define on PPC. | |
447 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
448 | (FFI_NATIVE_RAW_API): Likewise. | |
449 | * Makefile.in: Rebuilt. | |
450 | * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S. | |
451 | (TARGET_SRC_POWERPC): Likewise. | |
452 | ||
9450a929 TT |
453 | 2001-03-19 Tom Tromey <tromey@redhat.com> |
454 | ||
455 | * Makefile.in: Rebuilt. | |
456 | * Makefile.am (ffitest_LDFLAGS): New macro. | |
457 | ||
4d2cf715 NC |
458 | 2001-03-02 Nick Clifton <nickc@redhat.com> |
459 | ||
460 | * include/ffi.h.in: Remove RCS ident string. | |
461 | * include/ffi_mips.h: Remove RCS ident string. | |
462 | * src/debug.c: Remove RCS ident string. | |
463 | * src/ffitest.c: Remove RCS ident string. | |
464 | * src/prep_cif.c: Remove RCS ident string. | |
465 | * src/types.c: Remove RCS ident string. | |
466 | * src/alpha/ffi.c: Remove RCS ident string. | |
467 | * src/alpha/osf.S: Remove RCS ident string. | |
468 | * src/arm/ffi.c: Remove RCS ident string. | |
469 | * src/arm/sysv.S: Remove RCS ident string. | |
470 | * src/mips/ffi.c: Remove RCS ident string. | |
471 | * src/mips/n32.S: Remove RCS ident string. | |
472 | * src/mips/o32.S: Remove RCS ident string. | |
473 | * src/sparc/ffi.c: Remove RCS ident string. | |
474 | * src/sparc/v8.S: Remove RCS ident string. | |
475 | * src/sparc/v9.S: Remove RCS ident string. | |
476 | * src/x86/ffi.c: Remove RCS ident string. | |
477 | * src/x86/sysv.S: Remove RCS ident string. | |
478 | ||
7e5fd99f JM |
479 | 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk> |
480 | ||
481 | * include/ffi.h.in: Change sourceware.cygnus.com references to | |
482 | gcc.gnu.org. | |
483 | ||
3f67ba6e RH |
484 | 2000-12-09 Richard Henderson <rth@redhat.com> |
485 | ||
486 | * src/alpha/ffi.c (ffi_call): Simplify struct return test. | |
487 | (ffi_closure_osf_inner): Index rather than increment avalue | |
488 | and arg_types. Give ffi_closure_osf the raw return value type. | |
489 | * src/alpha/osf.S (ffi_closure_osf): Handle return value type | |
490 | promotion. | |
491 | ||
492 | 2000-12-07 Richard Henderson <rth@redhat.com> | |
29fe0479 RH |
493 | |
494 | * src/raw_api.c (ffi_translate_args): Fix typo. | |
495 | (ffi_prep_closure): Likewise. | |
496 | ||
497 | * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and | |
498 | FFI_TRAMPOLINE_SIZE. | |
499 | * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal | |
500 | cif->bytes for new ffi_call_osf implementation. | |
501 | (ffi_prep_args): Absorb into ... | |
502 | (ffi_call): ... here. Do all stack allocation here and | |
503 | avoid a callback function. | |
504 | (ffi_prep_closure, ffi_closure_osf_inner): New. | |
505 | * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback. | |
506 | (ffi_closure_osf): New. | |
507 | ||
2f7bf5b7 AO |
508 | 2000-09-10 Alexandre Oliva <aoliva@redhat.com> |
509 | ||
ed1c1a1a AO |
510 | * config.guess, config.sub, install-sh: Removed. |
511 | * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise. | |
512 | * Makefile.in: Rebuilt. | |
513 | ||
2f7bf5b7 AO |
514 | * acinclude.m4: Include libtool macros from the top level. |
515 | * aclocal.m4, configure: Rebuilt. | |
516 | ||
e15a68e7 AO |
517 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
518 | ||
519 | * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set. | |
520 | * configure: Rebuilt. | |
521 | ||
7f8c11d5 SB |
522 | 2000-05-11 Scott Bambrough <scottb@netwinder.org> |
523 | ||
4977bab6 ZW |
524 | * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to |
525 | memory correctly. Use conditional instructions, not branches where | |
7f8c11d5 SB |
526 | possible. |
527 | ||
c5acf51f TT |
528 | 2000-05-04 Tom Tromey <tromey@cygnus.com> |
529 | ||
530 | * configure: Rebuilt. | |
531 | * configure.in: Match `arm*-*-linux-*'. | |
532 | From Chris Dornan <cdornan@arm.com>. | |
533 | ||
91bffbe9 JJ |
534 | 2000-04-28 Jakub Jelinek <jakub@redhat.com> |
535 | ||
536 | * Makefile.am (SUBDIRS): Define. | |
537 | (AM_MAKEFLAGS): Likewise. | |
538 | (Multilib support.): Add section. | |
539 | * Makefile.in: Rebuilt. | |
540 | * ltconfig (extra_compiler_flags, extra_compiler_flags_value): | |
4075db8f BT |
541 | New variables. Set for gcc using -print-multi-lib. Export them |
542 | to libtool. | |
543 | (sparc64-*-linux-gnu*): Use libsuff 64 for search paths. | |
544 | * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options | |
545 | for -shared links. | |
546 | (extra_compiler_flags_value, extra_compiler_flags): Check these | |
547 | for extra compiler options which need to be passed down in | |
548 | compiler_flags. | |
91bffbe9 | 549 | |
bd66587e AG |
550 | 2000-04-16 Anthony Green <green@redhat.com> |
551 | ||
552 | * configure: Rebuilt. | |
553 | * configure.in: Change i*86-pc-linux* to i*86-*-linux*. | |
554 | ||
3791773c JJ |
555 | 2000-04-14 Jakub Jelinek <jakub@redhat.com> |
556 | ||
4075db8f | 557 | * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds. |
3791773c JJ |
558 | Set SPARC FFI_DEFAULT_ABI based on SPARC64 define. |
559 | * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args. | |
560 | Replace all void * sizeofs with sizeof(int). | |
561 | Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is | |
562 | different than DOUBLE. | |
563 | Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere). | |
564 | (ffi_prep_args_v9): New function. | |
565 | (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8. | |
566 | (ffi_V9_return_struct): New function. | |
567 | (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from | |
568 | 32bit code (not yet cross-arch calls). | |
569 | * src/sparc/v8.S: Add struct return delay nop. | |
570 | Handle long long. | |
571 | * src/sparc/v9.S: New file. | |
572 | * src/prep_cif.c (ffi_prep_cif): Return structure pointer | |
573 | is used on sparc64 only for structures larger than 32 bytes. | |
574 | Pass by reference for structures is done for structure arguments | |
575 | larger than 16 bytes. | |
576 | * src/ffitest.c (main): Use 64bit rint on sparc64. | |
577 | Run long long tests on sparc. | |
578 | * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and | |
579 | sparc64. | |
580 | (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits | |
581 | on sparc64. | |
582 | * configure.in (sparc-*-linux*): New supported target. | |
583 | (sparc64-*-linux*): Likewise. | |
584 | * configure: Rebuilt. | |
585 | * Makefile.am: Add v9.S to SPARC files. | |
586 | * Makefile.in: Likewise. | |
587 | (LINK): Surround $(CCLD) into double quotes, so that multilib | |
588 | compiles work correctly. | |
589 | ||
db459595 APB |
590 | 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com> |
591 | ||
592 | * configure: Rebuilt. | |
593 | * configure.in: (i*86-*-solaris*): New libffi target. Patch | |
594 | proposed by Bryce McKinlay. | |
595 | ||
c1f63902 TT |
596 | 2000-03-20 Tom Tromey <tromey@cygnus.com> |
597 | ||
598 | * Makefile.in: Hand edit for java_raw_api.lo. | |
599 | ||
0f72dc9e BM |
600 | 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz> |
601 | ||
602 | * config.guess, config.sub: Update from the gcc tree. | |
603 | Fix for PR libgcj/168. | |
604 | ||
3c18f2d1 TT |
605 | 2000-03-03 Tom Tromey <tromey@cygnus.com> |
606 | ||
323eee8a TT |
607 | * Makefile.in: Fixed ia64 by hand. |
608 | ||
3c18f2d1 TT |
609 | * configure: Rebuilt. |
610 | * configure.in (--enable-multilib): New option. | |
611 | (libffi_basedir): New subst. | |
612 | (AC_OUTPUT): Added multilib code. | |
613 | ||
a2b10a92 TT |
614 | 2000-03-02 Tom Tromey <tromey@cygnus.com> |
615 | ||
616 | * Makefile.in: Rebuilt. | |
617 | * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as | |
618 | directory name. | |
619 | ||
dc5de370 HB |
620 | 2000-02-25 Hans Boehm <boehm@acm.org> |
621 | ||
622 | * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New | |
623 | files. | |
624 | * src/raw_api.c (ffi_translate_args): Fixed typo in argument | |
625 | list. | |
626 | (ffi_prep_raw_closure): Use ffi_translate_args, not | |
627 | ffi_closure_translate. | |
628 | * src/java_raw_api.c: New file. | |
629 | * src/ffitest.c (closure_test_fn): New function. | |
630 | (main): Define `rint' as long long on IA64. Added new test when | |
631 | FFI_CLOSURES is defined. | |
632 | * include/ffi.h.in (ALIGN): Use size_t, not unsigned. | |
633 | (ffi_abi): Recognize IA64. | |
634 | (ffi_raw): Added `flt' field. | |
635 | Added "Java raw API" code. | |
636 | * configure.in: Recognize ia64. | |
637 | * Makefile.am (TARGET_SRC_IA64): New macro. | |
638 | (libffi_la_common_SOURCES): Added java_raw_api.c. | |
639 | (libffi_la_SOURCES): Define in IA64 case. | |
640 | ||
d79229bd TT |
641 | 2000-01-04 Tom Tromey <tromey@cygnus.com> |
642 | ||
643 | * Makefile.in: Rebuilt with newer automake. | |
644 | ||
2c33b220 TT |
645 | 1999-12-31 Tom Tromey <tromey@cygnus.com> |
646 | ||
647 | * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src. | |
648 | ||
6ba9e3b0 TT |
649 | 1999-09-01 Tom Tromey <tromey@cygnus.com> |
650 | ||
651 | * include/ffi.h.in: Removed PACKAGE and VERSION defines and | |
652 | undefs. | |
653 | * fficonfig.h.in: Rebuilt. | |
654 | * configure: Rebuilt. | |
655 | * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE. | |
656 | Use AM_PROG_LIBTOOL (automake 1.4 compatibility). | |
657 | * acconfig.h: Don't #undef PACKAGE or VERSION. | |
658 | ||
63e5e3e0 AG |
659 | 1999-08-09 Anthony Green <green@cygnus.com> |
660 | ||
661 | * include/ffi.h.in: Try to work around messy header problem | |
662 | with PACKAGE and VERSION. | |
663 | ||
664 | * configure: Rebuilt. | |
665 | * configure.in: Change version to 2.00-beta. | |
666 | ||
4075db8f | 667 | * fficonfig.h.in: Rebuilt. |
63e5e3e0 AG |
668 | * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define. |
669 | ||
670 | * src/x86/ffi.c (ffi_raw_call): Rename. | |
671 | ||
672 | 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp> | |
673 | ||
674 | * src/x86/ffi.c (ffi_closure_SYSV): New function. | |
675 | (ffi_prep_incoming_args_SYSV): Ditto. | |
676 | (ffi_prep_closure): Ditto. | |
677 | (ffi_closure_raw_SYSV): Ditto. | |
678 | (ffi_prep_raw_closure): More ditto. | |
679 | (ffi_call_raw): Final ditto. | |
680 | ||
681 | * include/ffi.h.in: Add definitions for closure and raw API. | |
682 | ||
683 | * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for | |
4977bab6 | 684 | FFI_TYPE_UINT64. |
63e5e3e0 AG |
685 | |
686 | * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c | |
687 | ||
688 | * src/raw_api.c: New file. | |
689 | ||
690 | * include/ffi.h.in (ffi_raw): New type. | |
691 | (UINT_ARG, SINT_ARG): New defines. | |
692 | (ffi_closure, ffi_raw_closure): New types. | |
693 | (ffi_prep_closure, ffi_prep_raw_closure): New declarations. | |
4977bab6 | 694 | |
63e5e3e0 AG |
695 | * configure.in: Add check for endianness and sizeof void*. |
696 | ||
697 | * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument, | |
698 | instead of directly. | |
699 | ||
700 | * configure: Rebuilt. | |
701 | ||
702 | Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com> | |
703 | ||
704 | * configure.in: Add x86 and powerpc BeOS configurations. | |
705 | From Makoto Kato <m_kato@ga2.so-net.ne.jp>. | |
706 | ||
707 | 1999-05-09 Anthony Green <green@cygnus.com> | |
708 | ||
709 | * configure.in: Add warning about this being beta code. | |
710 | Remove src/Makefile.am from the picture. | |
711 | * configure: Rebuilt. | |
712 | ||
713 | * Makefile.am: Move logic from src/Makefile.am. Add changes | |
714 | to support libffi as a target library. | |
715 | * Makefile.in: Rebuilt. | |
716 | ||
717 | * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh: | |
718 | Upgraded to new autoconf, automake, libtool. | |
719 | ||
720 | * README: Tweaks. | |
721 | ||
722 | * LICENSE: Update copyright date. | |
723 | ||
724 | * src/Makefile.am, src/Makefile.in: Removed. | |
725 | ||
726 | 1998-11-29 Anthony Green <green@cygnus.com> | |
727 | ||
728 | * include/ChangeLog: Removed. | |
729 | * src/ChangeLog: Removed. | |
730 | * src/mips/ChangeLog: Removed. | |
731 | * src/sparc/ChangeLog: Remboved. | |
732 | * src/x86/ChangeLog: Removed. | |
733 | ||
734 | * ChangeLog.v1: Created. |