]>
Commit | Line | Data |
---|---|---|
226660af AT |
1 | 2003-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
2 | ||
3 | * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning | |
4 | about implicit declaration of abort(). | |
5 | ||
bbf3057b AT |
6 | 2003-09-04 Andreas Tobler <a.tobler@schweiz.ch> |
7 | ||
8 | * Makefile.am: Add dejagnu test framework. Fixes PR other/11411. | |
9 | * Makefile.in: Rebuilt. | |
10 | * configure.in: Add dejagnu test framework. | |
11 | * configure: Rebuilt. | |
12 | ||
13 | * testsuite/Makefile.am: New file. | |
14 | * testsuite/Makefile.in: Built | |
15 | * testsuite/lib/libffi-dg.exp: New file. | |
16 | * testsuite/config/default.exp: Likewise. | |
17 | * testsuite/libffi.call/call.exp: Likewise. | |
18 | * testsuite/libffi.call/ffitest.h: Likewise. | |
19 | * testsuite/libffi.call/closure_fn0.c: Likewise. | |
20 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
21 | * testsuite/libffi.call/closure_fn2.c: Likewise. | |
22 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
23 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
24 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
25 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
26 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
27 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
28 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
29 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
30 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
31 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
32 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
33 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
34 | * testsuite/libffi.call/cls_12byte.c: Likewise. | |
35 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
36 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
37 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
38 | * testsuite/libffi.call/cls_double.c: Likewise. | |
39 | * testsuite/libffi.call/cls_float.c: Likewise. | |
40 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
41 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
42 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
43 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
44 | * testsuite/libffi.call/float.c: Likewise. | |
45 | * testsuite/libffi.call/float1.c: Likewise. | |
46 | * testsuite/libffi.call/float2.c: Likewise. | |
47 | * testsuite/libffi.call/many.c: Likewise. | |
48 | * testsuite/libffi.call/many_win32.c: Likewise. | |
49 | * testsuite/libffi.call/nested_struct.c: Likewise. | |
50 | * testsuite/libffi.call/nested_struct1.c: Likewise. | |
51 | * testsuite/libffi.call/pyobjc-tc.c: Likewise. | |
52 | * testsuite/libffi.call/problem1.c: Likewise. | |
53 | * testsuite/libffi.call/promotion.c: Likewise. | |
54 | * testsuite/libffi.call/return_ll.c: Likewise. | |
55 | * testsuite/libffi.call/return_sc.c: Likewise. | |
56 | * testsuite/libffi.call/return_uc.c: Likewise. | |
57 | * testsuite/libffi.call/strlen.c: Likewise. | |
58 | * testsuite/libffi.call/strlen_win32.c: Likewise. | |
59 | * testsuite/libffi.call/struct1.c: Likewise. | |
60 | * testsuite/libffi.call/struct2.c: Likewise. | |
61 | * testsuite/libffi.call/struct3.c: Likewise. | |
62 | * testsuite/libffi.call/struct4.c: Likewise. | |
63 | * testsuite/libffi.call/struct5.c: Likewise. | |
64 | * testsuite/libffi.call/struct6.c: Likewise. | |
65 | * testsuite/libffi.call/struct7.c: Likewise. | |
66 | * testsuite/libffi.call/struct8.c: Likewise. | |
67 | * testsuite/libffi.call/struct9.c: Likewise. | |
68 | * testsuite/libffi.special/special.exp: New file. | |
69 | * testsuite/libffi.special/ffitestcxx.h: Likewise. | |
70 | * testsuite/libffi.special/unwindtest.cc: Likewise. | |
71 | ||
72 | ||
996b4f8f KK |
73 | 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org> |
74 | ||
75 | * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update | |
76 | copyright years. | |
77 | ||
b00badcd AM |
78 | 2003-08-02 Alan Modra <amodra@bigpond.net.au> |
79 | ||
80 | * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc | |
81 | structure passing. | |
82 | (ffi_closure_helper_LINUX64): Likewise. | |
83 | * src/powerpc/linux64.S: Remove code writing to parm save area. | |
84 | * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return | |
85 | address in lr from ffi_closure_helper_LINUX64 call to calculate | |
86 | table address. Optimize function tail. | |
87 | ||
c1516eae AT |
88 | 2003-07-28 Andreas Tobler <a.tobler@schweiz.ch> |
89 | ||
90 | * src/sparc/ffi.c: Handle all floating point registers. | |
91 | * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410. | |
92 | ||
fc0e6222 GP |
93 | 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
94 | ||
95 | * README: Note that libffi is not part of GCC. Update the project | |
96 | URL and status. | |
97 | ||
a1569df8 FS |
98 | 2003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
99 | ||
100 | * src/powerpc/ppc_closure.S: Include ffi.h. | |
101 | ||
12e816bf RO |
102 | 2003-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
103 | ||
104 | * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives. | |
105 | Use C style comments. | |
106 | ||
e860ed6d KK |
107 | 2003-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
108 | ||
109 | * Makefile.am: Add SHmedia support. Fix a typo of SH support. | |
110 | * Makefile.in: Regenerate. | |
111 | * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target. | |
112 | * configure: Regenerate. | |
113 | * include/ffi.h.in: Add SHmedia support. | |
114 | * src/sh64/ffi.c: New file. | |
115 | * src/sh64/sysv.S: New file. | |
116 | ||
a733b15e JJ |
117 | 2003-05-16 Jakub Jelinek <jakub@redhat.com> |
118 | ||
119 | * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section | |
120 | should be read-only. | |
121 | * configure: Rebuilt. | |
122 | * fficonfig.h.in: Rebuilt. | |
123 | * include/ffi.h.in (EH_FRAME_FLAGS): Define. | |
124 | * src/alpha/osf.S: Use EH_FRAME_FLAGS. | |
125 | * src/powerpc/linux64.S: Likewise. | |
126 | * src/powerpc/linux64_closure.S: Likewise. Include ffi.h. | |
127 | * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding | |
128 | if -fpic/-fPIC/-mrelocatable. | |
129 | * src/powerpc/powerpc_closure.S: Likewise. | |
130 | * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include | |
131 | #write in .eh_frame flags. | |
132 | * src/sparc/v9.S: Likewise. | |
133 | * src/x86/unix64.S: Use EH_FRAME_FLAGS. | |
134 | * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC. | |
135 | * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h. | |
136 | ||
bd19c9f4 JS |
137 | 2003-05-07 Jeff Sturm <jsturm@one-point.com> |
138 | ||
139 | Fixes PR bootstrap/10656 | |
140 | * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler | |
141 | support for .register pseudo-op. | |
142 | * src/sparc/v8.S: Use it. | |
143 | * fficonfig.h.in: Rebuilt. | |
144 | * configure: Rebuilt. | |
145 | ||
e9b84181 JJ |
146 | 2003-04-18 Jakub Jelinek <jakub@redhat.com> |
147 | ||
148 | * include/ffi.h.in (POWERPC64): Define if 64-bit. | |
149 | (enum ffi_abi): Add FFI_LINUX64 on POWERPC. | |
150 | Make it the default on POWERPC64. | |
151 | (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64. | |
152 | * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*. | |
153 | * configure: Rebuilt. | |
154 | * src/powerpc/ffi.c (hidden): Define. | |
155 | (ffi_prep_args_SYSV): Renamed from | |
156 | ffi_prep_args. Cast pointers to unsigned long to shut up warnings. | |
157 | (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64, | |
158 | ASM_NEEDS_REGISTERS64): New. | |
159 | (ffi_prep_args64): New function. | |
160 | (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI. | |
161 | (ffi_call): Likewise. | |
162 | (ffi_prep_closure): Likewise. | |
163 | (flush_icache): Surround by #ifndef POWERPC64. | |
164 | (ffi_dblfl): New union type. | |
165 | (ffi_closure_helper_SYSV): Use it to avoid aliasing problems. | |
166 | (ffi_closure_helper_LINUX64): New function. | |
167 | * src/powerpc/ppc_closure.S: Surround whole file by #ifndef | |
168 | __powerpc64__. | |
169 | * src/powerpc/sysv.S: Likewise. | |
170 | (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV. | |
171 | * src/powerpc/linux64.S: New file. | |
172 | * src/powerpc/linux64_closure.S: New file. | |
173 | * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and | |
174 | src/powerpc/linux64_closure.S. | |
175 | (TARGET_SRC_POWERPC): Likewise. | |
176 | ||
177 | * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2, | |
178 | closure_test_fn3): Fix result printing on big-endian 64-bit | |
179 | machines. | |
180 | (main): Print tst2_arg instead of uninitialized tst2_result. | |
181 | ||
182 | * src/ffitest.c (main): Hide what closure pointer really points to | |
183 | from the compiler. | |
184 | ||
908a31e1 RE |
185 | 2003-04-16 Richard Earnshaw <rearnsha@arm.com> |
186 | ||
187 | * configure.in (arm-*-netbsdelf*): Add configuration. | |
188 | (configure): Regenerated. | |
189 | ||
41a73c4c LR |
190 | 2003-04-04 Loren J. Rittle <ljrittle@acm.org> |
191 | ||
192 | * include/Makefile.in: Regenerate. | |
193 | ||
cd41c847 ZD |
194 | 2003-03-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
195 | ||
196 | * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32 | |
197 | bit mode. | |
198 | * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV): | |
199 | Receive closure pointer through parameter, read args using | |
200 | __builtin_dwarf_cfa. | |
201 | (FFI_INIT_TRAMPOLINE): Send closure reference through eax. | |
202 | ||
6db450f9 AS |
203 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
204 | ||
205 | * configure.in: Avoid trailing /. in toolexeclibdir. | |
206 | * configure: Rebuilt. | |
207 | ||
70144e9c AT |
208 | 2003-03-03 Andreas Tobler <a.tobler@schweiz.ch> |
209 | ||
210 | * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries. | |
211 | ||
79e43f89 AT |
212 | 2003-02-06 Andreas Tobler <a.tobler@schweiz.ch> |
213 | ||
214 | * libffi/src/powerpc/darwin_closure.S: | |
215 | Fix alignement bug, allocate 8 bytes for the result. | |
216 | * libffi/src/powerpc/aix_closure.S: | |
217 | Likewise. | |
218 | * libffi/src/powerpc/ffi_darwin.c: | |
219 | Update stackframe description for aix/darwin_closure.S. | |
220 | ||
0fcc9e55 JJ |
221 | 2003-02-06 Jakub Jelinek <jakub@redhat.com> |
222 | ||
223 | * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility | |
224 | attribute. | |
225 | ||
63b87c2e CC |
226 | 2003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>, |
227 | Andreas Schwab <schwab@suse.de> | |
228 | ||
229 | * configure.in: Adjust command to source config-ml.in to account | |
230 | for changes to the libffi_basedir definition. | |
231 | (libffi_basedir): Remove ${srcdir} from value and include trailing | |
232 | slash if nonempty. | |
233 | ||
234 | * configure: Regenerate. | |
235 | ||
c33402e2 FS |
236 | 2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
237 | ||
238 | * src/powerpc/ppc_closure.S: Recode to fit shared libs. | |
239 | ||
fd2e49b2 AH |
240 | 2003-01-28 Andrew Haley <aph@redhat.com> |
241 | ||
242 | * include/ffi.h.in: Enable FFI_CLOSURES for x86_64. | |
243 | * src/x86/ffi64.c (ffi_prep_closure): New. | |
244 | (ffi_closure_UNIX64_inner): New. | |
245 | * src/x86/unix64.S (ffi_closure_UNIX64): New. | |
246 | ||
0e292c01 AO |
247 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
248 | ||
249 | * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST. | |
250 | Remove USE_LIBDIR conditional. | |
251 | * Makefile.am (toolexecdir, toolexeclibdir): Don't override. | |
252 | * Makefile.in, configure: Rebuilt. | |
253 | ||
acabc220 DE |
254 | 2003-01027 David Edelsohn <edelsohn@gnu.org> |
255 | ||
256 | * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo. | |
257 | * Makefile.in: Regenerate. | |
258 | ||
be0acd42 AH |
259 | 2003-01-22 Andrew Haley <aph@redhat.com> |
260 | ||
261 | * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to | |
262 | unwind info. | |
263 | ||
ed695c8e AT |
264 | 2003-01-21 Andreas Tobler <a.tobler@schweiz.ch> |
265 | ||
266 | * src/powerpc/darwin.S: Add unwind info. | |
267 | * src/powerpc/darwin_closure.S: Likewise. | |
268 | ||
45ba15f4 AH |
269 | 2003-01-14 Andrew Haley <aph@redhat.com> |
270 | ||
271 | * src/x86/ffi64.c (ffi_prep_args): Check for void retval. | |
272 | (ffi_prep_cif_machdep): Likewise. | |
273 | * src/x86/unix64.S: Add unwind info. | |
274 | ||
4b5f402e AJ |
275 | 2003-01-14 Andreas Jaeger <aj@suse.de> |
276 | ||
277 | * src/ffitest.c (main): Only use ffi_closures if those are | |
278 | supported. | |
279 | ||
7b5102af TT |
280 | 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch> |
281 | ||
282 | * libffi/src/ffitest.c | |
283 | add closure testcases | |
284 | ||
285 | 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca> | |
286 | ||
287 | * libffi/src/powerpc/ffi.c | |
288 | fix alignment bug for float (4 byte aligned iso 8 byte) | |
289 | ||
5f7c78d8 GK |
290 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
291 | ||
292 | * src/powerpc/ffi_darwin.c: Remove RCS version string. | |
293 | * src/powerpc/darwin.S: Remove RCS version string. | |
294 | ||
c75c7793 JS |
295 | 2003-01-03 Jeff Sturm <jsturm@one-point.com> |
296 | ||
297 | * include/ffi.h.in: Add closure defines for SPARC, SPARC64. | |
298 | * src/ffitest.c (main): Use static storage for closure. | |
299 | * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. | |
300 | * src/sparc/v8.S (ffi_closure_v8): New. | |
301 | * src/sparc/v9.S (ffi_closure_v9): New. | |
302 | ||
eb3c46a1 RM |
303 | 2002-11-10 Ranjit Mathew <rmathew@hotmail.com> |
304 | ||
305 | * include/ffi.h.in: Added FFI_STDCALL ffi_type | |
306 | enumeration for X86_WIN32. | |
307 | * src/x86/win32.S: Added ffi_call_STDCALL function | |
308 | definition. | |
309 | * src/x86/ffi.c (ffi_call/ffi_raw_call): Added | |
310 | switch cases for recognising FFI_STDCALL and | |
311 | calling ffi_call_STDCALL if target is X86_WIN32. | |
312 | * src/ffitest.c (my_stdcall_strlen/stdcall_many): | |
313 | stdcall versions of the "my_strlen" and "many" | |
314 | test functions (for X86_WIN32). | |
315 | Added test cases to test stdcall invocation using | |
316 | these functions. | |
317 | ||
4977bab6 ZW |
318 | 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org> |
319 | ||
320 | * src/sh/sysv.S: Add DWARF2 unwind info. | |
321 | ||
67333e84 UW |
322 | 2002-11-27 Ulrich Weigand <uweigand@de.ibm.com> |
323 | ||
324 | * src/s390/sysv.S (.eh_frame section): Make section read-only. | |
325 | ||
bc3cf760 JW |
326 | 2002-11-26 Jim Wilson <wilson@redhat.com> |
327 | ||
328 | * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64. | |
329 | ||
4977bab6 ZW |
330 | 2002-11-23 H.J. Lu <hjl@gnu.org> |
331 | ||
332 | * acinclude.m4: Add dummy AM_PROG_LIBTOOL. | |
333 | Include ../config/accross.m4. | |
334 | * aclocal.m4; Rebuild. | |
335 | * configure: Likewise. | |
336 | ||
18789f4e UW |
337 | 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com> |
338 | ||
339 | * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding. | |
340 | ||
6bee5372 DD |
341 | 2002-11-11 DJ Delorie <dj@redhat.com> |
342 | ||
343 | * configure.in: Look for common files in the right place. | |
344 | ||
8177895b UW |
345 | 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
346 | ||
347 | * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret | |
348 | raw data as _Jv_word values, not ffi_raw. | |
349 | (ffi_java_ptrarray_to_raw): Likewise. | |
350 | (ffi_java_rvalue_to_raw): New function. | |
351 | (ffi_java_raw_call): Call it. | |
352 | (ffi_java_raw_to_rvalue): New function. | |
353 | (ffi_java_translate_args): Call it. | |
354 | * src/ffitest.c (closure_test_fn): Interpret return value | |
355 | as ffi_arg, not int. | |
356 | * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing | |
357 | FFI_TYPE_POINTER case. | |
358 | (ffi_closure_helper_SYSV): Likewise. Also, assume return | |
359 | values extended to word size. | |
360 | ||
af50f4c8 AJ |
361 | 2002-10-02 Andreas Jaeger <aj@suse.de> |
362 | ||
363 | * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output. | |
364 | ||
5d297584 BT |
365 | 2002-10-01 Bo Thorsen <bo@smetana.suse.de> |
366 | ||
367 | * include/ffi.h.in: Fix i386 win32 compilation. | |
368 | ||
c4f17c6f UW |
369 | 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
370 | ||
371 | * configure.in: Add s390x-*-linux-* target. | |
372 | * configure: Regenerate. | |
373 | * include/ffi.h.in: Define S390X for s390x targets. | |
374 | (FFI_CLOSURES): Define for s390/s390x. | |
375 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
376 | (FFI_NATIVE_RAW_API): Likewise. | |
377 | * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390. | |
378 | * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x. | |
4977bab6 | 379 | * src/s390/ffi.c: Major rework of existing code. Add support for |
c4f17c6f UW |
380 | s390x targets. Add closure support. |
381 | * src/s390/sysv.S: Likewise. | |
382 | ||
d7b52625 RE |
383 | 2002-09-29 Richard Earnshaw <rearnsha@arm.com> |
384 | ||
385 | * src/arm/sysv.S: Fix typo. | |
386 | ||
28165e22 RE |
387 | 2002-09-28 Richard Earnshaw <rearnsha@arm.com> |
388 | ||
389 | * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor | |
390 | has defined __USER_LABEL_PREFIX__, then use it in CNAME. | |
391 | (ffi_call_SYSV): Handle soft-float. | |
392 | ||
0b0f4163 BT |
393 | 2002-09-27 Bo Thorsen <bo@suse.de> |
394 | ||
395 | * include/ffi.h.in: Fix multilib x86-64 support. | |
396 | ||
6c5d742e KG |
397 | 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
398 | ||
399 | * Makefile.am (all-multi): Fix multilib parallel build. | |
400 | ||
f4b2b0d6 KK |
401 | 2002-07-19 Kaz Kojima <kkojima@gcc.gnu.org> |
402 | ||
403 | * configure.in (sh[34]*-*-linux*): Add brackets. | |
404 | * configure: Regenerate. | |
405 | ||
ddebdfeb KK |
406 | 2002-07-18 Kaz Kojima <kkojima@gcc.gnu.org> |
407 | ||
408 | * Makefile.am: Add SH support. | |
409 | * Makefile.in: Regenerate. | |
410 | * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target. | |
411 | * configure: Regenerate. | |
412 | * include/ffi.h.in: Add SH support. | |
413 | * src/sh/ffi.c: New file. | |
414 | * src/sh/sysv.S: New file. | |
415 | * src/types.c: Add SH support. | |
416 | ||
c94974ca BT |
417 | 2002-07-16 Bo Thorsen <bo@suse.de> |
418 | ||
419 | * src/x86/ffi64.c: New file that adds x86-64 support. | |
420 | * src/x86/unix64.S: New file that handles argument setup for | |
421 | x86-64. | |
422 | * src/x86/sysv.S: Don't use this on x86-64. | |
423 | * src/x86/ffi.c: Don't use this on x86-64. | |
424 | Remove unused vars. | |
425 | * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation | |
426 | for x86-64. | |
427 | * src/ffitest.c (struct6): New test that tests a special case in | |
428 | the x86-64 ABI. | |
429 | (struct7): Likewise. | |
430 | (struct8): Likewise. | |
431 | (struct9): Likewise. | |
432 | (closure_test_fn): Silence warning about this when it's not used. | |
433 | (main): Add the new tests. | |
434 | (main): Fix a couple of wrong casts and silence some compiler warnings. | |
435 | * include/ffi.h.in: Add x86-64 ABI definition. | |
436 | * fficonfig.h.in: Regenerate. | |
437 | * Makefile.am: Add x86-64 support. | |
438 | * configure.in: Likewise. | |
439 | * Makefile.in: Regenerate. | |
440 | * configure: Likewise. | |
441 | ||
442 | 2002-06-24 Bo Thorsen <bo@suse.de> | |
443 | ||
444 | * src/types.c: Merge settings for similar architectures. | |
445 | Add x86-64 sizes and alignments. | |
446 | ||
447 | 2002-06-23 Bo Thorsen <bo@suse.de> | |
448 | ||
449 | * src/arm/ffi.c (ffi_prep_args): Remove unused vars. | |
450 | * src/sparc/ffi.c (ffi_prep_args_v8): Likewise. | |
451 | * src/mips/ffi.c (ffi_prep_args): Likewise. | |
452 | * src/m68k/ffi.c (ffi_prep_args): Likewise. | |
453 | ||
5be36a8f L |
454 | 2002-07-18 H.J. Lu (hjl@gnu.org) |
455 | ||
456 | * Makefile.am (TARGET_SRC_MIPS_LINUX): New. | |
457 | (libffi_la_SOURCES): Support MIPS_LINUX. | |
458 | (libffi_convenience_la_SOURCES): Likewise. | |
459 | * Makefile.in: Regenerated. | |
460 | ||
461 | * configure.in (mips64*-*): Skip. | |
462 | (mips*-*-linux*): New. | |
463 | * configure: Regenerated. | |
464 | ||
465 | * src/mips/ffi.c: Include <sgidefs.h>. | |
466 | ||
ad5e163c UW |
467 | 2002-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
468 | ||
469 | * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info. | |
470 | ||
ee4586c5 RS |
471 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
472 | ||
473 | * src/x86/ffi.c (ffi_prep_args): Remove reference to avn. | |
474 | ||
b86aa7b0 BT |
475 | 2002-05-27 Bo Thorsen <bo@suse.de> |
476 | ||
477 | * src/x86/ffi.c (ffi_prep_args): Remove unused variable and | |
478 | fix formatting. | |
479 | ||
859f7aaf AT |
480 | 2002-05-13 Andreas Tobler <a.tobler@schweiz.ch> |
481 | ||
482 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at | |
483 | beginning of function (for older apple cc). | |
484 | ||
6706f116 AO |
485 | 2002-05-08 Alexandre Oliva <aoliva@redhat.com> |
486 | ||
487 | * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at | |
488 | script entry, and set LD to it when configuring multilibs. | |
489 | * configure: Rebuilt. | |
490 | ||
fad655c8 JT |
491 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
492 | ||
493 | * configure.in (sparc64-*-netbsd*): Add target. | |
494 | (sparc-*-netbsdelf*): Likewise. | |
495 | * configure: Regenerate. | |
496 | ||
189ab118 DM |
497 | 2002-04-28 David S. Miller <davem@redhat.com> |
498 | ||
499 | * configure.in, configure: Fix SPARC test in previous change. | |
500 | ||
22bcf65c GT |
501 | 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> |
502 | ||
503 | * Makefile.am: Add Linux for S/390 support. | |
504 | * Makefile.in: Regenerate. | |
505 | * configure.in: Add Linux for S/390 support. | |
506 | * configure: Regenerate. | |
507 | * include/ffi.h.in: Add Linux for S/390 support. | |
508 | * src/s390/ffi.c: New file from libffi CVS tree. | |
509 | * src/s390/sysv.S: New file from libffi CVS tree. | |
510 | ||
5d84cf0b JJ |
511 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
512 | ||
513 | * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working | |
514 | %r_disp32(). | |
515 | * src/sparc/v8.S: Use it. | |
516 | * src/sparc/v9.S: Likewise. | |
517 | * fficonfig.h.in: Rebuilt. | |
518 | * configure: Rebuilt. | |
519 | ||
cc382e5c HB |
520 | 2002-04-08 Hans Boehm <Hans_Boehm@hp.com> |
521 | ||
522 | * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE | |
523 | correctly. | |
524 | * src/ia64/unix.S: Add unwind information. Fix comments. | |
525 | Save sp in a way that's compatible with unwind info. | |
526 | (ffi_call_unix): Correctly restore sp in all cases. | |
527 | * src/ia64/ffi.c: Add, fix comments. | |
528 | ||
dc798645 JJ |
529 | 2002-04-08 Jakub Jelinek <jakub@redhat.com> |
530 | ||
531 | * src/sparc/v8.S: Make .eh_frame dependent on target word size. | |
532 | ||
da00eaab JT |
533 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
534 | ||
535 | * configure.in (alpha*-*-netbsd*): Add target. | |
536 | * configure: Regenerate. | |
537 | ||
0c0b87ad JS |
538 | 2002-04-04 Jeff Sturm <jsturm@one-point.com> |
539 | ||
540 | * src/sparc/v8.S: Add unwind info. | |
541 | * src/sparc/v9.S: Likewise. | |
542 | ||
320d7e7a KW |
543 | 2002-03-30 Krister Walfridsson <cato@df.lth.se> |
544 | ||
545 | * configure.in: Enable i*86-*-netbsdelf*. | |
546 | * configure: Rebuilt. | |
4977bab6 | 547 | |
c75e51ed DB |
548 | 2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com> |
549 | ||
550 | PR other/2620 | |
551 | * src/mips/n32.s: Delete | |
552 | * src/mips/o32.s: Delete | |
553 | ||
5bb366e0 LR |
554 | 2002-03-21 Loren J. Rittle <ljrittle@acm.org> |
555 | ||
556 | * configure.in: Enable alpha*-*-freebsd*. | |
557 | * configure: Rebuilt. | |
558 | ||
ce3b24a7 BM |
559 | 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
560 | ||
561 | * Makefile.am: libfficonvenience -> libffi_convenience. | |
562 | * Makefile.in: Rebuilt. | |
4977bab6 | 563 | |
1eb7ba30 BM |
564 | * Makefile.am: Define ffitest_OBJECTS. |
565 | * Makefile.in: Rebuilt. | |
ce3b24a7 | 566 | |
073ae293 AT |
567 | 2002-03-07 Andreas Tobler <toa@pop.agri.ch> |
568 | David Edelsohn <edelsohn@gnu.org> | |
569 | ||
570 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files. | |
571 | (TARGET_SRC_POWERPC_AIX): Add aix_closure.S. | |
572 | (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S. | |
573 | * Makefile.in: Regenerate. | |
574 | * include/ffi.h.in: Add AIX and Darwin closure definitions. | |
575 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function. | |
576 | (flush_icache, flush_range): New functions. | |
577 | (ffi_closure_helper_DARWIN): New function. | |
578 | * src/powerpc/aix_closure.S: New file. | |
579 | * src/powerpc/darwin_closure.S: New file. | |
4977bab6 | 580 | |
02c521f4 JS |
581 | 2002-02-24 Jeff Sturm <jsturm@one-point.com> |
582 | ||
583 | * include/ffi.h.in: Add typedef for ffi_arg. | |
584 | * src/ffitest.c (main): Declare rint with ffi_arg. | |
4977bab6 | 585 | |
287dd527 AT |
586 | 2002-02-21 Andreas Tobler <toa@pop.agri.ch> |
587 | ||
588 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate | |
589 | number of GPRs for floating-point arguments. | |
590 | ||
e2f2e70a AG |
591 | 2002-01-31 Anthony Green <green@redhat.com> |
592 | ||
593 | * configure: Rebuilt. | |
594 | * configure.in: Replace CHECK_SIZEOF and endian tests with | |
595 | cross-compiler friendly macros. | |
596 | * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New | |
597 | macros. | |
598 | ||
15b9b32f DE |
599 | 2002-01-18 David Edelsohn <edelsohn@gnu.org> |
600 | ||
601 | * src/powerpc/darwin.S (_ffi_call_AIX): New. | |
1f7d5413 | 602 | * src/powerpc/aix.S (ffi_call_DARWIN): New. |
15b9b32f | 603 | |
2f4006f8 DE |
604 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
605 | ||
606 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX files. | |
607 | (TARGET_SRC_POWERPC_AIX): New. | |
608 | (POWERPC_AIX): New stanza. | |
609 | * Makefile.in: Regenerate. | |
610 | * configure.in: Add AIX case. | |
611 | * configure: Regenerate. | |
612 | * include/ffi.h.in (ffi_abi): Add FFI_AIX. | |
613 | * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame | |
614 | size. Fix "long double" support. | |
615 | (ffi_call): Add FFI_AIX case. | |
616 | * src/powerpc/aix.S: New. | |
617 | ||
3c017635 JH |
618 | 2001-10-09 John Hornkvist <john@toastedmarshmallow.com> |
619 | ||
620 | Implement Darwin PowerPC ABI. | |
621 | * configure.in: Handle powerpc-*-darwin*. | |
622 | * Makefile.am: Set source files for POWERPC_DARWIN. | |
623 | * configure: Rebuilt. | |
624 | * Makefile.in: Rebuilt. | |
625 | * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for | |
626 | POWERPC_DARWIN. | |
627 | * src/powerpc/darwin.S: New file. | |
628 | * src/powerpc/ffi_darwin.c: New file. | |
629 | ||
cc712abf JM |
630 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
631 | ||
632 | * src/x86/ffi.c: Fix spelling error of "separate" as "seperate". | |
633 | ||
03a8de49 RO |
634 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
635 | ||
636 | * src/x86/sysv.S: Avoid gas-only .balign directive. | |
637 | Use C style comments. | |
638 | ||
92a0e6c6 RO |
639 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
640 | ||
641 | * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic. | |
642 | Fixes PR bootstrap/3563. | |
643 | ||
57482f58 RO |
644 | 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
645 | ||
646 | * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF. | |
647 | ||
d7e2dd2f RO |
648 | 2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
649 | ||
650 | * configure.in: Recognize sparc*-sun-* host. | |
651 | * configure: Regenerate. | |
4977bab6 | 652 | |
be72207c AH |
653 | 2001-06-06 Andrew Haley <aph@redhat.com> |
654 | ||
4075db8f | 655 | * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF. |
be72207c | 656 | |
552cb45a AH |
657 | 2001-06-03 Andrew Haley <aph@redhat.com> |
658 | ||
4075db8f BT |
659 | * src/alpha/osf.S: Add unwind info. |
660 | * src/powerpc/sysv.S: Add unwind info. | |
661 | * src/powerpc/ppc_closure.S: Likewise. | |
552cb45a | 662 | |
7d45b968 JS |
663 | 2000-05-31 Jeff Sturm <jsturm@one-point.com> |
664 | ||
665 | * configure.in: Fix AC_ARG_ENABLE usage. | |
666 | * configure: Rebuilt. | |
667 | ||
2a7f63c4 BM |
668 | 2001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
669 | ||
670 | * configure.in: Remove warning about beta code. | |
671 | * configure: Rebuilt. | |
672 | ||
673 | 2001-04-25 Hans Boehm <Hans_Boehm@hp.com> | |
674 | ||
03a55252 HB |
675 | * src/ia64/unix.S: Restore stack pointer when returning from |
676 | ffi_closure_UNIX. | |
677 | * src/ia64/ffi.c: Fix typo in comment. | |
678 | ||
df5da1c4 JW |
679 | 2001-04-18 Jim Wilson <wilson@redhat.com> |
680 | ||
681 | * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2 | |
682 | to eliminate RAW DV. | |
683 | ||
52c28977 BM |
684 | 2001-04-12 Bryce McKinlay <bryce@albatross.co.nz> |
685 | ||
686 | * Makefile.am: Make a libtool convenience library. | |
687 | * Makefile.in: Rebuilt. | |
688 | ||
3b905056 BM |
689 | 2001-03-29 Bryce McKinlay <bryce@albatross.co.nz> |
690 | ||
691 | * configure.in: Use different syntax for subdirectory creation. | |
692 | * configure: Rebuilt. | |
693 | ||
d6c4152a JB |
694 | 2001-03-27 Jon Beniston <jon@beniston.com> |
695 | ||
696 | * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW). | |
697 | * configure: Rebuilt. | |
698 | * Makefile.am: Added X86_WIN32 target support. | |
699 | * Makefile.in: Rebuilt. | |
700 | ||
701 | * include/ffi.h.in: Added X86_WIN32 target support. | |
702 | ||
703 | * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets. | |
704 | * src/types.c: Added X86_WIN32 target support. | |
705 | ||
706 | * src/x86/win32.S: New file. Based on sysv.S, but with EH | |
707 | stuff removed and made to work with CygWin's gas. | |
708 | ||
675cdab3 BM |
709 | 2001-03-26 Bryce McKinlay <bryce@albatross.co.nz> |
710 | ||
711 | * configure.in: Make target subdirectory in build dir. | |
712 | * Makefile.am: Override suffix based rules to specify correct output | |
713 | subdirectory. | |
714 | * Makefile.in: Rebuilt. | |
715 | * configure: Rebuilt. | |
716 | ||
e5f8858a | 717 | 2001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca> |
cc4c8975 KH |
718 | |
719 | * src/powerpc/ppc_closure.S: New file. | |
720 | * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug | |
721 | involving long long and register pairs. | |
722 | (ffi_prep_closure): New function. | |
723 | (flush_icache): Likewise. | |
724 | (ffi_closure_helper_SYSV): Likewise. | |
725 | * include/ffi.h.in (FFI_CLOSURES): Define on PPC. | |
726 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
727 | (FFI_NATIVE_RAW_API): Likewise. | |
728 | * Makefile.in: Rebuilt. | |
729 | * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S. | |
730 | (TARGET_SRC_POWERPC): Likewise. | |
731 | ||
9450a929 TT |
732 | 2001-03-19 Tom Tromey <tromey@redhat.com> |
733 | ||
734 | * Makefile.in: Rebuilt. | |
735 | * Makefile.am (ffitest_LDFLAGS): New macro. | |
736 | ||
4d2cf715 NC |
737 | 2001-03-02 Nick Clifton <nickc@redhat.com> |
738 | ||
739 | * include/ffi.h.in: Remove RCS ident string. | |
740 | * include/ffi_mips.h: Remove RCS ident string. | |
741 | * src/debug.c: Remove RCS ident string. | |
742 | * src/ffitest.c: Remove RCS ident string. | |
743 | * src/prep_cif.c: Remove RCS ident string. | |
744 | * src/types.c: Remove RCS ident string. | |
745 | * src/alpha/ffi.c: Remove RCS ident string. | |
746 | * src/alpha/osf.S: Remove RCS ident string. | |
747 | * src/arm/ffi.c: Remove RCS ident string. | |
748 | * src/arm/sysv.S: Remove RCS ident string. | |
749 | * src/mips/ffi.c: Remove RCS ident string. | |
750 | * src/mips/n32.S: Remove RCS ident string. | |
751 | * src/mips/o32.S: Remove RCS ident string. | |
752 | * src/sparc/ffi.c: Remove RCS ident string. | |
753 | * src/sparc/v8.S: Remove RCS ident string. | |
754 | * src/sparc/v9.S: Remove RCS ident string. | |
755 | * src/x86/ffi.c: Remove RCS ident string. | |
756 | * src/x86/sysv.S: Remove RCS ident string. | |
757 | ||
7e5fd99f JM |
758 | 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk> |
759 | ||
760 | * include/ffi.h.in: Change sourceware.cygnus.com references to | |
761 | gcc.gnu.org. | |
762 | ||
3f67ba6e RH |
763 | 2000-12-09 Richard Henderson <rth@redhat.com> |
764 | ||
765 | * src/alpha/ffi.c (ffi_call): Simplify struct return test. | |
766 | (ffi_closure_osf_inner): Index rather than increment avalue | |
767 | and arg_types. Give ffi_closure_osf the raw return value type. | |
768 | * src/alpha/osf.S (ffi_closure_osf): Handle return value type | |
769 | promotion. | |
770 | ||
771 | 2000-12-07 Richard Henderson <rth@redhat.com> | |
29fe0479 RH |
772 | |
773 | * src/raw_api.c (ffi_translate_args): Fix typo. | |
774 | (ffi_prep_closure): Likewise. | |
775 | ||
776 | * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and | |
777 | FFI_TRAMPOLINE_SIZE. | |
778 | * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal | |
779 | cif->bytes for new ffi_call_osf implementation. | |
780 | (ffi_prep_args): Absorb into ... | |
781 | (ffi_call): ... here. Do all stack allocation here and | |
782 | avoid a callback function. | |
783 | (ffi_prep_closure, ffi_closure_osf_inner): New. | |
784 | * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback. | |
785 | (ffi_closure_osf): New. | |
786 | ||
2f7bf5b7 AO |
787 | 2000-09-10 Alexandre Oliva <aoliva@redhat.com> |
788 | ||
ed1c1a1a AO |
789 | * config.guess, config.sub, install-sh: Removed. |
790 | * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise. | |
791 | * Makefile.in: Rebuilt. | |
792 | ||
2f7bf5b7 AO |
793 | * acinclude.m4: Include libtool macros from the top level. |
794 | * aclocal.m4, configure: Rebuilt. | |
795 | ||
e15a68e7 AO |
796 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
797 | ||
798 | * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set. | |
799 | * configure: Rebuilt. | |
800 | ||
7f8c11d5 SB |
801 | 2000-05-11 Scott Bambrough <scottb@netwinder.org> |
802 | ||
4977bab6 ZW |
803 | * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to |
804 | memory correctly. Use conditional instructions, not branches where | |
7f8c11d5 SB |
805 | possible. |
806 | ||
c5acf51f TT |
807 | 2000-05-04 Tom Tromey <tromey@cygnus.com> |
808 | ||
809 | * configure: Rebuilt. | |
810 | * configure.in: Match `arm*-*-linux-*'. | |
811 | From Chris Dornan <cdornan@arm.com>. | |
812 | ||
91bffbe9 JJ |
813 | 2000-04-28 Jakub Jelinek <jakub@redhat.com> |
814 | ||
815 | * Makefile.am (SUBDIRS): Define. | |
816 | (AM_MAKEFLAGS): Likewise. | |
817 | (Multilib support.): Add section. | |
818 | * Makefile.in: Rebuilt. | |
819 | * ltconfig (extra_compiler_flags, extra_compiler_flags_value): | |
4075db8f BT |
820 | New variables. Set for gcc using -print-multi-lib. Export them |
821 | to libtool. | |
822 | (sparc64-*-linux-gnu*): Use libsuff 64 for search paths. | |
823 | * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options | |
824 | for -shared links. | |
825 | (extra_compiler_flags_value, extra_compiler_flags): Check these | |
826 | for extra compiler options which need to be passed down in | |
827 | compiler_flags. | |
91bffbe9 | 828 | |
bd66587e AG |
829 | 2000-04-16 Anthony Green <green@redhat.com> |
830 | ||
831 | * configure: Rebuilt. | |
832 | * configure.in: Change i*86-pc-linux* to i*86-*-linux*. | |
833 | ||
3791773c JJ |
834 | 2000-04-14 Jakub Jelinek <jakub@redhat.com> |
835 | ||
4075db8f | 836 | * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds. |
3791773c JJ |
837 | Set SPARC FFI_DEFAULT_ABI based on SPARC64 define. |
838 | * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args. | |
839 | Replace all void * sizeofs with sizeof(int). | |
840 | Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is | |
841 | different than DOUBLE. | |
842 | Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere). | |
843 | (ffi_prep_args_v9): New function. | |
844 | (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8. | |
845 | (ffi_V9_return_struct): New function. | |
846 | (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from | |
847 | 32bit code (not yet cross-arch calls). | |
848 | * src/sparc/v8.S: Add struct return delay nop. | |
849 | Handle long long. | |
850 | * src/sparc/v9.S: New file. | |
851 | * src/prep_cif.c (ffi_prep_cif): Return structure pointer | |
852 | is used on sparc64 only for structures larger than 32 bytes. | |
853 | Pass by reference for structures is done for structure arguments | |
854 | larger than 16 bytes. | |
855 | * src/ffitest.c (main): Use 64bit rint on sparc64. | |
856 | Run long long tests on sparc. | |
857 | * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and | |
858 | sparc64. | |
859 | (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits | |
860 | on sparc64. | |
861 | * configure.in (sparc-*-linux*): New supported target. | |
862 | (sparc64-*-linux*): Likewise. | |
863 | * configure: Rebuilt. | |
864 | * Makefile.am: Add v9.S to SPARC files. | |
865 | * Makefile.in: Likewise. | |
866 | (LINK): Surround $(CCLD) into double quotes, so that multilib | |
867 | compiles work correctly. | |
868 | ||
db459595 APB |
869 | 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com> |
870 | ||
871 | * configure: Rebuilt. | |
872 | * configure.in: (i*86-*-solaris*): New libffi target. Patch | |
873 | proposed by Bryce McKinlay. | |
874 | ||
c1f63902 TT |
875 | 2000-03-20 Tom Tromey <tromey@cygnus.com> |
876 | ||
877 | * Makefile.in: Hand edit for java_raw_api.lo. | |
878 | ||
0f72dc9e BM |
879 | 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz> |
880 | ||
881 | * config.guess, config.sub: Update from the gcc tree. | |
882 | Fix for PR libgcj/168. | |
883 | ||
3c18f2d1 TT |
884 | 2000-03-03 Tom Tromey <tromey@cygnus.com> |
885 | ||
323eee8a TT |
886 | * Makefile.in: Fixed ia64 by hand. |
887 | ||
3c18f2d1 TT |
888 | * configure: Rebuilt. |
889 | * configure.in (--enable-multilib): New option. | |
890 | (libffi_basedir): New subst. | |
891 | (AC_OUTPUT): Added multilib code. | |
892 | ||
a2b10a92 TT |
893 | 2000-03-02 Tom Tromey <tromey@cygnus.com> |
894 | ||
895 | * Makefile.in: Rebuilt. | |
896 | * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as | |
897 | directory name. | |
898 | ||
dc5de370 HB |
899 | 2000-02-25 Hans Boehm <boehm@acm.org> |
900 | ||
901 | * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New | |
902 | files. | |
903 | * src/raw_api.c (ffi_translate_args): Fixed typo in argument | |
904 | list. | |
905 | (ffi_prep_raw_closure): Use ffi_translate_args, not | |
906 | ffi_closure_translate. | |
907 | * src/java_raw_api.c: New file. | |
908 | * src/ffitest.c (closure_test_fn): New function. | |
909 | (main): Define `rint' as long long on IA64. Added new test when | |
910 | FFI_CLOSURES is defined. | |
911 | * include/ffi.h.in (ALIGN): Use size_t, not unsigned. | |
912 | (ffi_abi): Recognize IA64. | |
913 | (ffi_raw): Added `flt' field. | |
914 | Added "Java raw API" code. | |
915 | * configure.in: Recognize ia64. | |
916 | * Makefile.am (TARGET_SRC_IA64): New macro. | |
917 | (libffi_la_common_SOURCES): Added java_raw_api.c. | |
918 | (libffi_la_SOURCES): Define in IA64 case. | |
919 | ||
d79229bd TT |
920 | 2000-01-04 Tom Tromey <tromey@cygnus.com> |
921 | ||
922 | * Makefile.in: Rebuilt with newer automake. | |
923 | ||
2c33b220 TT |
924 | 1999-12-31 Tom Tromey <tromey@cygnus.com> |
925 | ||
926 | * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src. | |
927 | ||
6ba9e3b0 TT |
928 | 1999-09-01 Tom Tromey <tromey@cygnus.com> |
929 | ||
930 | * include/ffi.h.in: Removed PACKAGE and VERSION defines and | |
931 | undefs. | |
932 | * fficonfig.h.in: Rebuilt. | |
933 | * configure: Rebuilt. | |
934 | * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE. | |
935 | Use AM_PROG_LIBTOOL (automake 1.4 compatibility). | |
936 | * acconfig.h: Don't #undef PACKAGE or VERSION. | |
937 | ||
63e5e3e0 AG |
938 | 1999-08-09 Anthony Green <green@cygnus.com> |
939 | ||
940 | * include/ffi.h.in: Try to work around messy header problem | |
941 | with PACKAGE and VERSION. | |
942 | ||
943 | * configure: Rebuilt. | |
944 | * configure.in: Change version to 2.00-beta. | |
945 | ||
4075db8f | 946 | * fficonfig.h.in: Rebuilt. |
63e5e3e0 AG |
947 | * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define. |
948 | ||
949 | * src/x86/ffi.c (ffi_raw_call): Rename. | |
950 | ||
951 | 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp> | |
952 | ||
953 | * src/x86/ffi.c (ffi_closure_SYSV): New function. | |
954 | (ffi_prep_incoming_args_SYSV): Ditto. | |
955 | (ffi_prep_closure): Ditto. | |
956 | (ffi_closure_raw_SYSV): Ditto. | |
957 | (ffi_prep_raw_closure): More ditto. | |
958 | (ffi_call_raw): Final ditto. | |
959 | ||
960 | * include/ffi.h.in: Add definitions for closure and raw API. | |
961 | ||
962 | * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for | |
4977bab6 | 963 | FFI_TYPE_UINT64. |
63e5e3e0 AG |
964 | |
965 | * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c | |
966 | ||
967 | * src/raw_api.c: New file. | |
968 | ||
969 | * include/ffi.h.in (ffi_raw): New type. | |
970 | (UINT_ARG, SINT_ARG): New defines. | |
971 | (ffi_closure, ffi_raw_closure): New types. | |
972 | (ffi_prep_closure, ffi_prep_raw_closure): New declarations. | |
4977bab6 | 973 | |
63e5e3e0 AG |
974 | * configure.in: Add check for endianness and sizeof void*. |
975 | ||
976 | * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument, | |
977 | instead of directly. | |
978 | ||
979 | * configure: Rebuilt. | |
980 | ||
981 | Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com> | |
982 | ||
983 | * configure.in: Add x86 and powerpc BeOS configurations. | |
984 | From Makoto Kato <m_kato@ga2.so-net.ne.jp>. | |
985 | ||
986 | 1999-05-09 Anthony Green <green@cygnus.com> | |
987 | ||
988 | * configure.in: Add warning about this being beta code. | |
989 | Remove src/Makefile.am from the picture. | |
990 | * configure: Rebuilt. | |
991 | ||
992 | * Makefile.am: Move logic from src/Makefile.am. Add changes | |
993 | to support libffi as a target library. | |
994 | * Makefile.in: Rebuilt. | |
995 | ||
996 | * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh: | |
997 | Upgraded to new autoconf, automake, libtool. | |
998 | ||
999 | * README: Tweaks. | |
1000 | ||
1001 | * LICENSE: Update copyright date. | |
1002 | ||
1003 | * src/Makefile.am, src/Makefile.in: Removed. | |
1004 | ||
1005 | 1998-11-29 Anthony Green <green@cygnus.com> | |
1006 | ||
1007 | * include/ChangeLog: Removed. | |
1008 | * src/ChangeLog: Removed. | |
1009 | * src/mips/ChangeLog: Removed. | |
1010 | * src/sparc/ChangeLog: Remboved. | |
1011 | * src/x86/ChangeLog: Removed. | |
1012 | ||
1013 | * ChangeLog.v1: Created. |