]>
Commit | Line | Data |
---|---|---|
124f60ab BS |
1 | 2009-12-25 Bradley Smith <brad@brad-smith.co.uk> |
2 | ||
3 | * configure.ac, Makefile.am, src/avr32/ffi.c, | |
4 | src/avr32/ffitarget.h, | |
5 | src/avr32/sysv.S: Add AVR32 port. | |
6 | * configure, Makefile.in: Rebuilt. | |
7 | ||
938a483f AT |
8 | 2009-12-21 Andreas Tobler <a.tobler@schweiz.org> |
9 | ||
10 | * configure.ac: Make i?86 build on FreeBSD and OpenBSD. | |
11 | * configure: Regenerate. | |
12 | ||
2516c7cd JDA |
13 | 2009-12-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14 | ||
15 | * testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX. | |
16 | ||
f93a40ea JDA |
17 | 2009-12-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18 | ||
19 | * src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE | |
20 | type on HP-UX. | |
21 | ||
fb01d970 EB |
22 | 2009-12-11 Eric Botcazou <ebotcazou@adacore.com> |
23 | ||
24 | * src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long | |
25 | double' arguments. | |
26 | ||
2ea54b81 EB |
27 | 2009-12-11 Eric Botcazou <ebotcazou@adacore.com> |
28 | ||
29 | * testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10. | |
30 | ||
dcb00f2e RO |
31 | 2009-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
32 | ||
33 | PR libffi/40700 | |
34 | * src/closures.c [X86_64 && __sun__ && __svr4__] | |
35 | (FFI_MMAP_EXEC_WRIT): Define. | |
36 | ||
6c6859a1 DD |
37 | 2009-12-08 David Daney <ddaney@caviumnetworks.com> |
38 | ||
39 | * testsuite/libffi.call/stret_medium.c: Remove xfail for mips*-*-* | |
40 | * testsuite/libffi.call/cls_align_longdouble_split2.c: Same. | |
41 | * testsuite/libffi.call/stret_large.c: Same. | |
42 | * testsuite/libffi.call/cls_align_longdouble_split.c: Same. | |
43 | * testsuite/libffi.call/stret_large2.c: Same. | |
44 | * testsuite/libffi.call/stret_medium2.c: Same. | |
45 | ||
9e7e65a0 DE |
46 | 2009-12-07 David Edelsohn <edelsohn@gnu.org> |
47 | ||
48 | * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump | |
49 | typo. | |
50 | ||
5d7fc941 DE |
51 | 2009-12-05 David Edelsohn <edelsohn@gnu.org> |
52 | ||
53 | * src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64 | |
54 | code. | |
9e7e65a0 | 55 | * src/powerpc/aix_closure.S: Same. |
6c6859a1 | 56 | |
43e02a8a RW |
57 | 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
58 | ||
59 | * Makefile.in: Regenerate. | |
60 | * configure: Regenerate. | |
61 | * include/Makefile.in: Regenerate. | |
62 | * man/Makefile.in: Regenerate. | |
63 | * testsuite/Makefile.in: Regenerate. | |
64 | ||
2f2d7386 DE |
65 | 2009-12-04 David Edelsohn <edelsohn@gnu.org> |
66 | ||
67 | * src/powerpc/aix_closure.S: Reorganize 64-bit code to match | |
68 | linux64_closure.S. | |
6c6859a1 | 69 | |
6078f50a UB |
70 | 2009-12-04 Uros Bizjak <ubizjak@gmail.com> |
71 | ||
72 | PR libffi/41908 | |
73 | * src/x86/ffi64.c (classify_argument): Update from | |
74 | gcc/config/i386/i386.c. | |
75 | (ffi_closure_unix64_inner): Do not use the address of two consecutive | |
76 | SSE registers directly. | |
77 | * testsuite/libffi.call/cls_dbls_struct.c (main): Remove xfail | |
78 | for x86_64 linux targets. | |
79 | ||
0c552622 DE |
80 | 2009-12-04 David Edelsohn <edelsohn@gnu.org> |
81 | ||
82 | * src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment | |
83 | pfr for long double split between fpr13 and stack. | |
84 | ||
afb5e622 DE |
85 | 2009-12-03 David Edelsohn <edelsohn@gnu.org> |
86 | ||
87 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Increment next_arg and | |
88 | fparg_count twice for long double. | |
89 | ||
be311914 DE |
90 | 2009-12-03 David Edelsohn <edelsohn@gnu.org> |
91 | ||
92 | PR libffi/42243 | |
93 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Remove extra parentheses. | |
94 | ||
a27c4040 UB |
95 | 2009-12-03 Uros Bizjak <ubizjak@gmail.com> |
96 | ||
97 | * testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string. | |
ddf6c187 | 98 | Remove xfails for x86 linux targets. |
a27c4040 | 99 | |
7837c247 DE |
100 | 2009-12-02 David Edelsohn <edelsohn@gnu.org> |
101 | ||
102 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64 | |
103 | case. | |
104 | ||
105 | 2009-12-01 David Edelsohn <edelsohn@gnu.org> | |
6d518d3b DE |
106 | |
107 | * src/powerpc/aix.S (ffi_call_AIX): Convert to more standard | |
108 | register usage. Call ffi_prep_args directly. Add long double | |
109 | return value support. | |
110 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Double arg increment | |
111 | applies to FFI_TYPE_DOUBLE. Correct fpr_base increment typo. | |
112 | Separate FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases. | |
113 | (ffi_prep_cif_machdep): Only 16 byte stack alignment in 64 bit | |
114 | mode. | |
115 | (ffi_closure_helper_DARWIN): Remove nf and ng counters. Move temp | |
116 | into case. | |
117 | * src/powerpc/aix_closure.S: Maintain 16 byte stack alignment. | |
118 | Allocate result area between params and FPRs. | |
119 | ||
5751cf6f DE |
120 | 2009-11-30 David Edelsohn <edelsohn@gnu.org> |
121 | ||
122 | PR target/35484 | |
123 | * src/powerpc/ffitarget.h (POWERPC64): Define for PPC64 Linux and | |
124 | AIX64. | |
125 | * src/powerpc/aix.S: Implement AIX64 version. | |
126 | * src/powerpc/aix_closure.S: Implement AIX64 version. | |
127 | (ffi_closure_ASM): Use extsb, lha and displament addresses. | |
128 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Implement AIX64 | |
129 | support. | |
130 | (ffi_prep_cif_machdep): Same. | |
131 | (ffi_call): Same. | |
132 | (ffi_closure_helper_DARWIN): Same. | |
133 | ||
2265f646 AT |
134 | 2009-11-02 Andreas Tobler <a.tobler@schweiz.org> |
135 | ||
136 | PR libffi/41908 | |
137 | * testsuite/libffi.call/testclosure.c: New test. | |
138 | ||
ef6ed66d KT |
139 | 2009-09-28 Kai Tietz <kai.tietz@onevision.com> |
140 | ||
141 | * src/x86/win64.S (_ffi_call_win64 stack): Remove for gnu | |
142 | assembly version use of ___chkstk. | |
143 | ||
29d1370a MK |
144 | 2009-09-23 Matthias Klose <doko@ubuntu.com> |
145 | ||
146 | PR libffi/40242, PR libffi/41443 | |
147 | * src/arm/sysv.S (__ARM_ARCH__): Define for processors | |
148 | __ARM_ARCH_6T2__, __ARM_ARCH_6M__, __ARM_ARCH_7__, | |
149 | __ARM_ARCH_7A__, __ARM_ARCH_7R__, __ARM_ARCH_7M__. | |
150 | Change the conditionals to __SOFTFP__ || __ARM_EABI__ | |
151 | for -mfloat-abi=softfp to work. | |
152 | ||
987ce557 LR |
153 | 2009-09-17 Loren J. Rittle <ljrittle@acm.org> |
154 | ||
155 | PR testsuite/32843 (strikes again) | |
156 | * src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to | |
157 | enable proper extension on char and short. | |
158 | ||
5cbf8c8d DD |
159 | 2009-09-15 David Daney <ddaney@caviumnetworks.com> |
160 | ||
161 | * src/java_raw_api.c (ffi_java_raw_to_rvalue): Remove special | |
162 | handling for FFI_TYPE_POINTER. | |
163 | * src/mips/ffitarget.h (FFI_TYPE_STRUCT_D_SOFT, | |
164 | FFI_TYPE_STRUCT_F_SOFT, FFI_TYPE_STRUCT_DD_SOFT, | |
165 | FFI_TYPE_STRUCT_FF_SOFT, FFI_TYPE_STRUCT_FD_SOFT, | |
166 | FFI_TYPE_STRUCT_DF_SOFT, FFI_TYPE_STRUCT_SOFT): New defines. | |
167 | (FFI_N32_SOFT_FLOAT, FFI_N64_SOFT_FLOAT): New ffi_abi enumerations. | |
168 | (enum ffi_abi): Set FFI_DEFAULT_ABI for soft-float. | |
169 | * src/mips/n32.S (ffi_call_N32): Add handling for soft-float | |
170 | structure and pointer returns. | |
171 | (ffi_closure_N32): Add handling for pointer returns. | |
172 | * src/mips/ffi.c (ffi_prep_args, calc_n32_struct_flags, | |
173 | calc_n32_return_struct_flags): Handle soft-float. | |
174 | (ffi_prep_cif_machdep): Handle soft-float, fix pointer handling. | |
175 | (ffi_call_N32): Declare proper argument types. | |
176 | (ffi_call, copy_struct_N32, ffi_closure_mips_inner_N32): Handle | |
177 | soft-float. | |
178 | ||
df58e648 RW |
179 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
180 | ||
181 | * configure.ac (AC_PREREQ): Bump to 2.64. | |
182 | ||
5213506e RW |
183 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
184 | ||
70fa0efa RW |
185 | * Makefile.am (install-html, install-pdf): Remove. |
186 | * Makefile.in: Regenerate. | |
187 | ||
5213506e RW |
188 | * Makefile.in: Regenerate. |
189 | * aclocal.m4: Regenerate. | |
190 | * configure: Regenerate. | |
191 | * fficonfig.h.in: Regenerate. | |
192 | * include/Makefile.in: Regenerate. | |
193 | * man/Makefile.in: Regenerate. | |
194 | * testsuite/Makefile.in: Regenerate. | |
195 | ||
1b3b24c2 RW |
196 | 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
197 | ||
198 | * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. | |
199 | ||
723512ba DK |
200 | 2009-07-24 Dave Korn <dave.korn.cygwin@gmail.com> |
201 | ||
202 | PR libffi/40807 | |
203 | * src/x86/ffi.c (ffi_prep_cif_machdep): Also use sign/zero-extending | |
204 | return types for X86_WIN32. | |
205 | * src/x86/win32.S (_ffi_call_SYSV): Handle omitted return types. | |
206 | (_ffi_call_STDCALL, _ffi_closure_SYSV, _ffi_closure_raw_SYSV, | |
207 | _ffi_closure_STDCALL): Likewise. | |
208 | ||
209 | * src/closures.c (is_selinux_enabled): Define to const 0 for Cygwin. | |
210 | (dlmmap, dlmunmap): Also use these functions on Cygwin. | |
211 | ||
33cde516 RS |
212 | 2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> |
213 | ||
214 | PR testsuite/40699 | |
215 | PR testsuite/40707 | |
216 | PR testsuite/40709 | |
217 | * testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and | |
218 | 2009-06-30 commits. | |
219 | ||
edd3a61c RS |
220 | 2009-07-01 Richard Sandiford <r.sandiford@uk.ibm.com> |
221 | ||
222 | * testsuite/lib/libffi-dg.exp (libffi-init): Set ld_library_path | |
223 | to "" before adding paths. (This reinstates an assignment that | |
224 | was removed by my 2009-06-30 commit, but changes the initial | |
225 | value from "." to "".) | |
226 | ||
33d1a550 L |
227 | 2009-07-01 H.J. Lu <hongjiu.lu@intel.com> |
228 | ||
229 | PR testsuite/40601 | |
230 | * testsuite/lib/libffi-dg.exp (libffi-init): Properly set | |
231 | gccdir. Adjust ld_library_path for gcc only if gccdir isn't | |
232 | empty. | |
233 | ||
b30bfd40 RS |
234 | 2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> |
235 | ||
236 | * testsuite/lib/libffi-dg.exp (libffi-init): Don't add "." | |
237 | to ld_library_path. Use add_path. Add just find_libgcc_s | |
238 | to ld_library_path, not every libgcc multilib directory. | |
239 | ||
6975f17f WL |
240 | 2009-06-16 Wim Lewis <wiml@hhhh.org> |
241 | ||
242 | * src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are | |
243 | supposed to be callee-saved. | |
244 | * src/powerpc/sysv.S (small_struct_return_value): Fix overrun of | |
245 | return buffer for odd-size structs. | |
246 | ||
7bbcc286 AT |
247 | 2009-06-16 Andreas Tobler <a.tobler@schweiz.org> |
248 | ||
249 | PR libffi/40444 | |
250 | * testsuite/lib/libffi-dg.exp (libffi_target_compile): Add | |
251 | allow_stack_execute for Darwin. | |
252 | ||
fe673cc9 AH |
253 | 2009-06-16 Andrew Haley <aph@redhat.com> |
254 | ||
255 | * configure.ac (TARGETDIR): Add missing blank lines. | |
256 | * configure: Regenerate. | |
257 | ||
3bc462c2 AH |
258 | 2009-06-16 Andrew Haley <aph@redhat.com> |
259 | ||
260 | * testsuite/libffi.call/cls_align_sint64.c, | |
261 | testsuite/libffi.call/cls_align_uint64.c, | |
262 | testsuite/libffi.call/cls_longdouble_va.c, | |
263 | testsuite/libffi.call/cls_ulonglong.c, | |
264 | testsuite/libffi.call/return_ll1.c, | |
265 | testsuite/libffi.call/stret_medium2.c: Fix printf format | |
266 | specifiers. | |
267 | * testsuite/libffi.call/ffitest.h, | |
268 | testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define. | |
269 | ||
081b044b AH |
270 | 2009-06-15 Andrew Haley <aph@redhat.com> |
271 | ||
272 | * testsuite/libffi.call/err_bad_typedef.c: xfail everywhere. | |
273 | * testsuite/libffi.call/err_bad_abi.c: Likewise. | |
274 | ||
062b8279 AH |
275 | 2009-06-12 Andrew Haley <aph@redhat.com> |
276 | ||
277 | * Makefile.am: Remove info_TEXINFOS. | |
278 | ||
279 | 2009-06-12 Andrew Haley <aph@redhat.com> | |
280 | ||
281 | * ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c, | |
282 | testsuite/libffi.call/cls_align_uint64.c, | |
283 | testsuite/libffi.call/cls_ulonglong.c, | |
284 | testsuite/libffi.call/return_ll1.c, | |
285 | testsuite/libffi.call/stret_medium2.c: Fix printf format | |
286 | specifiers. | |
287 | testsuite/libffi.special/unwindtest.cc: include stdint.h. | |
288 | ||
289 | 2009-06-11 Timothy Wall <twall@users.sf.net> | |
290 | ||
291 | * Makefile.am, | |
292 | configure.ac, | |
293 | include/ffi.h.in, | |
294 | include/ffi_common.h, | |
295 | src/closures.c, | |
296 | src/dlmalloc.c, | |
297 | src/x86/ffi.c, | |
298 | src/x86/ffitarget.h, | |
299 | src/x86/win64.S (new), | |
300 | README: Added win64 support (mingw or MSVC) | |
301 | * Makefile.in, | |
302 | include/Makefile.in, | |
303 | man/Makefile.in, | |
304 | testsuite/Makefile.in, | |
305 | configure, | |
306 | aclocal.m4: Regenerated | |
307 | * ltcf-c.sh: properly escape cygwin/w32 path | |
308 | * man/ffi_call.3: Clarify size requirements for return value. | |
309 | * src/x86/ffi64.c: Fix filename in comment. | |
310 | * src/x86/win32.S: Remove unused extern. | |
311 | ||
312 | * testsuite/libffi.call/closure_fn0.c, | |
313 | testsuite/libffi.call/closure_fn1.c, | |
314 | testsuite/libffi.call/closure_fn2.c, | |
315 | testsuite/libffi.call/closure_fn3.c, | |
316 | testsuite/libffi.call/closure_fn4.c, | |
317 | testsuite/libffi.call/closure_fn5.c, | |
318 | testsuite/libffi.call/closure_fn6.c, | |
319 | testsuite/libffi.call/closure_stdcall.c, | |
320 | testsuite/libffi.call/cls_12byte.c, | |
321 | testsuite/libffi.call/cls_16byte.c, | |
322 | testsuite/libffi.call/cls_18byte.c, | |
323 | testsuite/libffi.call/cls_19byte.c, | |
324 | testsuite/libffi.call/cls_1_1byte.c, | |
325 | testsuite/libffi.call/cls_20byte.c, | |
326 | testsuite/libffi.call/cls_20byte1.c, | |
327 | testsuite/libffi.call/cls_24byte.c, | |
328 | testsuite/libffi.call/cls_2byte.c, | |
329 | testsuite/libffi.call/cls_3_1byte.c, | |
330 | testsuite/libffi.call/cls_3byte1.c, | |
331 | testsuite/libffi.call/cls_3byte2.c, | |
332 | testsuite/libffi.call/cls_4_1byte.c, | |
333 | testsuite/libffi.call/cls_4byte.c, | |
334 | testsuite/libffi.call/cls_5_1_byte.c, | |
335 | testsuite/libffi.call/cls_5byte.c, | |
336 | testsuite/libffi.call/cls_64byte.c, | |
337 | testsuite/libffi.call/cls_6_1_byte.c, | |
338 | testsuite/libffi.call/cls_6byte.c, | |
339 | testsuite/libffi.call/cls_7_1_byte.c, | |
340 | testsuite/libffi.call/cls_7byte.c, | |
341 | testsuite/libffi.call/cls_8byte.c, | |
342 | testsuite/libffi.call/cls_9byte1.c, | |
343 | testsuite/libffi.call/cls_9byte2.c, | |
344 | testsuite/libffi.call/cls_align_double.c, | |
345 | testsuite/libffi.call/cls_align_float.c, | |
346 | testsuite/libffi.call/cls_align_longdouble.c, | |
347 | testsuite/libffi.call/cls_align_longdouble_split.c, | |
348 | testsuite/libffi.call/cls_align_longdouble_split2.c, | |
349 | testsuite/libffi.call/cls_align_pointer.c, | |
350 | testsuite/libffi.call/cls_align_sint16.c, | |
351 | testsuite/libffi.call/cls_align_sint32.c, | |
352 | testsuite/libffi.call/cls_align_sint64.c, | |
353 | testsuite/libffi.call/cls_align_uint16.c, | |
354 | testsuite/libffi.call/cls_align_uint32.c, | |
355 | testsuite/libffi.call/cls_align_uint64.c, | |
356 | testsuite/libffi.call/cls_dbls_struct.c, | |
357 | testsuite/libffi.call/cls_double.c, | |
358 | testsuite/libffi.call/cls_double_va.c, | |
359 | testsuite/libffi.call/cls_float.c, | |
360 | testsuite/libffi.call/cls_longdouble.c, | |
361 | testsuite/libffi.call/cls_longdouble_va.c, | |
362 | testsuite/libffi.call/cls_multi_schar.c, | |
363 | testsuite/libffi.call/cls_multi_sshort.c, | |
364 | testsuite/libffi.call/cls_multi_sshortchar.c, | |
365 | testsuite/libffi.call/cls_multi_uchar.c, | |
366 | testsuite/libffi.call/cls_multi_ushort.c, | |
367 | testsuite/libffi.call/cls_multi_ushortchar.c, | |
368 | testsuite/libffi.call/cls_pointer.c, | |
369 | testsuite/libffi.call/cls_pointer_stack.c, | |
370 | testsuite/libffi.call/cls_schar.c, | |
371 | testsuite/libffi.call/cls_sint.c, | |
372 | testsuite/libffi.call/cls_sshort.c, | |
373 | testsuite/libffi.call/cls_uchar.c, | |
374 | testsuite/libffi.call/cls_uint.c, | |
375 | testsuite/libffi.call/cls_ulonglong.c, | |
376 | testsuite/libffi.call/cls_ushort.c, | |
377 | testsuite/libffi.call/err_bad_abi.c, | |
378 | testsuite/libffi.call/err_bad_typedef.c, | |
379 | testsuite/libffi.call/float2.c, | |
380 | testsuite/libffi.call/huge_struct.c, | |
381 | testsuite/libffi.call/nested_struct.c, | |
382 | testsuite/libffi.call/nested_struct1.c, | |
383 | testsuite/libffi.call/nested_struct10.c, | |
384 | testsuite/libffi.call/nested_struct2.c, | |
385 | testsuite/libffi.call/nested_struct3.c, | |
386 | testsuite/libffi.call/nested_struct4.c, | |
387 | testsuite/libffi.call/nested_struct5.c, | |
388 | testsuite/libffi.call/nested_struct6.c, | |
389 | testsuite/libffi.call/nested_struct7.c, | |
390 | testsuite/libffi.call/nested_struct8.c, | |
391 | testsuite/libffi.call/nested_struct9.c, | |
392 | testsuite/libffi.call/problem1.c, | |
393 | testsuite/libffi.call/return_ldl.c, | |
394 | testsuite/libffi.call/return_ll1.c, | |
395 | testsuite/libffi.call/stret_large.c, | |
396 | testsuite/libffi.call/stret_large2.c, | |
397 | testsuite/libffi.call/stret_medium.c, | |
398 | testsuite/libffi.call/stret_medium2.c, | |
399 | testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead | |
400 | of checking for MMAP. Use intptr_t instead of long casts. | |
401 | ||
f43def61 KK |
402 | 2009-06-11 Kaz Kojima <kkojima@gcc.gnu.org> |
403 | ||
404 | * testsuite/libffi.call/cls_longdouble_va.c: Add xfail sh*-*-linux-*. | |
405 | * testsuite/libffi.call/err_bad_abi.c: Add xfail sh*-*-*. | |
406 | * testsuite/libffi.call/err_bad_typedef.c: Likewise. | |
407 | ||
6aa0b218 AH |
408 | 2009-06-09 Andrew Haley <aph@redhat.com> |
409 | ||
410 | * src/x86/freebsd.S: Add missing file. | |
411 | ||
b7b857bb AH |
412 | 2009-06-08 Andrew Haley <aph@redhat.com> |
413 | ||
414 | Import from libffi 3.0.8: | |
415 | ||
416 | * doc/libffi.texi: New file. | |
417 | * doc/libffi.info: Likewise. | |
418 | * doc/stamp-vti: Likewise. | |
419 | * man/Makefile.am: New file. | |
420 | * man/ffi_call.3: New file. | |
421 | ||
422 | * Makefile.am (EXTRA_DIST): Add src/x86/darwin64.S, | |
423 | src/dlmalloc.c. | |
424 | (nodist_libffi_la_SOURCES): Add X86_FREEBSD. | |
425 | ||
426 | * configure.ac: Bump version to 3.0.8. | |
427 | parisc*-*-linux*: Add. | |
428 | i386-*-freebsd* | i386-*-openbsd*: Add. | |
429 | powerpc-*-beos*: Add. | |
430 | AM_CONDITIONAL X86_FREEBSD: Add. | |
431 | AC_CONFIG_FILES: Add man/Makefile. | |
432 | ||
433 | * include/ffi.h.in (FFI_FN): Change void (*)() to void (*)(void). | |
434 | ||
491e6ad1 AH |
435 | 2009-06-08 Andrew Haley <aph@redhat.com> |
436 | ||
437 | * README: Import from libffi 3.0.8. | |
438 | ||
3b5b1a73 AH |
439 | 2009-06-08 Andrew Haley <aph@redhat.com> |
440 | ||
441 | * testsuite/libffi.call/err_bad_abi.c: Add xfails. | |
442 | * testsuite/libffi.call/cls_longdouble_va.c: Add xfails. | |
443 | * testsuite/libffi.call/cls_dbls_struct.c: Add xfail x86_64-*-linux-*. | |
444 | * testsuite/libffi.call/err_bad_typedef.c: Add xfails. | |
445 | ||
446 | * testsuite/libffi.call/stret_medium2.c: Add __UNUSED__ to args. | |
447 | * testsuite/libffi.call/stret_medium.c: Likewise. | |
448 | * testsuite/libffi.call/stret_large2.c: Likewise. | |
449 | * testsuite/libffi.call/stret_large.c: Likewise. | |
450 | ||
451 | 2008-12-26 Timothy Wall <twall@users.sf.net> | |
452 | ||
453 | * testsuite/libffi.call/cls_longdouble.c, | |
454 | testsuite/libffi.call/cls_longdouble_va.c, | |
455 | testsuite/libffi.call/cls_align_longdouble.c, | |
456 | testsuite/libffi.call/cls_align_longdouble_split.c, | |
457 | testsuite/libffi.call/cls_align_longdouble_split2.c: mark expected | |
458 | failures on x86_64 cygwin/mingw. | |
459 | ||
460 | 2008-12-22 Timothy Wall <twall@users.sf.net> | |
461 | ||
462 | * testsuite/libffi.call/closure_fn0.c, | |
463 | testsuite/libffi.call/closure_fn1.c, | |
464 | testsuite/libffi.call/closure_fn2.c, | |
465 | testsuite/libffi.call/closure_fn3.c, | |
466 | testsuite/libffi.call/closure_fn4.c, | |
467 | testsuite/libffi.call/closure_fn5.c, | |
468 | testsuite/libffi.call/closure_fn6.c, | |
469 | testsuite/libffi.call/closure_loc_fn0.c, | |
470 | testsuite/libffi.call/closure_stdcall.c, | |
471 | testsuite/libffi.call/cls_align_pointer.c, | |
472 | testsuite/libffi.call/cls_pointer.c, | |
473 | testsuite/libffi.call/cls_pointer_stack.c: use portable cast from | |
474 | pointer to integer (intptr_t). | |
475 | * testsuite/libffi.call/cls_longdouble.c: disable for win64. | |
476 | ||
477 | 2008-07-24 Anthony Green <green@redhat.com> | |
478 | ||
479 | * testsuite/libffi.call/cls_dbls_struct.c, | |
480 | testsuite/libffi.call/cls_double_va.c, | |
481 | testsuite/libffi.call/cls_longdouble.c, | |
482 | testsuite/libffi.call/cls_longdouble_va.c, | |
483 | testsuite/libffi.call/cls_pointer.c, | |
484 | testsuite/libffi.call/cls_pointer_stack.c, | |
485 | testsuite/libffi.call/err_bad_abi.c: Clean up failures from | |
486 | compiler warnings. | |
487 | ||
488 | 2008-03-04 Anthony Green <green@redhat.com> | |
489 | Blake Chaffin | |
490 | hos@tamanegi.org | |
491 | ||
492 | * testsuite/libffi.call/cls_align_longdouble_split2.c | |
493 | testsuite/libffi.call/cls_align_longdouble_split.c | |
494 | testsuite/libffi.call/cls_dbls_struct.c | |
495 | testsuite/libffi.call/cls_double_va.c | |
496 | testsuite/libffi.call/cls_longdouble.c | |
497 | testsuite/libffi.call/cls_longdouble_va.c | |
498 | testsuite/libffi.call/cls_pointer.c | |
499 | testsuite/libffi.call/cls_pointer_stack.c | |
500 | testsuite/libffi.call/err_bad_abi.c | |
501 | testsuite/libffi.call/err_bad_typedef.c | |
502 | testsuite/libffi.call/stret_large2.c | |
503 | testsuite/libffi.call/stret_large.c | |
504 | testsuite/libffi.call/stret_medium2.c | |
505 | testsuite/libffi.call/stret_medium.c: New tests from Apple. | |
506 | ||
56faec5e AH |
507 | 2009-06-05 Andrew Haley <aph@redhat.com> |
508 | ||
509 | * src/x86/ffitarget.h, src/x86/ffi.c: Merge stdcall changes from | |
510 | libffi. | |
511 | ||
90409e4c AH |
512 | 2009-06-04 Andrew Haley <aph@redhat.com> |
513 | ||
514 | * src/x86/ffitarget.h, src/x86/win32.S, src/x86/ffi.c: Back out | |
515 | stdcall changes. | |
516 | ||
b1393750 AH |
517 | 2008-02-26 Anthony Green <green@redhat.com> |
518 | Thomas Heller <theller@ctypes.org> | |
519 | ||
520 | * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C | |
521 | comment. | |
522 | ||
523 | 2008-02-03 Timothy Wall <twall@users.sf.net> | |
524 | ||
525 | * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return | |
526 | offset based on code pointer, not data pointer. | |
527 | ||
528 | 2008-01-31 Timothy Wall <twall@users.sf.net> | |
529 | ||
530 | * testsuite/libffi.call/closure_stdcall.c: Add test for stdcall | |
531 | closures. | |
532 | * src/x86/ffitarget.h: Increase size of trampoline for stdcall | |
533 | closures. | |
534 | * src/x86/win32.S: Add assembly for stdcall closure. | |
535 | * src/x86/ffi.c: Initialize stdcall closure trampoline. | |
536 | ||
96baa251 AH |
537 | 2009-06-04 Andrew Haley <aph@redhat.com> |
538 | ||
539 | * include/ffi.h.in: Change void (*)() to void (*)(void). | |
540 | * src/x86/ffi.c: Likewise. | |
541 | ||
7446546a AH |
542 | 2009-06-04 Andrew Haley <aph@redhat.com> |
543 | ||
544 | * src/powerpc/ppc_closure.S: Insert licence header. | |
545 | * src/powerpc/linux64_closure.S: Likewise. | |
546 | * src/m68k/sysv.S: Likewise. | |
547 | ||
548 | * src/sh64/ffi.c: Change void (*)() to void (*)(void). | |
549 | * src/powerpc/ffi.c: Likewise. | |
550 | * src/powerpc/ffi_darwin.c: Likewise. | |
551 | * src/m32r/ffi.c: Likewise. | |
552 | * src/sh64/ffi.c: Likewise. | |
553 | * src/x86/ffi64.c: Likewise. | |
554 | * src/alpha/ffi.c: Likewise. | |
555 | * src/alpha/osf.S: Likewise. | |
556 | * src/frv/ffi.c: Likewise. | |
557 | * src/s390/ffi.c: Likewise. | |
558 | * src/pa/ffi.c: Likewise. | |
559 | * src/pa/hpux32.S: Likewise. | |
560 | * src/ia64/unix.S: Likewise. | |
561 | * src/ia64/ffi.c: Likewise. | |
562 | * src/sparc/ffi.c: Likewise. | |
563 | * src/mips/ffi.c: Likewise. | |
564 | * src/sh/ffi.c: Likewise. | |
565 | ||
566 | 2008-02-15 David Daney <ddaney@avtrex.com> | |
567 | ||
568 | * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE): | |
569 | Define (conditionally), and use it to include cachectl.h. | |
570 | (ffi_prep_closure_loc): Fix cache flushing. | |
571 | * src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define. | |
572 | ||
5f933ef0 AH |
573 | 2009-06-04 Andrew Haley <aph@redhat.com> |
574 | ||
575 | include/ffi.h.in, | |
576 | src/arm/ffitarget.h, | |
577 | src/arm/ffi.c, | |
578 | src/arm/sysv.S, | |
579 | src/powerpc/ffitarget.h, | |
580 | src/closures.c, | |
581 | src/sh64/ffitarget.h, | |
582 | src/sh64/ffi.c, | |
583 | src/sh64/sysv.S, | |
584 | src/types.c, | |
585 | src/x86/ffi64.c, | |
586 | src/x86/ffitarget.h, | |
587 | src/x86/win32.S, | |
588 | src/x86/darwin.S, | |
589 | src/x86/ffi.c, | |
590 | src/x86/sysv.S, | |
591 | src/x86/unix64.S, | |
592 | src/alpha/ffitarget.h, | |
593 | src/alpha/ffi.c, | |
594 | src/alpha/osf.S, | |
595 | src/m68k/ffitarget.h, | |
596 | src/frv/ffitarget.h, | |
597 | src/frv/ffi.c, | |
598 | src/s390/ffitarget.h, | |
599 | src/s390/sysv.S, | |
600 | src/cris/ffitarget.h, | |
601 | src/pa/linux.S, | |
602 | src/pa/ffitarget.h, | |
603 | src/pa/ffi.c, | |
604 | src/raw_api.c, | |
605 | src/ia64/ffitarget.h, | |
606 | src/ia64/unix.S, | |
607 | src/ia64/ffi.c, | |
608 | src/ia64/ia64_flags.h, | |
609 | src/java_raw_api.c, | |
610 | src/debug.c, | |
611 | src/sparc/v9.S, | |
612 | src/sparc/ffitarget.h, | |
613 | src/sparc/ffi.c, | |
614 | src/sparc/v8.S, | |
615 | src/mips/ffitarget.h, | |
616 | src/mips/n32.S, | |
617 | src/mips/o32.S, | |
618 | src/mips/ffi.c, | |
619 | src/prep_cif.c, | |
620 | src/sh/ffitarget.h, | |
621 | src/sh/ffi.c, | |
622 | src/sh/sysv.S: Update license text. | |
623 | ||
84c40c4a DK |
624 | 2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com> |
625 | ||
626 | * src/x86/win32.S (_ffi_closure_STDCALL): New function. | |
627 | (.eh_frame): Add FDE for it. | |
628 | ||
8353cd27 DK |
629 | 2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com> |
630 | ||
631 | * configure.ac: Also check if assembler supports pc-relative | |
632 | relocs on X86_WIN32 targets. | |
633 | * configure: Regenerate. | |
634 | * src/x86/win32.S (ffi_prep_args): Declare extern, not global. | |
635 | (_ffi_call_SYSV): Add missing function type symbol .def and | |
636 | add EH markup labels. | |
637 | (_ffi_call_STDCALL): Likewise. | |
638 | (_ffi_closure_SYSV): Likewise. | |
639 | (_ffi_closure_raw_SYSV): Likewise. | |
640 | (.eh_frame): Add hand-crafted EH data. | |
641 | ||
748086b7 JJ |
642 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> |
643 | ||
644 | * testsuite/lib/libffi-dg.exp: Change copyright header to refer to | |
645 | version 3 of the GNU General Public License and to point readers | |
646 | at the COPYING3 file and the FSF's license web page. | |
647 | * testsuite/libffi.call/call.exp: Likewise. | |
648 | * testsuite/libffi.special/special.exp: Likewise. | |
649 | ||
7a9d3fe8 RW |
650 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
651 | ||
652 | * configure: Regenerate. | |
653 | ||
4d3d4078 RO |
654 | 2008-12-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
655 | ||
656 | PR libffi/26048 | |
657 | * configure.ac (HAVE_AS_X86_PCREL): New test. | |
658 | * configure: Regenerate. | |
659 | * fficonfig.h.in: Regenerate. | |
660 | * src/x86/sysv.S [!FFI_NO_RAW_API]: Precalculate | |
661 | RAW_CLOSURE_CIF_OFFSET, RAW_CLOSURE_FUN_OFFSET, | |
662 | RAW_CLOSURE_USER_DATA_OFFSET for the Solaris 10/x86 assembler. | |
663 | (.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL. | |
664 | * src/x86/unix64.S (.Lstore_table): Move to .text section. | |
665 | (.Lload_table): Likewise. | |
666 | (.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL. | |
667 | ||
baafc534 RW |
668 | 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
669 | ||
670 | * configure: Regenerate. | |
671 | ||
da17a98b EB |
672 | 2008-11-21 Eric Botcazou <ebotcazou@adacore.com> |
673 | ||
674 | * src/sparc/ffi.c (ffi_prep_cif_machdep): Add support for | |
675 | signed/unsigned int8/16 return values. | |
676 | * src/sparc/v8.S (ffi_call_v8): Likewise. | |
677 | (ffi_closure_v8): Likewise. | |
678 | ||
80c6c2cb PG |
679 | 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> |
680 | Steve Ellcey <sje@cup.hp.com> | |
681 | ||
682 | * configure: Regenerate for new libtool. | |
683 | * Makefile.in: Ditto. | |
684 | * include/Makefile.in: Ditto. | |
685 | * aclocal.m4: Ditto. | |
686 | ||
d7f68a67 AT |
687 | 2008-08-25 Andreas Tobler <a.tobler@schweiz.org> |
688 | ||
689 | * src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and | |
690 | FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum. | |
691 | Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT. | |
692 | Adjust copyright notice. | |
693 | * src/powerpc/ffi.c: Add two new flags to indicate if we have one | |
694 | register or two register to use for FFI_SYSV structs. | |
695 | (ffi_prep_cif_machdep): Pass the right register flag introduced above. | |
696 | (ffi_closure_helper_SYSV): Fix the return type for | |
697 | FFI_SYSV_TYPE_SMALL_STRUCT. Comment. | |
698 | Adjust copyright notice. | |
699 | ||
130f4c50 KK |
700 | 2008-07-16 Kaz Kojima <kkojima@gcc.gnu.org> |
701 | ||
702 | * src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned | |
703 | int. | |
704 | ||
18c04407 RW |
705 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
706 | ||
707 | * configure: Regenerate. | |
708 | * include/Makefile.in: Regenerate. | |
709 | * testsuite/Makefile.in: Regenerate. | |
710 | ||
cd985f66 JM |
711 | 2008-06-07 Joseph Myers <joseph@codesourcery.com> |
712 | ||
713 | * configure.ac (parisc*-*-linux*, powerpc-*-sysv*, | |
714 | powerpc-*-beos*): Remove. | |
715 | * configure: Regenerate. | |
716 | ||
7afa92c5 JB |
717 | 2008-05-09 Julian Brown <julian@codesourcery.com> |
718 | ||
719 | * Makefile.am (LTLDFLAGS): New. | |
720 | (libffi_la_LDFLAGS): Use above. | |
721 | * Makefile.in: Regenerate. | |
722 | ||
deb984e6 PB |
723 | 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
724 | ||
725 | PR bootstrap/35457 | |
726 | * aclocal.m4: Regenerate. | |
727 | * configure: Regenerate. | |
728 | ||
3e9608a5 KK |
729 | 2008-03-26 Kaz Kojima <kkojima@gcc.gnu.org> |
730 | ||
731 | * src/sh/sysv.S: Add .note.GNU-stack on Linux. | |
732 | * src/sh64/sysv.S: Likewise. | |
733 | ||
feb51530 MK |
734 | 2008-03-26 Daniel Jacobowitz <dan@debian.org> |
735 | ||
736 | * src/arm/sysv.S: Fix ARM comment marker. | |
737 | ||
738 | 2008-03-26 Jakub Jelinek <jakub@redhat.com> | |
739 | ||
740 | * src/alpha/osf.S: Add .note.GNU-stack on Linux. | |
741 | * src/s390/sysv.S: Likewise. | |
742 | * src/powerpc/ppc_closure.S: Likewise. | |
743 | * src/powerpc/sysv.S: Likewise. | |
744 | * src/x86/unix64.S: Likewise. | |
745 | * src/x86/sysv.S: Likewise. | |
746 | * src/sparc/v8.S: Likewise. | |
747 | * src/sparc/v9.S: Likewise. | |
748 | * src/m68k/sysv.S: Likewise. | |
749 | * src/arm/sysv.S: Likewise. | |
750 | ||
38d24731 RW |
751 | 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
752 | ||
753 | * aclocal.m4: Regenerate. | |
754 | * configure: Likewise. | |
755 | * Makefile.in: Likewise. | |
756 | * include/Makefile.in: Likewise. | |
757 | * testsuite/Makefile.in: Likewise. | |
758 | ||
2e250fa2 BK |
759 | 2008-02-12 Bjoern Koenig <bkoenig@alpha-tierchen.de> |
760 | Andreas Tobler <a.tobler@schweiz.org> | |
761 | ||
762 | * configure.ac: Add amd64-*-freebsd* target. | |
763 | * configure: Regenerate. | |
764 | ||
7f92e242 L |
765 | 2008-01-30 H.J. Lu <hongjiu.lu@intel.com> |
766 | ||
767 | PR libffi/34612 | |
768 | * src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when | |
769 | returning struct. | |
770 | ||
771 | * testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer" | |
772 | tests. | |
773 | ||
95d4f544 DE |
774 | 2008-01-24 David Edelsohn <edelsohn@gnu.org> |
775 | ||
776 | * configure: Regenerate. | |
777 | ||
79ca8fc0 AT |
778 | 2008-01-06 Andreas Tobler <a.tobler@schweiz.org> |
779 | ||
780 | * src/x86/ffi.c (ffi_prep_cif_machdep): Fix thinko. | |
781 | ||
d7b07cc7 AT |
782 | 2008-01-05 Andreas Tobler <a.tobler@schweiz.org> |
783 | ||
784 | PR testsuite/32843 | |
785 | * src/x86/ffi.c (ffi_prep_cif_machdep): Add code for | |
786 | signed/unsigned int8/16 for X86_DARWIN. | |
787 | Updated copyright info. | |
788 | Handle one and two byte structs with special cif->flags. | |
789 | * src/x86/ffitarget.h: Add special types for one and two byte structs. | |
790 | Updated copyright info. | |
791 | * src/x86/darwin.S (ffi_call_SYSV): Rewrite to use a jump table like | |
792 | sysv.S | |
793 | Remove code to pop args from the stack after call. | |
794 | Special-case signed/unsigned for int8/16, one and two byte structs. | |
795 | (ffi_closure_raw_SYSV): Handle FFI_TYPE_UINT8, | |
796 | FFI_TYPE_SINT8, FFI_TYPE_UINT16, FFI_TYPE_SINT16, FFI_TYPE_UINT32, | |
797 | FFI_TYPE_SINT32. | |
798 | Updated copyright info. | |
799 | ||
c94ae2e4 DD |
800 | 2007-12-08 David Daney <ddaney@avtrex.com> |
801 | ||
802 | * src/mips/n32.S (ffi_call_N32): Replace dadd with ADDU, dsub with | |
803 | SUBU, add with ADDU and use smaller code sequences. | |
804 | ||
3875b6d7 | 805 | 2007-12-07 David Daney <ddaney@avtrex.com> |
44be66a1 | 806 | |
3875b6d7 DD |
807 | * src/mips/ffi.c (ffi_prep_cif_machdep): Handle long double return |
808 | type. | |
809 | ||
4c42b3d8 DD |
810 | 2007-12-06 David Daney <ddaney@avtrex.com> |
811 | ||
812 | * include/ffi.h.in (FFI_SIZEOF_JAVA_RAW): Define if not already | |
813 | defined. | |
814 | (ffi_java_raw): New typedef. | |
815 | (ffi_java_raw_call, ffi_java_ptrarray_to_raw, | |
816 | ffi_java_raw_to_ptrarray): Change parameter types from ffi_raw to | |
817 | ffi_java_raw. | |
818 | (ffi_java_raw_closure) : Same. | |
819 | (ffi_prep_java_raw_closure, ffi_prep_java_raw_closure_loc): Change | |
820 | parameter types. | |
821 | * src/java_raw_api.c (ffi_java_raw_size): Replace FFI_SIZEOF_ARG with | |
822 | FFI_SIZEOF_JAVA_RAW. | |
823 | (ffi_java_raw_to_ptrarray): Change type of raw to ffi_java_raw. | |
824 | Replace FFI_SIZEOF_ARG with FFI_SIZEOF_JAVA_RAW. Use | |
825 | sizeof(ffi_java_raw) for alignment calculations. | |
826 | (ffi_java_ptrarray_to_raw): Same. | |
827 | (ffi_java_rvalue_to_raw): Add special handling for FFI_TYPE_POINTER | |
828 | if FFI_SIZEOF_JAVA_RAW == 4. | |
829 | (ffi_java_raw_to_rvalue): Same. | |
830 | (ffi_java_raw_call): Change type of raw to ffi_java_raw. | |
831 | (ffi_java_translate_args): Same. | |
832 | (ffi_prep_java_raw_closure_loc, ffi_prep_java_raw_closure): Change | |
833 | parameter types. | |
834 | * src/mips/ffitarget.h (FFI_SIZEOF_JAVA_RAW): Define for N32 ABI. | |
835 | ||
3ef50b62 DD |
836 | 2007-12-06 David Daney <ddaney@avtrex.com> |
837 | ||
838 | * src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on | |
839 | pointer values. | |
840 | ||
16287148 AT |
841 | 2007-12-01 Andreas Tobler <a.tobler@schweiz.org> |
842 | ||
843 | PR libffi/31937 | |
844 | * src/powerpc/ffitarget.h: Introduce new ABI FFI_LINUX_SOFT_FLOAT. | |
845 | Add local FFI_TYPE_UINT128 to handle soft-float long-double-128. | |
846 | * src/powerpc/ffi.c: Distinguish between __NO_FPRS__ and not and | |
847 | set the NUM_FPR_ARG_REGISTERS according to. | |
848 | Add support for potential soft-float support under hard-float | |
849 | architecture. | |
850 | (ffi_prep_args_SYSV): Set NUM_FPR_ARG_REGISTERS to 0 in case of | |
851 | FFI_LINUX_SOFT_FLOAT, handle float, doubles and long-doubles according | |
852 | to the FFI_LINUX_SOFT_FLOAT ABI. | |
853 | (ffi_prep_cif_machdep): Likewise. | |
854 | (ffi_closure_helper_SYSV): Likewise. | |
855 | * src/powerpc/ppc_closure.S: Make sure not to store float/double | |
856 | on archs where __NO_FPRS__ is true. | |
857 | Add FFI_TYPE_UINT128 support. | |
858 | * src/powerpc/sysv.S: Add support for soft-float long-double-128. | |
859 | Adjust copyright notice. | |
860 | ||
a4b7c9cd AT |
861 | 2007-11-25 Andreas Tobler <a.tobler@schweiz.org> |
862 | ||
863 | * src/closures.c: Move defintion of MAYBE_UNUSED from here to ... | |
864 | * include/ffi_common.h: ... here. | |
865 | Update copyright. | |
866 | ||
e84296c6 AT |
867 | 2007-11-17 Andreas Tobler <a.tobler@schweiz.org> |
868 | ||
869 | * src/powerpc/sysv.S: Load correct cr to compare if we have long double. | |
870 | * src/powerpc/linux64.S: Likewise. | |
871 | * src/powerpc/ffi.c: Add a comment to show which part goes into cr6. | |
872 | * testsuite/libffi.call/return_ldl.c: New test. | |
873 | ||
cb642590 AH |
874 | 2007-09-04 <aph@redhat.com> |
875 | ||
876 | * src/arm/sysv.S (UNWIND): New. | |
877 | (Whole file): Conditionally compile unwinder directives. | |
878 | * src/arm/sysv.S: Add unwinder directives. | |
879 | ||
880 | * src/arm/ffi.c (ffi_prep_args): Align structs by at least 4 bytes. | |
881 | Only treat r0 as a struct address if we're actually returning a | |
882 | struct by address. | |
883 | Only copy the bytes that are actually within a struct. | |
884 | (ffi_prep_cif_machdep): A Composite Type not larger than 4 bytes | |
885 | is returned in r0, not passed by address. | |
886 | (ffi_call): Allocate a word-sized temporary for the case where | |
887 | a composite is returned in r0. | |
888 | (ffi_prep_incoming_args_SYSV): Align as necessary. | |
889 | ||
890 | 2007-08-05 Steven Newbury <s_j_newbury@yahoo.co.uk> | |
891 | ||
892 | * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Use __clear_cache instead of | |
893 | directly using the sys_cacheflush syscall. | |
894 | ||
895 | 2007-07-27 Andrew Haley <aph@redhat.com> | |
896 | ||
897 | * src/arm/sysv.S (ffi_closure_SYSV): Add soft-float. | |
898 | ||
8d5c5e35 MR |
899 | 2007-09-03 Maciej W. Rozycki <macro@linux-mips.org> |
900 | ||
901 | * Makefile.am: Unify MIPS_IRIX and MIPS_LINUX into MIPS. | |
902 | * configure.ac: Likewise. | |
903 | * Makefile.in: Regenerate. | |
904 | * include/Makefile.in: Likewise. | |
905 | * testsuite/Makefile.in: Likewise. | |
906 | * configure: Likewise. | |
907 | ||
787b0d19 DD |
908 | 2007-08-24 David Daney <ddaney@avtrex.com> |
909 | ||
910 | * testsuite/libffi.call/return_sl.c: New test. | |
911 | ||
dfbb3e36 DD |
912 | 2007-08-10 David Daney <ddaney@avtrex.com> |
913 | ||
914 | * testsuite/libffi.call/cls_multi_ushort.c, | |
915 | testsuite/libffi.call/cls_align_uint16.c, | |
916 | testsuite/libffi.call/nested_struct1.c, | |
917 | testsuite/libffi.call/nested_struct3.c, | |
918 | testsuite/libffi.call/cls_7_1_byte.c, | |
919 | testsuite/libffi.call/nested_struct5.c, | |
920 | testsuite/libffi.call/cls_double.c, | |
921 | testsuite/libffi.call/nested_struct7.c, | |
922 | testsuite/libffi.call/cls_sint.c, | |
923 | testsuite/libffi.call/nested_struct9.c, | |
924 | testsuite/libffi.call/cls_20byte1.c, | |
925 | testsuite/libffi.call/cls_multi_sshortchar.c, | |
926 | testsuite/libffi.call/cls_align_sint64.c, | |
927 | testsuite/libffi.call/cls_3byte2.c, | |
928 | testsuite/libffi.call/cls_multi_schar.c, | |
929 | testsuite/libffi.call/cls_multi_uchar.c, | |
930 | testsuite/libffi.call/cls_19byte.c, | |
931 | testsuite/libffi.call/cls_9byte1.c, | |
932 | testsuite/libffi.call/cls_align_float.c, | |
933 | testsuite/libffi.call/closure_fn1.c, | |
934 | testsuite/libffi.call/problem1.c, | |
935 | testsuite/libffi.call/closure_fn3.c, | |
936 | testsuite/libffi.call/cls_sshort.c, | |
937 | testsuite/libffi.call/closure_fn5.c, | |
938 | testsuite/libffi.call/cls_align_double.c, | |
939 | testsuite/libffi.call/nested_struct.c, | |
940 | testsuite/libffi.call/cls_2byte.c, | |
941 | testsuite/libffi.call/nested_struct10.c, | |
942 | testsuite/libffi.call/cls_4byte.c, | |
943 | testsuite/libffi.call/cls_6byte.c, | |
944 | testsuite/libffi.call/cls_8byte.c, | |
945 | testsuite/libffi.call/cls_multi_sshort.c, | |
946 | testsuite/libffi.call/cls_align_sint16.c, | |
947 | testsuite/libffi.call/cls_align_uint32.c, | |
948 | testsuite/libffi.call/cls_20byte.c, | |
949 | testsuite/libffi.call/cls_float.c, | |
950 | testsuite/libffi.call/nested_struct2.c, | |
951 | testsuite/libffi.call/cls_5_1_byte.c, | |
952 | testsuite/libffi.call/nested_struct4.c, | |
953 | testsuite/libffi.call/cls_24byte.c, | |
954 | testsuite/libffi.call/nested_struct6.c, | |
955 | testsuite/libffi.call/cls_64byte.c, | |
956 | testsuite/libffi.call/nested_struct8.c, | |
957 | testsuite/libffi.call/cls_uint.c, | |
958 | testsuite/libffi.call/cls_multi_ushortchar.c, | |
959 | testsuite/libffi.call/cls_schar.c, | |
960 | testsuite/libffi.call/cls_uchar.c, | |
961 | testsuite/libffi.call/cls_align_uint64.c, | |
962 | testsuite/libffi.call/cls_ulonglong.c, | |
963 | testsuite/libffi.call/cls_align_longdouble.c, | |
964 | testsuite/libffi.call/cls_1_1byte.c, | |
965 | testsuite/libffi.call/cls_12byte.c, | |
966 | testsuite/libffi.call/cls_3_1byte.c, | |
967 | testsuite/libffi.call/cls_3byte1.c, | |
968 | testsuite/libffi.call/cls_4_1byte.c, | |
969 | testsuite/libffi.call/cls_6_1_byte.c, | |
970 | testsuite/libffi.call/cls_16byte.c, | |
971 | testsuite/libffi.call/cls_18byte.c, | |
972 | testsuite/libffi.call/closure_fn0.c, | |
973 | testsuite/libffi.call/cls_9byte2.c, | |
974 | testsuite/libffi.call/closure_fn2.c, | |
975 | testsuite/libffi.call/closure_fn4.c, | |
976 | testsuite/libffi.call/cls_ushort.c, | |
977 | testsuite/libffi.call/closure_fn6.c, | |
978 | testsuite/libffi.call/cls_5byte.c, | |
979 | testsuite/libffi.call/cls_align_pointer.c, | |
980 | testsuite/libffi.call/cls_7byte.c, | |
981 | testsuite/libffi.call/cls_align_sint32.c, | |
982 | testsuite/libffi.special/unwindtest_ffi_call.cc, | |
983 | testsuite/libffi.special/unwindtest.cc: Remove xfail for mips64*-*-*. | |
984 | ||
89d9d98a DD |
985 | 2007-08-10 David Daney <ddaney@avtrex.com> |
986 | ||
987 | PR libffi/28313 | |
988 | * configure.ac: Don't treat mips64 as a special case. | |
989 | * Makefile.am (nodist_libffi_la_SOURCES): Add n32.S. | |
990 | * configure: Regenerate | |
991 | * Makefile.in: Ditto. | |
992 | * fficonfig.h.in: Ditto. | |
993 | * src/mips/ffitarget.h (REG_L, REG_S, SUBU, ADDU, SRL, LI): Indent. | |
994 | (LA, EH_FRAME_ALIGN, FDE_ADDR_BYTES): New preprocessor macros. | |
995 | (FFI_DEFAULT_ABI): Set for n64 case. | |
996 | (FFI_CLOSURES, FFI_TRAMPOLINE_SIZE): Define for n32 and n64 cases. | |
997 | * src/mips/n32.S (ffi_call_N32): Add debug macros and labels for FDE. | |
998 | (ffi_closure_N32): New function. | |
999 | (.eh_frame): New section | |
1000 | * src/mips/o32.S: Clean up comments. | |
1001 | (ffi_closure_O32): Pass ffi_closure parameter in $12. | |
1002 | * src/mips/ffi.c: Use FFI_MIPS_N32 instead of | |
1003 | _MIPS_SIM == _ABIN32 throughout. | |
1004 | (FFI_MIPS_STOP_HERE): New, use in place of | |
1005 | ffi_stop_here. | |
1006 | (ffi_prep_args): Use unsigned long to hold pointer values. Rewrite | |
1007 | to support n32/n64 ABIs. | |
1008 | (calc_n32_struct_flags): Rewrite. | |
1009 | (calc_n32_return_struct_flags): Remove unused variable. Reverse | |
1010 | position of flag bits. | |
1011 | (ffi_prep_cif_machdep): Rewrite n32 portion. | |
1012 | (ffi_call): Enable for n64. Add special handling for small structure | |
1013 | return values. | |
1014 | (ffi_prep_closure_loc): Add n32 and n64 support. | |
1015 | (ffi_closure_mips_inner_O32): Add cast to silence warning. | |
1016 | (copy_struct_N32, ffi_closure_mips_inner_N32): New functions. | |
1017 | ||
d23869d4 DD |
1018 | 2007-08-08 David Daney <ddaney@avtrex.com> |
1019 | ||
1020 | * testsuite/libffi.call/ffitest.h (ffi_type_mylong): Remove definition. | |
1021 | * testsuite/libffi.call/cls_align_uint16.c (main): Use correct type | |
1022 | specifiers. | |
1023 | * testsuite/libffi.call/nested_struct1.c (main): Ditto. | |
1024 | * testsuite/libffi.call/cls_sint.c (main): Ditto. | |
1025 | * testsuite/libffi.call/nested_struct9.c (main): Ditto. | |
1026 | * testsuite/libffi.call/cls_20byte1.c (main): Ditto. | |
1027 | * testsuite/libffi.call/cls_9byte1.c (main): Ditto. | |
1028 | * testsuite/libffi.call/closure_fn1.c (main): Ditto. | |
1029 | * testsuite/libffi.call/closure_fn3.c (main): Ditto. | |
1030 | * testsuite/libffi.call/return_dbl2.c (main): Ditto. | |
1031 | * testsuite/libffi.call/cls_sshort.c (main): Ditto. | |
1032 | * testsuite/libffi.call/return_fl3.c (main): Ditto. | |
1033 | * testsuite/libffi.call/closure_fn5.c (main): Ditto. | |
1034 | * testsuite/libffi.call/nested_struct.c (main): Ditto. | |
1035 | * testsuite/libffi.call/nested_struct10.c (main): Ditto. | |
1036 | * testsuite/libffi.call/return_ll1.c (main): Ditto. | |
1037 | * testsuite/libffi.call/cls_8byte.c (main): Ditto. | |
1038 | * testsuite/libffi.call/cls_align_uint32.c (main): Ditto. | |
1039 | * testsuite/libffi.call/cls_align_sint16.c (main): Ditto. | |
1040 | * testsuite/libffi.call/cls_20byte.c (main): Ditto. | |
1041 | * testsuite/libffi.call/nested_struct2.c (main): Ditto. | |
1042 | * testsuite/libffi.call/cls_24byte.c (main): Ditto. | |
1043 | * testsuite/libffi.call/nested_struct6.c (main): Ditto. | |
1044 | * testsuite/libffi.call/cls_uint.c (main): Ditto. | |
1045 | * testsuite/libffi.call/cls_12byte.c (main): Ditto. | |
1046 | * testsuite/libffi.call/cls_16byte.c (main): Ditto. | |
1047 | * testsuite/libffi.call/closure_fn0.c (main): Ditto. | |
1048 | * testsuite/libffi.call/cls_9byte2.c (main): Ditto. | |
1049 | * testsuite/libffi.call/closure_fn2.c (main): Ditto. | |
1050 | * testsuite/libffi.call/return_dbl1.c (main): Ditto. | |
1051 | * testsuite/libffi.call/closure_fn4.c (main): Ditto. | |
1052 | * testsuite/libffi.call/closure_fn6.c (main): Ditto. | |
1053 | * testsuite/libffi.call/cls_align_sint32.c (main): Ditto. | |
1054 | ||
536e0a8f AH |
1055 | 2007-08-07 Andrew Haley <aph@redhat.com> |
1056 | ||
1057 | * src/x86/sysv.S (ffi_closure_raw_SYSV): Fix typo in previous | |
1058 | checkin. | |
1059 | ||
7665c9be AH |
1060 | 2007-08-06 Andrew Haley <aph@redhat.com> |
1061 | ||
1062 | PR testsuite/32843 | |
1063 | * src/x86/sysv.S (ffi_closure_raw_SYSV): Handle FFI_TYPE_UINT8, | |
1064 | FFI_TYPE_SINT8, FFI_TYPE_UINT16, FFI_TYPE_SINT16, FFI_TYPE_UINT32, | |
1065 | FFI_TYPE_SINT32. | |
1066 | ||
58e11497 DD |
1067 | 2007-08-02 David Daney <ddaney@avtrex.com> |
1068 | ||
1069 | * testsuite/libffi.call/return_ul.c (main): Define return type as | |
1070 | ffi_arg. Use proper printf conversion specifier. | |
1071 | ||
387cfbba AH |
1072 | 2007-07-30 Andrew Haley <aph@redhat.com> |
1073 | ||
1074 | PR testsuite/32843 | |
1075 | * src/x86/ffi.c (ffi_prep_cif_machdep): in x86 case, add code for | |
1076 | signed/unsigned int8/16. | |
1077 | * src/x86/sysv.S (ffi_call_SYSV): Rewrite to: | |
1078 | Use a jump table. | |
1079 | Remove code to pop args from the stack after call. | |
1080 | Special-case signed/unsigned int8/16. | |
1081 | * testsuite/libffi.call/return_sc.c (main): Revert. | |
1082 | ||
0ee0208e RG |
1083 | 2007-07-26 Richard Guenther <rguenther@suse.de> |
1084 | ||
1085 | PR testsuite/32843 | |
1086 | * testsuite/libffi.call/return_sc.c (main): Verify call | |
1087 | result as signed char, not ffi_arg. | |
1088 | ||
04a49983 RO |
1089 | 2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1090 | ||
1091 | * configure.ac (i?86-*-solaris2.1[0-9]): Set TARGET to X86_64. | |
1092 | * configure: Regenerate. | |
1093 | ||
433e6a8c DD |
1094 | 2007-07-11 David Daney <ddaney@avtrex.com> |
1095 | ||
1096 | * src/mips/ffi.c: Don't include sys/cachectl.h. | |
1097 | (ffi_prep_closure_loc): Use __builtin___clear_cache() instead of | |
1098 | cacheflush(). | |
1099 | ||
0959e2b8 AH |
1100 | 2007-05-18 Aurelien Jarno <aurelien@aurel32.net> |
1101 | ||
1102 | * src/arm/ffi.c (ffi_prep_closure_loc): Renamed and ajusted | |
1103 | from (ffi_prep_closure): ... this. | |
1104 | (FFI_INIT_TRAMPOLINE): Adjust. | |
1105 | ||
1106 | 2005-12-31 Phil Blundell <pb@reciva.com> | |
1107 | ||
1108 | * src/arm/ffi.c (ffi_prep_incoming_args_SYSV, | |
1109 | ffi_closure_SYSV_inner, ffi_prep_closure): New, add closure support. | |
1110 | * src/arm/sysv.S(ffi_closure_SYSV): Likewise. | |
1111 | * src/arm/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise. | |
1112 | (FFI_CLOSURES): Enable closure support. | |
1113 | ||
1114 | 2007-07-03 Andrew Haley <aph@hedges.billgatliff.com> | |
1115 | ||
1116 | * testsuite/libffi.call/cls_multi_ushort.c, | |
1117 | testsuite/libffi.call/cls_align_uint16.c, | |
1118 | testsuite/libffi.call/nested_struct1.c, | |
1119 | testsuite/libffi.call/nested_struct3.c, | |
1120 | testsuite/libffi.call/cls_7_1_byte.c, | |
1121 | testsuite/libffi.call/cls_double.c, | |
1122 | testsuite/libffi.call/nested_struct5.c, | |
1123 | testsuite/libffi.call/nested_struct7.c, | |
1124 | testsuite/libffi.call/cls_sint.c, | |
1125 | testsuite/libffi.call/nested_struct9.c, | |
1126 | testsuite/libffi.call/cls_20byte1.c, | |
1127 | testsuite/libffi.call/cls_multi_sshortchar.c, | |
1128 | testsuite/libffi.call/cls_align_sint64.c, | |
1129 | testsuite/libffi.call/cls_3byte2.c, | |
1130 | testsuite/libffi.call/cls_multi_schar.c, | |
1131 | testsuite/libffi.call/cls_multi_uchar.c, | |
1132 | testsuite/libffi.call/cls_19byte.c, | |
1133 | testsuite/libffi.call/cls_9byte1.c, | |
1134 | testsuite/libffi.call/cls_align_float.c, | |
1135 | testsuite/libffi.call/closure_fn1.c, | |
1136 | testsuite/libffi.call/problem1.c, | |
1137 | testsuite/libffi.call/closure_fn3.c, | |
1138 | testsuite/libffi.call/cls_sshort.c, | |
1139 | testsuite/libffi.call/closure_fn5.c, | |
1140 | testsuite/libffi.call/cls_align_double.c, | |
1141 | testsuite/libffi.call/cls_2byte.c, | |
1142 | testsuite/libffi.call/nested_struct.c, | |
1143 | testsuite/libffi.call/nested_struct10.c, | |
1144 | testsuite/libffi.call/cls_4byte.c, | |
1145 | testsuite/libffi.call/cls_6byte.c, | |
1146 | testsuite/libffi.call/cls_8byte.c, | |
1147 | testsuite/libffi.call/cls_multi_sshort.c, | |
1148 | testsuite/libffi.call/cls_align_uint32.c, | |
1149 | testsuite/libffi.call/cls_align_sint16.c, | |
1150 | testsuite/libffi.call/cls_float.c, | |
1151 | testsuite/libffi.call/cls_20byte.c, | |
1152 | testsuite/libffi.call/cls_5_1_byte.c, | |
1153 | testsuite/libffi.call/nested_struct2.c, | |
1154 | testsuite/libffi.call/cls_24byte.c, | |
1155 | testsuite/libffi.call/nested_struct4.c, | |
1156 | testsuite/libffi.call/nested_struct6.c, | |
1157 | testsuite/libffi.call/cls_64byte.c, | |
1158 | testsuite/libffi.call/nested_struct8.c, | |
1159 | testsuite/libffi.call/cls_uint.c, | |
1160 | testsuite/libffi.call/cls_multi_ushortchar.c, | |
1161 | testsuite/libffi.call/cls_schar.c, | |
1162 | testsuite/libffi.call/cls_uchar.c, | |
1163 | testsuite/libffi.call/cls_align_uint64.c, | |
1164 | testsuite/libffi.call/cls_ulonglong.c, | |
1165 | testsuite/libffi.call/cls_align_longdouble.c, | |
1166 | testsuite/libffi.call/cls_1_1byte.c, | |
1167 | testsuite/libffi.call/cls_12byte.c, | |
1168 | testsuite/libffi.call/cls_3_1byte.c, | |
1169 | testsuite/libffi.call/cls_3byte1.c, | |
1170 | testsuite/libffi.call/cls_4_1byte.c, | |
1171 | testsuite/libffi.call/cls_6_1_byte.c, | |
1172 | testsuite/libffi.call/cls_16byte.c, | |
1173 | testsuite/libffi.call/cls_18byte.c, | |
1174 | testsuite/libffi.call/closure_fn0.c, | |
1175 | testsuite/libffi.call/cls_9byte2.c, | |
1176 | testsuite/libffi.call/closure_fn2.c, | |
1177 | testsuite/libffi.call/closure_fn4.c, | |
1178 | testsuite/libffi.call/cls_ushort.c, | |
1179 | testsuite/libffi.call/closure_fn6.c, | |
1180 | testsuite/libffi.call/cls_5byte.c, | |
1181 | testsuite/libffi.call/cls_align_pointer.c, | |
1182 | testsuite/libffi.call/cls_7byte.c, | |
1183 | testsuite/libffi.call/cls_align_sint32.c, | |
1184 | testsuite/libffi.special/unwindtest_ffi_call.cc, | |
1185 | testsuite/libffi.special/unwindtest.cc: Enable for ARM. | |
1186 | ||
12a27363 L |
1187 | 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1188 | ||
1189 | * aclocal.m4: Regenerated. | |
1190 | ||
82a6cadf PB |
1191 | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> |
1192 | ||
1193 | * configure: Regenerate. | |
1194 | ||
1cf3d07d SE |
1195 | 2007-05-23 Steve Ellcey <sje@cup.hp.com> |
1196 | ||
1197 | * Makefile.in: Regenerate. | |
1198 | * configure: Regenerate. | |
1199 | * aclocal.m4: Regenerate. | |
1200 | * include/Makefile.in: Regenerate. | |
1201 | * testsuite/Makefile.in: Regenerate. | |
1202 | ||
5635c26e RZ |
1203 | 2007-05-10 Roman Zippel <zippel@linux-m68k.org> |
1204 | ||
1205 | * src/m68k/ffi.c (ffi_prep_incoming_args_SYSV, | |
1206 | ffi_closure_SYSV_inner,ffi_prep_closure): New, add closure support. | |
1207 | * src/m68k/sysv.S(ffi_closure_SYSV,ffi_closure_struct_SYSV): Likewise. | |
1208 | * src/m68k/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise. | |
1209 | (FFI_CLOSURES): Enable closure support. | |
1210 | ||
e6fbf387 RZ |
1211 | 2007-05-10 Roman Zippel <zippel@linux-m68k.org> |
1212 | ||
1213 | * configure.ac (HAVE_AS_CFI_PSEUDO_OP): New test. | |
1214 | * configure: Regenerate. | |
1215 | * fficonfig.h.in: Regenerate. | |
1216 | * src/m68k/sysv.S (CFI_STARTPROC,CFI_ENDPROC, | |
1217 | CFI_OFFSET,CFI_DEF_CFA): New macros. | |
1218 | (ffi_call_SYSV): Add callframe annotation. | |
1219 | ||
b5296e52 RZ |
1220 | 2007-05-10 Roman Zippel <zippel@linux-m68k.org> |
1221 | ||
1222 | * src/m68k/ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix | |
1223 | numerous test suite failures. | |
1224 | * src/m68k/sysv.S (ffi_call_SYSV): Likewise. | |
1225 | ||
bd61d708 PB |
1226 | 2007-04-11 Paolo Bonzini <bonzini@gnu.org> |
1227 | ||
1228 | * Makefile.am (EXTRA_DIST): Bring up to date. | |
1229 | * Makefile.in: Regenerate. | |
1230 | * src/frv/eabi.S: Remove RCS keyword. | |
1231 | ||
bf8da5fc RH |
1232 | 2007-04-06 Richard Henderson <rth@redhat.com> |
1233 | ||
1234 | * configure.ac: Tidy target case. | |
1235 | (HAVE_LONG_DOUBLE): Allow the target to override. | |
1236 | * configure: Regenerate. | |
1237 | * include/ffi.h.in: Don't define ffi_type_foo if | |
1238 | LIBFFI_HIDE_BASIC_TYPES is defined. | |
1239 | (ffi_type_longdouble): If not HAVE_LONG_DOUBLE, define | |
1240 | to ffi_type_double. | |
1241 | * types.c (LIBFFI_HIDE_BASIC_TYPES): Define. | |
1242 | (FFI_TYPEDEF, ffi_type_void): Mark the data const. | |
1243 | (ffi_type_longdouble): Special case for Alpha. Don't define | |
1244 | if long double == double. | |
1245 | ||
1246 | * src/alpha/ffi.c (FFI_TYPE_LONGDOUBLE): Assert unique value. | |
1247 | (ffi_prep_cif_machdep): Handle it as the 128-bit type. | |
1248 | (ffi_call, ffi_closure_osf_inner): Likewise. | |
1249 | (ffi_closure_osf_inner): Likewise. Mark hidden. | |
1250 | (ffi_call_osf, ffi_closure_osf): Mark hidden. | |
1251 | * src/alpha/ffitarget.h (FFI_LAST_ABI): Tidy definition. | |
1252 | * src/alpha/osf.S (ffi_call_osf, ffi_closure_osf): Mark hidden. | |
1253 | (load_table): Handle 128-bit long double. | |
1254 | ||
1255 | * testsuite/libffi.call/float4.c: Add -mieee for alpha. | |
1256 | ||
8669fed1 TT |
1257 | 2007-04-06 Tom Tromey <tromey@redhat.com> |
1258 | ||
1259 | PR libffi/31491: | |
1260 | * README: Fixed bug in example. | |
1261 | ||
f0920e6c JJ |
1262 | 2007-04-03 Jakub Jelinek <jakub@redhat.com> |
1263 | ||
1264 | * src/closures.c: Include sys/statfs.h. | |
1265 | (_GNU_SOURCE): Define on Linux. | |
1266 | (FFI_MMAP_EXEC_SELINUX): Define. | |
1267 | (selinux_enabled): New variable. | |
1268 | (selinux_enabled_check): New function. | |
1269 | (is_selinux_enabled): Define. | |
1270 | (dlmmap): Use it. | |
1271 | ||
34a6ccda UB |
1272 | 2007-03-24 Uros Bizjak <ubizjak@gmail.com> |
1273 | ||
1274 | * testsuite/libffi.call/return_fl2.c (return_fl): Mark as static. | |
1275 | Use 'volatile float sum' to create sum of floats to avoid false | |
1276 | negative due to excess precision on ix86 targets. | |
1277 | (main): Ditto. | |
1278 | ||
8b9cf39e AO |
1279 | 2007-03-08 Alexandre Oliva <aoliva@redhat.com> |
1280 | ||
1281 | * src/powerpc/ffi.c (flush_icache): Fix left-over from previous | |
1282 | patch. | |
1283 | (ffi_prep_closure_loc): Remove unneeded casts. Add needed ones. | |
1284 | ||
18fa3240 AO |
1285 | 2007-03-07 Alexandre Oliva <aoliva@redhat.com> |
1286 | ||
1287 | * include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New. | |
1288 | (ffi_prep_closure_loc): New. | |
1289 | (ffi_prep_raw_closure_loc): New. | |
1290 | (ffi_prep_java_raw_closure_loc): New. | |
1291 | * src/closures.c: New file. | |
1292 | * src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment): | |
1293 | Replace sflags with exec_offset. | |
1294 | [FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset, | |
1295 | sub_segment_exec_offset): New macros. | |
1296 | (get_segment_flags, set_segment_flags, check_segment_merge): New | |
1297 | macros. | |
1298 | (is_mmapped_segment, is_extern_segment): Use get_segment_flags. | |
1299 | (add_segment, sys_alloc, create_mspace, create_mspace_with_base, | |
1300 | destroy_mspace): Use new macros. | |
1301 | (sys_alloc): Silence warning. | |
1302 | * Makefile.am (libffi_la_SOURCES): Add src/closures.c. | |
1303 | * Makefile.in: Rebuilt. | |
1304 | * src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in | |
1305 | terms of ffi_prep_closure_loc. | |
1306 | * src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted | |
1307 | from... | |
1308 | (ffi_prep_raw_closure): ... this. Re-implement in terms of the | |
1309 | renamed version. | |
1310 | * src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and | |
1311 | adjusted from... | |
1312 | (ffi_prep_java_raw_closure): ... this. Re-implement in terms of | |
1313 | the renamed version. | |
1314 | * src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from | |
1315 | (ffi_prep_closure): ... this. | |
1316 | * src/pa/ffi.c: Likewise. | |
1317 | * src/cris/ffi.c: Likewise. Adjust. | |
1318 | * src/frv/ffi.c: Likewise. | |
1319 | * src/ia64/ffi.c: Likewise. | |
1320 | * src/mips/ffi.c: Likewise. | |
1321 | * src/powerpc/ffi_darwin.c: Likewise. | |
1322 | * src/s390/ffi.c: Likewise. | |
1323 | * src/sh/ffi.c: Likewise. | |
1324 | * src/sh64/ffi.c: Likewise. | |
1325 | * src/sparc/ffi.c: Likewise. | |
1326 | * src/x86/ffi64.c: Likewise. | |
1327 | * src/x86/ffi.c: Likewise. | |
1328 | (FFI_INIT_TRAMPOLINE): Adjust. | |
1329 | (ffi_prep_raw_closure_loc): Renamed and adjusted from... | |
1330 | (ffi_prep_raw_closure): ... this. | |
1331 | * src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from | |
1332 | (ffi_prep_closure): ... this. | |
1333 | (flush_icache): Adjust. | |
1334 | ||
dd778331 AO |
1335 | 2007-03-07 Alexandre Oliva <aoliva@redhat.com> |
1336 | ||
1337 | * src/dlmalloc.c: New file, imported version 2.8.3 of Doug | |
1338 | Lea's malloc. | |
1339 | ||
b5f8d49b BM |
1340 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
1341 | ||
1342 | * Makefile.am: Add dummy install-pdf target. | |
1343 | * Makefile.in: Regenerate | |
1344 | ||
7a23933b AK |
1345 | 2007-02-13 Andreas Krebbel <krebbel1@de.ibm.com> |
1346 | ||
1347 | * src/s390/ffi.c (ffi_prep_args, ffi_prep_cif_machdep, | |
1348 | ffi_closure_helper_SYSV): Add long double handling. | |
1349 | ||
8aaf4681 JJ |
1350 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
1351 | ||
1352 | * src/powerpc/linux64.S (ffi_call_LINUX64): Move restore of r2 | |
1353 | immediately after bctrl instruction. | |
1354 | ||
0eb5e2b9 AO |
1355 | 2007-01-18 Alexandre Oliva <aoliva@redhat.com> |
1356 | ||
1357 | * Makefile.am (all-recursive, install-recursive, | |
1358 | mostlyclean-recursive, clean-recursive, distclean-recursive, | |
1359 | maintainer-clean-recursive): Add missing targets. | |
1360 | * Makefile.in: Rebuilt. | |
1361 | ||
f4f7486b AT |
1362 | 2006-12-14 Andreas Tobler <a.tobler@schweiz.org> |
1363 | ||
1364 | * configure.ac: Add TARGET for x86_64-*-darwin*. | |
1365 | * Makefile.am (nodist_libffi_la_SOURCES): Add rules for 64-bit sources | |
1366 | for X86_DARWIN. | |
1367 | * src/x86/ffitarget.h: Set trampoline size for x86_64-*-darwin*. | |
1368 | * src/x86/darwin64.S: New file for x86_64-*-darwin* support. | |
1369 | * configure: Regenerate. | |
1370 | * Makefile.in: Regenerate. | |
1371 | * include/Makefile.in: Regenerate. | |
1372 | * testsuite/Makefile.in: Regenerate. | |
1373 | * testsuite/libffi.special/unwindtest_ffi_call.cc: New test case for | |
1374 | ffi_call only. | |
1375 | ||
3d5eafe2 AT |
1376 | 2006-12-13 Andreas Tobler <a.tobler@schweiz.org> |
1377 | ||
1378 | * aclocal.m4: Regenerate with aclocal -I .. as written in the | |
1379 | Makefile.am. | |
1380 | ||
d5523ce1 | 1381 | 2006-10-31 Geoffrey Keating <geoffk@apple.com> |
58182de3 GK |
1382 | |
1383 | * src/powerpc/ffi_darwin.c (darwin_adjust_aggregate_sizes): New. | |
1384 | (ffi_prep_cif_machdep): Call darwin_adjust_aggregate_sizes for | |
1385 | Darwin. | |
1386 | * testsuite/libffi.call/nested_struct4.c: Remove Darwin XFAIL. | |
1387 | * testsuite/libffi.call/nested_struct6.c: Remove Darwin XFAIL. | |
1388 | ||
a3bd50cc PB |
1389 | 2006-10-10 Paolo Bonzini <bonzini@gnu.org> |
1390 | Sandro Tolaini <tolaini@libero.it> | |
1391 | ||
1392 | * configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and | |
1393 | conditional. | |
1394 | * configure: Regenerated. | |
1395 | * Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case. | |
1396 | (EXTRA_DIST): Add src/x86/darwin.S. | |
1397 | * Makefile.in: Regenerated. | |
1398 | * include/Makefile.in: Regenerated. | |
1399 | * testsuite/Makefile.in: Regenerated. | |
1400 | ||
1401 | * src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like | |
1402 | X86_WIN32, and additionally align stack to 16 bytes. | |
1403 | * src/x86/darwin.S: New, based on sysv.S. | |
1404 | * src/prep_cif.c (ffi_prep_cif) [X86_DARWIN]: Align > 8-byte structs. | |
1405 | ||
b095810f DD |
1406 | 2006-09-12 David Daney <ddaney@avtrex.com> |
1407 | ||
1408 | PR libffi/23935 | |
1409 | * include/Makefile.am: Install both ffi.h and ffitarget.h in | |
1410 | $(libdir)/gcc/$(target_alias)/$(gcc_version)/include. | |
1411 | * aclocal.m4: Regenerated for automake 1.9.6. | |
1412 | * Makefile.in: Regenerated. | |
1413 | * include/Makefile.in: Regenerated. | |
1414 | * testsuite/Makefile.in: Regenerated. | |
1415 | ||
110b2db4 AT |
1416 | 2006-08-17 Andreas Tobler <a.tobler@schweiz.ch> |
1417 | ||
1418 | * include/ffi_common.h (struct): Revert accidental commit. | |
1419 | ||
8e5fde87 AT |
1420 | 2006-08-15 Andreas Tobler <a.tobler@schweiz.ch> |
1421 | ||
1422 | * include/ffi_common.h: Remove lint directives. | |
1423 | * include/ffi.h.in: Likewise. | |
1424 | ||
cb4132fe TS |
1425 | 2006-07-25 Torsten Schoenfeld <kaffeetisch@gmx.de> |
1426 | ||
1427 | * include/ffi.h.in (ffi_type_ulong, ffi_type_slong): Define correctly | |
1428 | for 32-bit architectures. | |
1429 | * testsuite/libffi.call/return_ul.c: New test case. | |
1430 | ||
0d24c3fa DD |
1431 | 2006-07-19 David Daney <ddaney@avtrex.com> |
1432 | ||
1433 | * testsuite/libffi.call/closure_fn6.c: Remove xfail for mips, | |
1434 | xfail remains for mips64. | |
1435 | ||
8665824c CD |
1436 | 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> |
1437 | ||
1438 | * Makefile.am: Add install-html target. Add install-html to .PHONY | |
1439 | * Makefile.in: Regenerate. | |
1440 | * aclocal.m4: Regenerate. | |
1441 | * include/Makefile.in: Regenerate. | |
1442 | * testsuite/Makefile.in: Regenerate. | |
1443 | ||
84e2e370 JDA |
1444 | 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1445 | ||
1446 | * pa/ffi.c (ffi_prep_args_pa32): Load floating point arguments from | |
1447 | stack slot. | |
1448 | ||
ac6ed182 AT |
1449 | 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch> |
1450 | ||
1451 | * README: Remove notice about 'Crazy Comments'. | |
1452 | * src/debug.c: Remove lint directives. Cleanup white spaces. | |
1453 | * src/java_raw_api.c: Likewise. | |
1454 | * src/prep_cif.c: Likewise. | |
1455 | * src/raw_api.c: Likewise. | |
1456 | * src/ffitest.c: Delete. No longer needed, all test cases migrated | |
1457 | to the testsuite. | |
1458 | * src/arm/ffi.c: Remove lint directives. | |
1459 | * src/m32r/ffi.c: Likewise. | |
1460 | * src/pa/ffi.c: Likewise. | |
1461 | * src/powerpc/ffi.c: Likewise. | |
1462 | * src/powerpc/ffi_darwin.c: Likewise. | |
1463 | * src/sh/ffi.c: Likewise. | |
1464 | * src/sh64/ffi.c: Likewise. | |
1465 | * src/x86/ffi.c: Likewise. | |
1466 | * testsuite/libffi.call/float2.c: Likewise. | |
1467 | * testsuite/libffi.call/promotion.c: Likewise. | |
1468 | * testsuite/libffi.call/struct1.c: Likewise. | |
1469 | ||
b7211585 AT |
1470 | 2006-04-13 Andreas Tobler <a.tobler@schweiz.ch> |
1471 | ||
1472 | * src/pa/hpux32.S: Correct unwind offset calculation for | |
1473 | ffi_closure_pa32. | |
1474 | * src/pa/linux.S: Likewise. | |
1475 | ||
86066f9b JW |
1476 | 2006-04-12 James E Wilson <wilson@specifix.com> |
1477 | ||
1478 | PR libgcj/26483 | |
1479 | * src/ia64/ffi.c (stf_spill, ldf_fill): Rewrite as macros. | |
1480 | (hfa_type_load): Call stf_spill. | |
1481 | (hfa_type_store): Call ldf_fill. | |
1482 | (ffi_call): Adjust calls to above routines. Add local temps for | |
1483 | macro result. | |
b7211585 | 1484 | |
615baed7 MK |
1485 | 2006-04-10 Matthias Klose <doko@debian.org> |
1486 | ||
1487 | * testsuite/lib/libffi-dg.exp (libffi-init): Recognize multilib | |
1488 | directory names containing underscores. | |
1489 | ||
8e7a2b58 JW |
1490 | 2006-04-07 James E Wilson <wilson@specifix.com> |
1491 | ||
1492 | * testsuite/libffi.call/float4.c: New testcase. | |
1493 | ||
e6c300ef JDA |
1494 | 2006-04-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1495 | Andreas Tobler <a.tobler@schweiz.ch> | |
1496 | ||
1497 | * Makefile.am: Add PA_HPUX port. | |
1498 | * Makefile.in: Regenerate. | |
1499 | * include/Makefile.in: Likewise. | |
1500 | * testsuite/Makefile.in: Likewise. | |
1501 | * configure.ac: Add PA_HPUX rules. | |
1502 | * configure: Regenerate. | |
1503 | * src/pa/ffitarget.h: Rename linux target to PA_LINUX. | |
1504 | Add PA_HPUX and PA64_HPUX. | |
1505 | Rename FFI_LINUX ABI to FFI_PA32 ABI. | |
1506 | (FFI_TRAMPOLINE_SIZE): Define for 32-bit HP-UX targets. | |
1507 | (FFI_TYPE_SMALL_STRUCT2): Define. | |
1508 | (FFI_TYPE_SMALL_STRUCT4): Likewise. | |
1509 | (FFI_TYPE_SMALL_STRUCT8): Likewise. | |
1510 | (FFI_TYPE_SMALL_STRUCT3): Redefine. | |
1511 | (FFI_TYPE_SMALL_STRUCT5): Likewise. | |
1512 | (FFI_TYPE_SMALL_STRUCT6): Likewise. | |
1513 | (FFI_TYPE_SMALL_STRUCT7): Likewise. | |
1514 | * src/pa/ffi.c (ROUND_DOWN): Delete. | |
1515 | (fldw, fstw, fldd, fstd): Use '__asm__'. | |
1516 | (ffi_struct_type): Add support for FFI_TYPE_SMALL_STRUCT2, | |
1517 | FFI_TYPE_SMALL_STRUCT4 and FFI_TYPE_SMALL_STRUCT8. | |
1518 | (ffi_prep_args_LINUX): Rename to ffi_prep_args_pa32. Update comment. | |
1519 | Simplify incrementing of stack slot variable. Change type of local | |
1520 | 'n' to unsigned int. | |
1521 | (ffi_size_stack_LINUX): Rename to ffi_size_stack_pa32. Handle long | |
1522 | double on PA_HPUX. | |
1523 | (ffi_prep_cif_machdep): Likewise. | |
1524 | (ffi_call): Likewise. | |
1525 | (ffi_closure_inner_LINUX): Rename to ffi_closure_inner_pa32. Change | |
1526 | return type to ffi_status. Simplify incrementing of stack slot | |
1527 | variable. Only copy floating point argument registers when PA_LINUX | |
1528 | is true. Reformat debug statement. | |
1529 | Add support for FFI_TYPE_SMALL_STRUCT2, FFI_TYPE_SMALL_STRUCT4 and | |
1530 | FFI_TYPE_SMALL_STRUCT8. | |
1531 | (ffi_closure_LINUX): Rename to ffi_closure_pa32. Add 'extern' to | |
1532 | declaration. | |
1533 | (ffi_prep_closure): Make linux trampoline conditional on PA_LINUX. | |
1534 | Add nops to cache flush. Add trampoline for PA_HPUX. | |
1535 | * src/pa/hpux32.S: New file. | |
1536 | * src/pa/linux.S (ffi_call_LINUX): Rename to ffi_call_pa32. Rename | |
1537 | ffi_prep_args_LINUX to ffi_prep_args_pa32. | |
1538 | Localize labels. Add support for 2, 4 and 8-byte small structs. Handle | |
1539 | unaligned destinations in 3, 5, 6 and 7-byte small structs. Order | |
1540 | argument type checks so that common argument types appear first. | |
1541 | (ffi_closure_LINUX): Rename to ffi_closure_pa32. Rename | |
1542 | ffi_closure_inner_LINUX to ffi_closure_inner_pa32. | |
1543 | ||
75b8b1be AM |
1544 | 2006-03-24 Alan Modra <amodra@bigpond.net.au> |
1545 | ||
1546 | * src/powerpc/ffitarget.h (enum ffi_abi): Add FFI_LINUX. Default | |
1547 | for 32-bit using IBM extended double format. Fix FFI_LAST_ABI. | |
1548 | * src/powerpc/ffi.c (ffi_prep_args_SYSV): Handle linux variant of | |
1549 | FFI_TYPE_LONGDOUBLE. | |
1550 | (ffi_prep_args64): Assert using IBM extended double. | |
1551 | (ffi_prep_cif_machdep): Don't munge FFI_TYPE_LONGDOUBLE type. | |
1552 | Handle FFI_LINUX FFI_TYPE_LONGDOUBLE return and args. | |
1553 | (ffi_call): Handle FFI_LINUX. | |
1554 | (ffi_closure_helper_SYSV): Non FFI_LINUX long double return needs | |
1555 | gpr3 return pointer as for struct return. Handle FFI_LINUX | |
1556 | FFI_TYPE_LONGDOUBLE return and args. Don't increment "nf" | |
1557 | unnecessarily. | |
1558 | * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Load both f1 and f2 | |
1559 | for FFI_TYPE_LONGDOUBLE. Move epilogue insns into case table. | |
1560 | Don't use r6 as pointer to results, instead use sp offset. Don't | |
1561 | make a special call to load lr with case table address, instead | |
1562 | use offset from previous call. | |
1563 | * src/powerpc/sysv.S (ffi_call_SYSV): Save long double return. | |
1564 | * src/powerpc/linux64.S (ffi_call_LINUX64): Simplify long double | |
1565 | return. | |
1566 | ||
697701ad KK |
1567 | 2006-03-15 Kaz Kojima <kkojima@gcc.gnu.org> |
1568 | ||
1569 | * src/sh64/ffi.c (ffi_prep_cif_machdep): Handle float arguments | |
1570 | passed with FP registers correctly. | |
1571 | (ffi_closure_helper_SYSV): Likewise. | |
1572 | * src/sh64/sysv.S: Likewise. | |
1573 | ||
b295c471 AT |
1574 | 2006-03-01 Andreas Tobler <a.tobler@schweiz.ch> |
1575 | ||
1576 | * testsuite/libffi.special/unwindtest.cc (closure_test_fn): Mark cif, | |
1577 | args and userdata unused. | |
1578 | (closure_test_fn1): Mark cif and userdata unused. | |
1579 | (main): Remove unused res. | |
1580 | ||
9fdeb13b AT |
1581 | 2006-02-28 Andreas Tobler <a.tobler@schweiz.ch> |
1582 | ||
1583 | * testsuite/libffi.call/call.exp: Adjust FSF address. Add test runs for | |
1584 | -O2, -O3, -Os and the warning flags -W -Wall. | |
1585 | * testsuite/libffi.special/special.exp: Likewise. | |
1586 | * testsuite/libffi.call/ffitest.h: Add an __UNUSED__ macro to mark | |
1587 | unused parameter unused for gcc or else do nothing. | |
1588 | * testsuite/libffi.special/ffitestcxx.h: Likewise. | |
1589 | * testsuite/libffi.call/cls_12byte.c (cls_struct_12byte_gn): Mark cif | |
1590 | and userdata unused. | |
1591 | * testsuite/libffi.call/cls_16byte.c (cls_struct_16byte_gn): Likewise. | |
1592 | * testsuite/libffi.call/cls_18byte.c (cls_struct_18byte_gn): Likewise. | |
1593 | * testsuite/libffi.call/cls_19byte.c (cls_struct_19byte_gn): Likewise. | |
1594 | * testsuite/libffi.call/cls_1_1byte.c (cls_struct_1_1byte_gn): Likewise. | |
1595 | * testsuite/libffi.call/cls_20byte.c (cls_struct_20byte_gn): Likewise. | |
1596 | * testsuite/libffi.call/cls_20byte1.c (cls_struct_20byte_gn): Likewise. | |
1597 | * testsuite/libffi.call/cls_24byte.c (cls_struct_24byte_gn): Likewise. | |
1598 | * testsuite/libffi.call/cls_2byte.c (cls_struct_2byte_gn): Likewise. | |
1599 | * testsuite/libffi.call/cls_3_1byte.c (cls_struct_3_1byte_gn): Likewise. | |
1600 | * testsuite/libffi.call/cls_3byte1.c (cls_struct_3byte_gn): Likewise. | |
1601 | * testsuite/libffi.call/cls_3byte2.c (cls_struct_3byte_gn1): Likewise. | |
1602 | * testsuite/libffi.call/cls_4_1byte.c (cls_struct_4_1byte_gn): Likewise. | |
1603 | * testsuite/libffi.call/cls_4byte.c (cls_struct_4byte_gn): Likewise. | |
1604 | * testsuite/libffi.call/cls_5_1_byte.c (cls_struct_5byte_gn): Likewise. | |
1605 | * testsuite/libffi.call/cls_5byte.c (cls_struct_5byte_gn): Likewise. | |
1606 | * testsuite/libffi.call/cls_64byte.c (cls_struct_64byte_gn): Likewise. | |
1607 | * testsuite/libffi.call/cls_6_1_byte.c (cls_struct_6byte_gn): Likewise. | |
1608 | * testsuite/libffi.call/cls_6byte.c (cls_struct_6byte_gn): Likewise. | |
1609 | * testsuite/libffi.call/cls_7_1_byte.c (cls_struct_7byte_gn): Likewise. | |
1610 | * testsuite/libffi.call/cls_7byte.c (cls_struct_7byte_gn): Likewise. | |
1611 | * testsuite/libffi.call/cls_8byte.c (cls_struct_8byte_gn): Likewise. | |
1612 | * testsuite/libffi.call/cls_9byte1.c (cls_struct_9byte_gn): Likewise. | |
1613 | * testsuite/libffi.call/cls_9byte2.c (cls_struct_9byte_gn): Likewise. | |
1614 | * testsuite/libffi.call/cls_align_double.c (cls_struct_align_gn): | |
1615 | Likewise. | |
1616 | * testsuite/libffi.call/cls_align_float.c (cls_struct_align_gn): | |
1617 | Likewise. | |
1618 | * testsuite/libffi.call/cls_align_longdouble.c (cls_struct_align_gn): | |
1619 | Likewise. | |
1620 | * testsuite/libffi.call/cls_align_pointer.c (cls_struct_align_fn): Cast | |
1621 | void* to avoid compiler warning. | |
1622 | (main): Likewise. | |
1623 | (cls_struct_align_gn): Mark cif and userdata unused. | |
1624 | * testsuite/libffi.call/cls_align_sint16.c (cls_struct_align_gn): | |
1625 | Likewise. | |
1626 | * testsuite/libffi.call/cls_align_sint32.c (cls_struct_align_gn): | |
1627 | Likewise. | |
1628 | * testsuite/libffi.call/cls_align_sint64.c (cls_struct_align_gn): | |
1629 | Likewise. | |
1630 | * testsuite/libffi.call/cls_align_uint16.c (cls_struct_align_gn): | |
1631 | Likewise. | |
1632 | * testsuite/libffi.call/cls_align_uint32.c (cls_struct_align_gn): | |
1633 | Likewise. | |
1634 | * testsuite/libffi.call/cls_double.c (cls_ret_double_fn): Likewise. | |
1635 | * testsuite/libffi.call/cls_float.c (cls_ret_float_fn): Likewise. | |
1636 | * testsuite/libffi.call/cls_multi_schar.c (test_func_gn): Mark cif and | |
1637 | data unused. | |
1638 | (main): Cast res_call to silence gcc. | |
1639 | * testsuite/libffi.call/cls_multi_sshort.c (test_func_gn): Mark cif and | |
1640 | data unused. | |
1641 | (main): Cast res_call to silence gcc. | |
1642 | * testsuite/libffi.call/cls_multi_sshortchar.c (test_func_gn): Mark cif | |
1643 | and data unused. | |
1644 | (main): Cast res_call to silence gcc. | |
1645 | * testsuite/libffi.call/cls_multi_uchar.c (test_func_gn): Mark cif and | |
1646 | data unused. | |
1647 | (main): Cast res_call to silence gcc. | |
1648 | * testsuite/libffi.call/cls_multi_ushort.c (test_func_gn): Mark cif and | |
1649 | data unused. | |
1650 | (main): Cast res_call to silence gcc. | |
1651 | * testsuite/libffi.call/cls_multi_ushortchar.c (test_func_gn): Mark cif | |
1652 | and data unused. | |
1653 | (main): Cast res_call to silence gcc. | |
1654 | * testsuite/libffi.call/cls_schar.c (cls_ret_schar_fn): Mark cif and | |
1655 | userdata unused. | |
1656 | (cls_ret_schar_fn): Cast printf parameter to silence gcc. | |
1657 | * testsuite/libffi.call/cls_sint.c (cls_ret_sint_fn): Mark cif and | |
1658 | userdata unused. | |
1659 | (cls_ret_sint_fn): Cast printf parameter to silence gcc. | |
1660 | * testsuite/libffi.call/cls_sshort.c (cls_ret_sshort_fn): Mark cif and | |
1661 | userdata unused. | |
1662 | (cls_ret_sshort_fn): Cast printf parameter to silence gcc. | |
1663 | * testsuite/libffi.call/cls_uchar.c (cls_ret_uchar_fn): Mark cif and | |
1664 | userdata unused. | |
1665 | (cls_ret_uchar_fn): Cast printf parameter to silence gcc. | |
1666 | * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Mark cif and | |
1667 | userdata unused. | |
1668 | (cls_ret_uint_fn): Cast printf parameter to silence gcc. | |
1669 | * testsuite/libffi.call/cls_ulonglong.c (cls_ret_ulonglong_fn): Mark cif | |
1670 | and userdata unused. | |
1671 | * testsuite/libffi.call/cls_ushort.c (cls_ret_ushort_fn): Mark cif and | |
1672 | userdata unused. | |
1673 | (cls_ret_ushort_fn): Cast printf parameter to silence gcc. | |
1674 | * testsuite/libffi.call/float.c (floating): Remove unused parameter e. | |
1675 | * testsuite/libffi.call/float1.c (main): Remove unused variable i. | |
1676 | Cleanup white spaces. | |
1677 | * testsuite/libffi.call/negint.c (checking): Remove unused variable i. | |
1678 | * testsuite/libffi.call/nested_struct.c (cls_struct_combined_gn): Mark | |
1679 | cif and userdata unused. | |
1680 | * testsuite/libffi.call/nested_struct1.c (cls_struct_combined_gn): | |
1681 | Likewise. | |
1682 | * testsuite/libffi.call/nested_struct10.c (B_gn): Likewise. | |
1683 | * testsuite/libffi.call/nested_struct2.c (B_fn): Adjust printf | |
1684 | formatters to silence gcc. | |
1685 | (B_gn): Mark cif and userdata unused. | |
1686 | * testsuite/libffi.call/nested_struct3.c (B_gn): Mark cif and userdata | |
1687 | unused. | |
1688 | * testsuite/libffi.call/nested_struct4.c: Mention related PR. | |
1689 | (B_gn): Mark cif and userdata unused. | |
1690 | * testsuite/libffi.call/nested_struct5.c (B_gn): Mark cif and userdata | |
1691 | unused. | |
1692 | * testsuite/libffi.call/nested_struct6.c: Mention related PR. | |
1693 | (B_gn): Mark cif and userdata unused. | |
1694 | * testsuite/libffi.call/nested_struct7.c (B_gn): Mark cif and userdata | |
1695 | unused. | |
1696 | * testsuite/libffi.call/nested_struct8.c (B_gn): Likewise. | |
1697 | * testsuite/libffi.call/nested_struct9.c (B_gn): Likewise. | |
1698 | * testsuite/libffi.call/problem1.c (stub): Likewise. | |
1699 | * testsuite/libffi.call/pyobjc-tc.c (main): Cast the result to silence | |
1700 | gcc. | |
1701 | * testsuite/libffi.call/return_fl2.c (return_fl): Add the note mentioned | |
1702 | in the last commit for this test case in the test case itself. | |
1703 | * testsuite/libffi.call/closure_fn0.c (closure_test_fn0): Mark cif as | |
1704 | unused. | |
1705 | * testsuite/libffi.call/closure_fn1.c (closure_test_fn1): Likewise. | |
1706 | * testsuite/libffi.call/closure_fn2.c (closure_test_fn2): Likewise. | |
1707 | * testsuite/libffi.call/closure_fn3.c (closure_test_fn3): Likewise. | |
1708 | * testsuite/libffi.call/closure_fn4.c (closure_test_fn0): Likewise. | |
1709 | * testsuite/libffi.call/closure_fn5.c (closure_test_fn5): Likewise. | |
1710 | * testsuite/libffi.call/closure_fn6.c (closure_test_fn0): Likewise. | |
1711 | ||
0a4e2bb5 KK |
1712 | 2006-02-22 Kaz Kojima <kkojima@gcc.gnu.org> |
1713 | ||
1714 | * src/sh/sysv.S: Fix register numbers in the FDE for | |
1715 | ffi_closure_SYSV. | |
1716 | ||
723e5d5a AT |
1717 | 2006-02-20 Andreas Tobler <a.tobler@schweiz.ch> |
1718 | ||
1719 | * testsuite/libffi.call/return_fl2.c (return_fl): Remove static | |
1720 | declaration to avoid a false negative on ix86. See PR323. | |
1721 | ||
e097f887 KK |
1722 | 2006-02-18 Kaz Kojima <kkojima@gcc.gnu.org> |
1723 | ||
1724 | * src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable | |
1725 | and cast integer to void * if needed. Update the pointer to | |
1726 | the FP register saved area correctly. | |
1727 | ||
1a4878f7 AT |
1728 | 2006-02-17 Andreas Tobler <a.tobler@schweiz.ch> |
1729 | ||
1730 | * testsuite/libffi.call/nested_struct6.c: XFAIL this test until PR25630 | |
1731 | is fixed. | |
1732 | * testsuite/libffi.call/nested_struct4.c: Likewise. | |
1733 | ||
b47b5e08 AT |
1734 | 2006-02-16 Andreas Tobler <a.tobler@schweiz.ch> |
1735 | ||
6429d58f AT |
1736 | * testsuite/libffi.call/return_dbl.c: New test case. |
1737 | * testsuite/libffi.call/return_dbl1.c: Likewise. | |
1738 | * testsuite/libffi.call/return_dbl2.c: Likewise. | |
1739 | * testsuite/libffi.call/return_fl.c: Likewise. | |
1740 | * testsuite/libffi.call/return_fl1.c: Likewise. | |
1741 | * testsuite/libffi.call/return_fl2.c: Likewise. | |
1742 | * testsuite/libffi.call/return_fl3.c: Likewise. | |
1743 | * testsuite/libffi.call/closure_fn6.c: Likewise. | |
1744 | ||
b47b5e08 AT |
1745 | * testsuite/libffi.call/nested_struct2.c: Remove ffi_type_mylong |
1746 | definition. | |
1747 | * testsuite/libffi.call/ffitest.h: Add ffi_type_mylong definition | |
1748 | here to be used by other test cases too. | |
1749 | ||
1750 | * testsuite/libffi.call/nested_struct10.c: New test case. | |
1751 | * testsuite/libffi.call/nested_struct9.c: Likewise. | |
1752 | * testsuite/libffi.call/nested_struct8.c: Likewise. | |
1753 | * testsuite/libffi.call/nested_struct7.c: Likewise. | |
1754 | * testsuite/libffi.call/nested_struct6.c: Likewise. | |
1755 | * testsuite/libffi.call/nested_struct5.c: Likewise. | |
1756 | * testsuite/libffi.call/nested_struct4.c: Likewise. | |
1757 | ||
9abe31d4 AT |
1758 | 2006-01-21 Andreas Tobler <a.tobler@schweiz.ch> |
1759 | ||
1760 | * configure.ac: Enable libffi for sparc64-*-freebsd*. | |
1761 | * configure: Rebuilt. | |
1762 | ||
71aa1a70 JJ |
1763 | 2006-01-18 Jakub Jelinek <jakub@redhat.com> |
1764 | ||
1765 | * src/powerpc/sysv.S (smst_two_register): Don't call __ashldi3, | |
1766 | instead do the shifting inline. | |
1767 | * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't compute %r5 | |
1768 | shift count unconditionally. Simplify load sequences for 1, 2, 3, 4 | |
1769 | and 8 byte structs, for the remaining struct sizes don't call | |
1770 | __lshrdi3, instead do the shifting inline. | |
1771 | ||
8a39029d TS |
1772 | 2005-12-07 Thiemo Seufer <ths@networkno.de> |
1773 | ||
1774 | * src/mips/ffitarget.h: Remove obsolete sgidefs.h include. Add | |
1775 | missing parentheses. | |
1776 | * src/mips/o32.S (ffi_call_O32): Code formatting. Define | |
1777 | and use A3_OFF, FP_OFF, RA_OFF. Micro-optimizations. | |
1778 | (ffi_closure_O32): Likewise, but with newly defined A3_OFF2, | |
1779 | A2_OFF2, A1_OFF2, A0_OFF2, RA_OFF2, FP_OFF2, S0_OFF2, GP_OFF2, | |
1780 | V1_OFF2, V0_OFF2, FA_1_1_OFF2, FA_1_0_OFF2, FA_0_1_OFF2, | |
1781 | FA_0_0_OFF2. | |
1782 | * src/mips/ffi.c (ffi_prep_args): Code formatting. Fix | |
1783 | endianness bugs. | |
1784 | (ffi_prep_closure): Improve trampoline instruction scheduling. | |
1785 | (ffi_closure_mips_inner_O32): Fix endianness bugs. | |
1786 | ||
cd4241aa AM |
1787 | 2005-12-03 Alan Modra <amodra@bigpond.net.au> |
1788 | ||
1789 | * src/powerpc/ffi.c: Formatting. | |
1790 | (ffi_prep_args_SYSV): Avoid possible aliasing problems by using unions. | |
1791 | (ffi_prep_args64): Likewise. | |
1792 | ||
0363db46 GK |
1793 | 2005-09-30 Geoffrey Keating <geoffk@apple.com> |
1794 | ||
1795 | * testsuite/lib/libffi-dg.exp (libffi_target_compile): For | |
1796 | darwin, use -shared-libgcc not -lgcc_s, and explain why. | |
1797 | ||
d674eb2f TT |
1798 | 2005-09-26 Tom Tromey <tromey@redhat.com> |
1799 | ||
1800 | * testsuite/libffi.call/float1.c (value_type): New typedef. | |
1801 | (CANARY): New define. | |
1802 | (main): Check for result buffer overflow. | |
1803 | * src/powerpc/linux64.S: Handle linux64 long double returns. | |
1804 | * src/powerpc/ffi.c (FLAG_RETURNS_128BITS): New constant. | |
1805 | (ffi_prep_cif_machdep): Handle linux64 long double returns. | |
1806 | ||
2d9c5743 AM |
1807 | 2005-08-25 Alan Modra <amodra@bigpond.net.au> |
1808 | ||
1809 | PR target/23404 | |
1810 | * src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack | |
1811 | homed fp args. | |
1812 | (ffi_status ffi_prep_cif_machdep): Correct stack sizing for same. | |
1813 | ||
8a42356f JJ |
1814 | 2005-08-11 Jakub Jelinek <jakub@redhat.com> |
1815 | ||
1816 | * configure.ac (HAVE_HIDDEN_VISIBILITY_ATTRIBUTE): New test. | |
1817 | (AH_BOTTOM): Add FFI_HIDDEN definition. | |
1818 | * configure: Rebuilt. | |
1819 | * fficonfig.h.in: Rebuilt. | |
1820 | * src/powerpc/ffi.c (hidden): Remove. | |
1821 | (ffi_closure_LINUX64, ffi_prep_args64, ffi_call_LINUX64, | |
1822 | ffi_closure_helper_LINUX64): Use FFI_HIDDEN instead of hidden. | |
1823 | * src/powerpc/linux64_closure.S (ffi_closure_LINUX64, | |
1824 | .ffi_closure_LINUX64): Use FFI_HIDDEN instead of .hidden. | |
1825 | * src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV): Remove, | |
1826 | add FFI_HIDDEN to its prototype. | |
1827 | (ffi_closure_SYSV_inner): New. | |
1828 | * src/x86/sysv.S (ffi_closure_SYSV, ffi_closure_raw_SYSV): New. | |
1829 | * src/x86/win32.S (ffi_closure_SYSV, ffi_closure_raw_SYSV): New. | |
1830 | ||
863c5508 AS |
1831 | 2005-08-10 Alfred M. Szmidt <ams@gnu.org> |
1832 | ||
1833 | PR libffi/21819: | |
1834 | * configure: Rebuilt. | |
1835 | * configure.ac: Handle i*86-*-gnu*. | |
1836 | ||
6a26ea58 JJ |
1837 | 2005-08-09 Jakub Jelinek <jakub@redhat.com> |
1838 | ||
1839 | * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Use | |
1840 | DW_CFA_offset_extended_sf rather than | |
1841 | DW_CFA_GNU_negative_offset_extended. | |
1842 | * src/powerpc/sysv.S (ffi_call_SYSV): Likewise. | |
1843 | ||
583a92e8 ST |
1844 | 2005-07-22 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
1845 | ||
1846 | * src/sh/sysv.S (ffi_call_SYSV): Stop argument popping correctly | |
1847 | on sh3. | |
1848 | (ffi_closure_SYSV): Change the stack layout for sh3 struct argument. | |
1849 | * src/sh/ffi.c (ffi_prep_args): Fix sh3 argument copy, when it is | |
1850 | partially on register. | |
1851 | (ffi_closure_helper_SYSV): Likewise. | |
1852 | (ffi_prep_cif_machdep): Don't set too many cif->flags. | |
1853 | ||
5d0317fc KK |
1854 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1855 | ||
1856 | * src/sh/ffi.c (ffi_call): Handle small structures correctly. | |
1857 | Remove empty line. | |
1858 | * src/sh64/ffi.c (simple_type): Remove. | |
1859 | (return_type): Handle small structures correctly. | |
1860 | (ffi_prep_args): Likewise. | |
1861 | (ffi_call): Likewise. | |
1862 | (ffi_closure_helper_SYSV): Likewise. | |
1863 | * src/sh64/sysv.S (ffi_call_SYSV): Handle 1, 2 and 4-byte return. | |
1864 | Emit position independent code if PIC and remove wrong datalabel | |
1865 | prefixes from EH data. | |
1866 | ||
8d9fd5f5 AT |
1867 | 2005-07-19 Andreas Tobler <a.tobler@schweiz.ch> |
1868 | ||
1869 | * Makefile.am (nodist_libffi_la_SOURCES): Add POWERPC_FREEBSD. | |
1870 | * Makefile.in: Regenerate. | |
1871 | * include/Makefile.in: Likewise. | |
1872 | * testsuite/Makefile.in: Likewise. | |
1873 | * configure.ac: Add POWERPC_FREEBSD rules. | |
1874 | * configure: Regenerate. | |
1875 | * src/powerpc/ffitarget.h: Add POWERPC_FREEBSD rules. | |
1876 | (FFI_SYSV_TYPE_SMALL_STRUCT): Define. | |
1877 | * src/powerpc/ffi.c: Add flags to handle small structure returns | |
1878 | in ffi_call_SYSV. | |
1879 | (ffi_prep_cif_machdep): Handle small structures for SYSV 4 ABI. | |
1880 | Aka FFI_SYSV. | |
1881 | (ffi_closure_helper_SYSV): Likewise. | |
1882 | * src/powerpc/ppc_closure.S: Add return types for small structures. | |
1883 | * src/powerpc/sysv.S: Add bits to handle small structures for | |
1884 | final SYSV 4 ABI. | |
1885 | ||
93c76f81 AT |
1886 | 2005-07-10 Andreas Tobler <a.tobler@schweiz.ch> |
1887 | ||
1888 | * testsuite/libffi.call/cls_5_1_byte.c: New test file. | |
1889 | * testsuite/libffi.call/cls_6_1_byte.c: Likewise. | |
1890 | * testsuite/libffi.call/cls_7_1_byte.c: Likewise. | |
1891 | ||
b65da304 RC |
1892 | 2005-07-05 Randolph Chung <tausq@debian.org> |
1893 | ||
1894 | * src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1 | |
1895 | as FFI_TYPE_SMALL_STRUCT3. Break out handling for 5-7 byte | |
1896 | structures. Kill compilation warnings. | |
1897 | (ffi_closure_inner_LINUX): Print return values as hex in debug | |
1898 | message. Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3. | |
1899 | Properly handle 5-7 byte structure returns. | |
1900 | * src/pa/ffitarget.h (FFI_TYPE_SMALL_STRUCT1) | |
1901 | (FFI_TYPE_SMALL_STRUCT2): Remove. | |
1902 | (FFI_TYPE_SMALL_STRUCT3, FFI_TYPE_SMALL_STRUCT5) | |
1903 | (FFI_TYPE_SMALL_STRUCT6, FFI_TYPE_SMALL_STRUCT7): Define. | |
1904 | * src/pa/linux.S: Mark source file as using PA1.1 assembly. | |
1905 | (checksmst1, checksmst2): Remove. | |
1906 | (checksmst3): Optimize handling of 3-byte struct returns. | |
1907 | (checksmst567): Properly handle 5-7 byte struct returns. | |
1908 | ||
2572f1c6 RO |
1909 | 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1910 | ||
1911 | PR libgcj/21943 | |
1912 | * src/mips/n32.S: Enforce PIC code. | |
1913 | * src/mips/o32.S: Likewise. | |
1914 | ||
cc786582 RO |
1915 | 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1916 | ||
1917 | * configure.ac: Treat i*86-*-solaris2.10 and up as X86_64. | |
1918 | * configure: Regenerate. | |
1919 | ||
6d0d376c AM |
1920 | 2005-06-01 Alan Modra <amodra@bigpond.net.au> |
1921 | ||
1922 | * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET | |
1923 | to call ffi_closure_helper_SYSV. Append @local instead. | |
1924 | * src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV. | |
1925 | ||
a21946f5 | 1926 | 2005-05-17 Kelley Cook <kcook@gcc.gnu.org> |
a097ef55 KC |
1927 | |
1928 | * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. | |
1929 | Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. | |
1930 | * Makefile.am (ACLOCAL_AMFLAGS): Remove -I ../config. | |
1931 | * aclocal.m4, configure, fficonfig.h.in, Makefile.in, | |
1932 | include/Makefile.in, testsuite/Makefile.in: Regenerate. | |
1933 | ||
f4c767fd MS |
1934 | 2005-05-09 Mike Stump <mrs@apple.com> |
1935 | ||
1936 | * configure: Regenerate. | |
1937 | ||
7e15b5fe RH |
1938 | 2005-05-08 Richard Henderson <rth@redhat.com> |
1939 | ||
1940 | PR libffi/21285 | |
1941 | * src/alpha/osf.S: Update unwind into to match code. | |
1942 | ||
d56ea8d9 RH |
1943 | 2005-05-04 Andreas Degert <ad@papyrus-gmbh.de> |
1944 | Richard Henderson <rth@redhat.com> | |
1945 | ||
1946 | * src/x86/ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in | |
1947 | bit 11 of flags. | |
1948 | (ffi_call): Mask return type field. Pass ssecount to ffi_call_unix64. | |
1949 | (ffi_prep_closure): Set carry bit if sse-used flag set. | |
1950 | * src/x86/unix64.S (ffi_call_unix64): Add ssecount argument. | |
1951 | Only load sse registers if ssecount non-zero. | |
1952 | (ffi_closure_unix64): Only save sse registers if carry set on entry. | |
1953 | ||
1954 | 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> | |
d948c201 RC |
1955 | |
1956 | * configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, | |
1957 | powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*. | |
1958 | * configure: Regenerate. | |
1959 | ||
fc0ad8d9 HPN |
1960 | 2005-04-20 Hans-Peter Nilsson <hp@axis.com> |
1961 | ||
1962 | * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use, | |
1963 | have Tcl8.3-compatible intermediate variable. | |
1964 | ||
614348bb SP |
1965 | 2005-04-18 Simon Posnjak <simon.posnjak@siol.net> |
1966 | Hans-Peter Nilsson <hp@axis.com> | |
1967 | ||
1968 | * Makefile.am: Add CRIS support. | |
1969 | * configure.ac: Likewise. | |
29ede6db HPN |
1970 | * Makefile.in, configure, testsuite/Makefile.in, |
1971 | include/Makefile.in: Regenerate. | |
614348bb SP |
1972 | * src/cris: New directory. |
1973 | * src/cris/ffi.c, src/cris/sysv.S, src/cris/ffitarget.h: New files. | |
1974 | * src/prep_cif.c (ffi_prep_cif): Wrap in #ifndef __CRIS__. | |
727e729b HPN |
1975 | |
1976 | * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): Replace \n with | |
1977 | \r?\n in output tests. | |
1978 | ||
6dab073b MS |
1979 | 2005-04-12 Mike Stump <mrs@apple.com> |
1980 | ||
1981 | * configure: Regenerate. | |
1982 | ||
51f55d7c HB |
1983 | 2005-03-30 Hans Boehm <Hans.Boehm@hp.com> |
1984 | ||
1985 | * src/ia64/ffitarget.h (ffi_arg): Use long long instead of DI. | |
1986 | ||
7efa52a3 SE |
1987 | 2005-03-30 Steve Ellcey <sje@cup.hp.com> |
1988 | ||
1989 | * src/ia64/ffitarget.h (ffi_arg) ADD DI attribute. | |
1990 | (ffi_sarg) Ditto. | |
1991 | * src/ia64/unix.S (ffi_closure_unix): Extend gp | |
1992 | to 64 bits in ILP32 mode. | |
1993 | Load 64 bits even for short data. | |
1994 | ||
1488177a MS |
1995 | 2005-03-23 Mike Stump <mrs@apple.com> |
1996 | ||
1997 | * src/powerpc/darwin.S: Update for -m64 multilib. | |
1998 | * src/powerpc/darwin_closure.S: Likewise. | |
1999 | ||
c6900272 ZW |
2000 | 2005-03-21 Zack Weinberg <zack@codesourcery.com> |
2001 | ||
2002 | * configure.ac: Do not invoke TL_AC_GCC_VERSION. | |
2003 | Do not set tool_include_dir. | |
2004 | * aclocal.m4, configure, Makefile.in, testsuite/Makefile.in: | |
2005 | Regenerate. | |
2006 | * include/Makefile.am: Set gcc_version and toollibffidir. | |
2007 | * include/Makefile.in: Regenerate. | |
2008 | ||
962eea0a AH |
2009 | 2005-02-22 Andrew Haley <aph@redhat.com> |
2010 | ||
2011 | * src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to | |
2012 | odd-numbered register pairs for 64-bit integer types. | |
2013 | ||
1b05e8bf AT |
2014 | 2005-02-23 Andreas Tobler <a.tobler@schweiz.ch> |
2015 | ||
2016 | PR libffi/20104 | |
2017 | * testsuite/libffi.call/return_ll1.c: New test case. | |
2018 | ||
6027770b JJ |
2019 | 2005-02-11 Janis Johnson <janis187@us.ibm.com> |
2020 | ||
2021 | * testsuite/libffi.call/cls_align_longdouble.c: Remove dg-options. | |
2022 | * testsuite/libffi.call/float.c: Ditto. | |
2023 | * testsuite/libffi.call/float2.c: Ditto. | |
2024 | * testsuite/libffi.call/float3.c: Ditto. | |
2025 | ||
ee31ea68 AT |
2026 | 2005-02-08 Andreas Tobler <a.tobler@schweiz.ch> |
2027 | ||
2028 | * src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv. | |
2029 | ||
c16be7d5 EB |
2030 | 2005-01-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
2031 | ||
2032 | * testsuite/libffi.special/special.exp (cxx_options): Add | |
2033 | -shared-libgcc. | |
2034 | ||
5df07255 RH |
2035 | 2004-12-31 Richard Henderson <rth@redhat.com> |
2036 | ||
2037 | * src/types.c (FFI_AGGREGATE_TYPEDEF): Remove. | |
2038 | (FFI_TYPEDEF): Rename from FFI_INTEGRAL_TYPEDEF. Replace size and | |
2039 | offset parameters with a type parameter; deduce size and structure | |
2040 | alignment. Update all users. | |
2041 | ||
81a69b13 RH |
2042 | 2004-12-31 Richard Henderson <rth@redhat.com> |
2043 | ||
2044 | * src/types.c (FFI_TYPE_POINTER): Define with sizeof. | |
2045 | (FFI_TYPE_LONGDOUBLE): Fix for ia64. | |
c6900272 | 2046 | * src/ia64/ffitarget.h (struct ffi_ia64_trampoline_struct): Move |
81a69b13 RH |
2047 | into ffi_prep_closure. |
2048 | * src/ia64/ia64_flags.h, src/ia64/ffi.c, src/ia64/unix.S: Rewrite | |
2049 | from scratch. | |
2050 | ||
d833cfb0 RH |
2051 | 2004-12-27 Richard Henderson <rth@redhat.com> |
2052 | ||
2053 | * src/x86/unix64.S: Fix typo in unwind info. | |
2054 | ||
1a0f488c RH |
2055 | 2004-12-25 Richard Henderson <rth@redhat.com> |
2056 | ||
2057 | * src/x86/ffi64.c (struct register_args): Rename from stackLayout. | |
2058 | (enum x86_64_reg_class): Add X86_64_COMPLEX_X87_CLASS. | |
2059 | (merge_classes): Check for it. | |
2060 | (SSE_CLASS_P): New. | |
2061 | (classify_argument): Pass byte_offset by value; perform all updates | |
2062 | inside struct case. | |
2063 | (examine_argument): Add classes argument; handle | |
2064 | X86_64_COMPLEX_X87_CLASS. | |
2065 | (ffi_prep_args): Merge into ... | |
2066 | (ffi_call): ... here. Share stack frame with ffi_call_unix64. | |
2067 | (ffi_prep_cif_machdep): Setup cif->flags for proper structure return. | |
2068 | (ffi_fill_return_value): Remove. | |
2069 | (ffi_prep_closure): Remove dead assert. | |
2070 | (ffi_closure_unix64_inner): Rename from ffi_closure_UNIX64_inner. | |
2071 | Rewrite to use struct register_args instead of va_list. Create | |
2072 | flags for handling structure returns. | |
2073 | * src/x86/unix64.S: Remove dead strings. | |
2074 | (ffi_call_unix64): Rename from ffi_call_UNIX64. Rewrite to share | |
2075 | stack frame with ffi_call. Handle structure returns properly. | |
2076 | (float2sse, floatfloat2sse, double2sse): Remove. | |
2077 | (sse2float, sse2double, sse2floatfloat): Remove. | |
2078 | (ffi_closure_unix64): Rename from ffi_closure_UNIX64. Rewrite | |
2079 | to handle structure returns properly. | |
2080 | ||
7994d50c DE |
2081 | 2004-12-08 David Edelsohn <edelsohn@gnu.org> |
2082 | ||
2083 | * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and | |
2084 | PICFLAG. | |
2085 | * Makefile.in: Regenerated. | |
2086 | ||
afabd8e6 RS |
2087 | 2004-12-02 Richard Sandiford <rsandifo@redhat.com> |
2088 | ||
2089 | * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version. | |
2090 | * configure, aclocal.m4, Makefile.in: Regenerate. | |
2091 | * include/Makefile.in, testsuite/Makefile.in: Regenerate. | |
2092 | ||
2539bffe KC |
2093 | 2004-11-29 Kelley Cook <kcook@gcc.gnu.org> |
2094 | ||
2095 | * configure: Regenerate for libtool change. | |
2096 | ||
767f726e KC |
2097 | 2004-11-25 Kelley Cook <kcook@gcc.gnu.org> |
2098 | ||
2099 | * configure: Regenerate for libtool reversion. | |
2100 | ||
2c92e90f KC |
2101 | 2004-11-24 Kelley Cook <kcook@gcc.gnu.org> |
2102 | ||
2103 | * configure: Regenerate for libtool change. | |
2104 | ||
1df8e834 JDA |
2105 | 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2106 | ||
2107 | * testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp. | |
2108 | ||
2109 | 2004-11-23 Richard Sandiford <rsandifo@redhat.com> | |
2110 | ||
2111 | * src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead | |
2112 | of jal. Use an absolute encoding for the frame information. | |
2113 | ||
2114 | 2004-11-23 Kelley Cook <kcook@gcc.gnu.org> | |
2115 | ||
2116 | * Makefile.am: Remove no-dependencies. Add ACLOCAL_AMFLAGS. | |
2117 | * acinclude.m4: Delete logic for sincludes. | |
2118 | * aclocal.m4, Makefile.in, configure: Regenerate. | |
2119 | * include/Makefile: Likewise. | |
2120 | * testsuite/Makefile: Likewise. | |
2121 | ||
bf02e7fa EB |
2122 | 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
2123 | ||
2124 | * src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integers | |
2125 | on a 8-byte boundary. | |
2126 | * src/sparc/v8.S (ffi_closure_v8): Reserve frame space for arguments. | |
2127 | ||
f20459f1 RE |
2128 | 2004-10-27 Richard Earnshaw <rearnsha@arm.com> |
2129 | ||
2130 | * src/arm/ffi.c (ffi_prep_cif_machdep): Handle functions that return | |
2131 | long long values. Round stack allocation to a multiple of 8 bytes | |
2132 | for ATPCS compatibility. | |
2133 | * src/arm/sysv.S (ffi_call_SYSV): Rework to avoid use of APCS register | |
2134 | names. Handle returning long long types. Add Thumb and interworking | |
2135 | support. Improve soft-float code. | |
2136 | ||
fdc69597 RE |
2137 | 2004-10-27 Richard Earnshaw <rearnsha@arm.com> |
2138 | ||
2139 | * testsuite/lib/libffi-db.exp (load_gcc_lib): New function. | |
2140 | (libffi_exit): New function. | |
2141 | (libffi_init): Build the testglue wrapper if needed. | |
2142 | ||
1e02510f EB |
2143 | 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
2144 | ||
2145 | PR other/18138 | |
2146 | * testsuite/lib/libffi-dg.exp: Accept more than one multilib libgcc. | |
2147 | ||
d9a193b2 KI |
2148 | 2004-10-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2149 | ||
2150 | * src/m32r/libffitarget.h (FFI_CLOSURES): Set to 0. | |
2151 | ||
1fddb058 KK |
2152 | 2004-10-20 Kaz Kojima <kkojima@gcc.gnu.org> |
2153 | ||
2154 | * src/sh/sysv.S (ffi_call_SYSV): Don't align for double data. | |
2155 | * testsuite/libffi.call/float3.c: New test case. | |
2156 | ||
e0d3b452 KK |
2157 | 2004-10-18 Kaz Kojima <kkojima@gcc.gnu.org> |
2158 | ||
2159 | * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for | |
2160 | the function returning a structure pointed with R2. | |
2161 | * src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to | |
2162 | the structure return value if T bit set. Emit position | |
2163 | independent code and EH data if PIC. | |
2164 | ||
a472e9d4 KI |
2165 | 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2166 | ||
2167 | * Makefile.am: Add m32r support. | |
2168 | * configure.ac: Likewise. | |
2169 | * Makefile.in: Regenerate. | |
2170 | * confiugre: Regenerate. | |
2171 | * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF | |
2172 | (uint64, sint64, double, longdouble) | |
2173 | * src/m32r: New directory. | |
2174 | * src/m32r/ffi.c: New file. | |
2175 | * src/m32r/sysv.S: Likewise. | |
2176 | * src/m32r/ffitarget.h: Likewise. | |
2177 | ||
3d47e9ca KK |
2178 | 2004-10-02 Kaz Kojima <kkojima@gcc.gnu.org> |
2179 | ||
2180 | * testsuite/libffi.call/negint.c: New test case. | |
2181 | ||
fc9051dd L |
2182 | 2004-09-14 H.J. Lu <hongjiu.lu@intel.com> |
2183 | ||
2184 | PR libgcj/17465 | |
2185 | * testsuite/lib/libffi-dg.exp: Don't use global ld_library_path. | |
2186 | Set up LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, | |
2187 | LD_LIBRARY64_PATH, LD_LIBRARY_PATH_32, LD_LIBRARY_PATH_64 and | |
2188 | DYLD_LIBRARY_PATH. | |
2189 | ||
2010caea AT |
2190 | 2004-09-05 Andreas Tobler <a.tobler@schweiz.ch> |
2191 | ||
2192 | * testsuite/libffi.call/many_win32.c: Remove whitespaces. | |
2193 | * testsuite/libffi.call/promotion.c: Likewise. | |
2194 | * testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup | |
2195 | whitespaces. | |
2196 | * testsuite/libffi.call/return_sc.c: Likewise. | |
2197 | * testsuite/libffi.call/return_uc.c: Likewise. | |
2198 | ||
894be816 AT |
2199 | 2004-09-05 Andreas Tobler <a.tobler@schweiz.ch> |
2200 | ||
2201 | * src/powerpc/darwin.S: Fix comments and identation. | |
2202 | * src/powerpc/darwin_closure.S: Likewise. | |
2203 | ||
2fe7404a AT |
2204 | 2004-09-02 Andreas Tobler <a.tobler@schweiz.ch> |
2205 | ||
2206 | * src/powerpc/ffi_darwin.c: Add flag for longdouble return values. | |
2207 | (ffi_prep_args): Handle longdouble arguments. | |
2208 | (ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for | |
2209 | longdouble. | |
2210 | (ffi_closure_helper_DARWIN): Add closure handling for longdouble. | |
2211 | * src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble | |
2212 | values. | |
2213 | * src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise. | |
2214 | * src/types.c: Defined longdouble size and alignment for darwin. | |
2215 | ||
16070e45 AT |
2216 | 2004-09-02 Andreas Tobler <a.tobler@schweiz.ch> |
2217 | ||
2218 | * src/powerpc/aix.S: Remove whitespaces. | |
2219 | * src/powerpc/aix_closure.S: Likewise. | |
2220 | * src/powerpc/asm.h: Likewise. | |
2221 | * src/powerpc/ffi.c: Likewise. | |
2222 | * src/powerpc/ffitarget.h: Likewise. | |
2223 | * src/powerpc/linux64.S: Likewise. | |
2224 | * src/powerpc/linux64_closure.S: Likewise. | |
2225 | * src/powerpc/ppc_closure.S: Likewise. | |
2226 | * src/powerpc/sysv.S: Likewise. | |
2227 | ||
88d8c771 AG |
2228 | 2004-08-30 Anthony Green <green@redhat.com> |
2229 | ||
2230 | * Makefile.am: Add frv support. | |
2231 | * Makefile.in, testsuite/Makefile.in: Rebuilt. | |
2232 | * configure.ac: Read configure.host. | |
2233 | * configure.in: Read configure.host. | |
2234 | * configure.host: New file. frv-elf needs libgloss. | |
2235 | * include/ffi.h.in: Force ffi_closure to have a nice big (8) | |
a23adb4d | 2236 | alignment. This is needed to frv and shouldn't harm the others. |
88d8c771 AG |
2237 | * include/ffi_common.h (ALIGN_DOWN): New macro. |
2238 | * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files. | |
2239 | ||
4c5f37d5 DD |
2240 | 2004-08-24 David Daney <daney@avtrex.com> |
2241 | ||
2242 | * testsuite/libffi.call/closure_fn0.c: Xfail mips64* instead of mips*. | |
2243 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
2244 | * testsuite/libffi.call/closure_fn2.c Likewise. | |
2245 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
2246 | * testsuite/libffi.call/closure_fn4.c: Likewise. | |
2247 | * testsuite/libffi.call/closure_fn5.c: Likewise. | |
2248 | * testsuite/libffi.call/cls_18byte.c: Likewise. | |
2249 | * testsuite/libffi.call/cls_19byte.c: Likewise. | |
2250 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
2251 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
2252 | * testsuite/libffi.call/cls_20byte1.c: Likewise. | |
2253 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
2254 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
2255 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
2256 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
2257 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
2258 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
2259 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
2260 | * testsuite/libffi.call/cls_64byte.c: Likewise. | |
2261 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
2262 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
2263 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
2264 | * testsuite/libffi.call/cls_9byte1.c: Likewise. | |
2265 | * testsuite/libffi.call/cls_9byte2.c: Likewise. | |
2266 | * testsuite/libffi.call/cls_align_double.c: Likewise. | |
2267 | * testsuite/libffi.call/cls_align_float.c: Likewise. | |
2268 | * testsuite/libffi.call/cls_align_longdouble.c: Likewise. | |
2269 | * testsuite/libffi.call/cls_align_pointer.c: Likewise. | |
2270 | * testsuite/libffi.call/cls_align_sint16.c: Likewise. | |
2271 | * testsuite/libffi.call/cls_align_sint32.c: Likewise. | |
2272 | * testsuite/libffi.call/cls_align_sint64.c: Likewise. | |
2273 | * testsuite/libffi.call/cls_align_uint16.c: Likewise. | |
2274 | * testsuite/libffi.call/cls_align_uint32.c: Likewise. | |
2275 | * testsuite/libffi.call/cls_align_uint64.c: Likewise. | |
2276 | * testsuite/libffi.call/cls_double.c: Likewise. | |
2277 | * testsuite/libffi.call/cls_float.c: Likewise. | |
2278 | * testsuite/libffi.call/cls_multi_schar.c: Likewise. | |
2279 | * testsuite/libffi.call/cls_multi_sshort.c: Likewise. | |
2280 | * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise. | |
2281 | * testsuite/libffi.call/cls_multi_uchar.c: Likewise. | |
2282 | * testsuite/libffi.call/cls_multi_ushort.c: Likewise. | |
2283 | * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise. | |
2284 | * testsuite/libffi.call/cls_schar.c: Likewise. | |
2285 | * testsuite/libffi.call/cls_sint.c: Likewise. | |
2286 | * testsuite/libffi.call/cls_sshort.c: Likewise. | |
2287 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
2288 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
2289 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
2290 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
2291 | * testsuite/libffi.call/nested_struct.c: Likewise. | |
2292 | * testsuite/libffi.call/nested_struct1.c: Likewise. | |
2293 | * testsuite/libffi.call/nested_struct2.c: Likewise. | |
2294 | * testsuite/libffi.call/nested_struct3.c: Likewise. | |
2295 | * testsuite/libffi.call/problem1.c: Likewise. | |
2296 | * testsuite/libffi.special/unwindtest.cc: Likewise. | |
2297 | * testsuite/libffi.call/cls_12byte.c: Likewise and set return value | |
2298 | to zero. | |
2299 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
2300 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
2301 | ||
39dca114 DD |
2302 | 2004-08-23 David Daney <daney@avtrex.com> |
2303 | ||
2304 | PR libgcj/13141 | |
2305 | * src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI. | |
2306 | * src/mips/ffi.c (ffi_prep_args): Fix alignment calculation. | |
2307 | (ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point | |
2308 | parameters and return types. | |
2309 | (ffi_call): Handle FFI_O32_SOFT_FLOAT ABI. | |
2310 | (ffi_prep_closure): Ditto. | |
2311 | (ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix | |
2312 | alignment calculations. | |
2313 | * src/mips/o32.S (ffi_closure_O32): Don't use floating point | |
2314 | instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant. | |
2315 | ||
b790003a CM |
2316 | 2004-08-14 Casey Marshall <csm@gnu.org> |
2317 | ||
2318 | * src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to | |
2319 | contain `FFI_TYPE_UINT64' as return type for any 64-bit | |
2320 | integer (O32 ABI only). | |
2321 | (ffi_prep_closure): new function. | |
2322 | (ffi_closure_mips_inner_O32): new function. | |
c6900272 | 2323 | * src/mips/ffitarget.h: Define `FFI_CLOSURES' and |
b790003a CM |
2324 | `FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32. |
2325 | * src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return | |
2326 | 64 bit integers correctly. | |
2327 | (ffi_closure_O32): new function. | |
2328 | Added DWARF-2 unwind info for both functions. | |
2329 | ||
547d71a1 AH |
2330 | 2004-08-10 Andrew Haley <aph@redhat.com> |
2331 | ||
2332 | * src/x86/ffi64.c (ffi_prep_args ): 8-align all stack arguments. | |
2333 | ||
98a5bb3b RM |
2334 | 2004-08-01 Robert Millan <robertmh@gnu.org> |
2335 | ||
2336 | * configure.ac: Detect knetbsd-gnu and kfreebsd-gnu. | |
2337 | * configure: Regenerate. | |
2338 | ||
4d447364 MR |
2339 | 2004-07-30 Maciej W. Rozycki <macro@linux-mips.org> |
2340 | ||
2341 | * acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> | |
2342 | and mmap() explicitly instead of relying on preset autoconf cache | |
2343 | variables. | |
2344 | * aclocal.m4: Regenerate. | |
2345 | * configure: Regenerate. | |
2346 | ||
e5dce82f UW |
2347 | 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
2348 | ||
2349 | * src/s390/ffi.c (ffi_prep_args): Fix C aliasing violation. | |
2350 | (ffi_check_float_struct): Remove unused prototype. | |
2351 | ||
e6a0022b GK |
2352 | 2004-06-30 Geoffrey Keating <geoffk@apple.com> |
2353 | ||
2354 | * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment | |
2355 | character on Darwin, use '\n\t' instead. | |
2356 | ||
5a2d52ca MK |
2357 | 2004-06-26 Matthias Klose <doko@debian.org> |
2358 | ||
2359 | * libtool-version: Fix typo in revision/age. | |
2360 | ||
401844ef MK |
2361 | 2004-06-17 Matthias Klose <doko@debian.org> |
2362 | ||
2363 | * libtool-version: New. | |
2364 | * Makefile.am (libffi_la_LDFLAGS): Use -version-info for soname. | |
2365 | * Makefile.in: Regenerate. | |
2366 | ||
94632047 | 2367 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
076e5443 PB |
2368 | |
2369 | * Makefile.am: Remove useless multilib rules. | |
2370 | * Makefile.in: Regenerate. | |
2371 | * aclocal.m4: Regenerate with automake 1.8.5. | |
2372 | * configure.ac: Remove useless multilib configury. | |
2373 | * configure: Regenerate. | |
2374 | ||
94632047 | 2375 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
9ac926b1 PB |
2376 | |
2377 | * .cvsignore: New file. | |
2378 | ||
37c849e4 JJ |
2379 | 2004-06-10 Jakub Jelinek <jakub@redhat.com> |
2380 | ||
2381 | * src/ia64/unix.S (ffi_call_unix): Insert group barrier break | |
2382 | fp_done. | |
2383 | (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever | |
2384 | changed from 8. | |
2385 | ||
cb623172 SM |
2386 | 2004-06-06 Sean McNeil <sean@mcneil.com> |
2387 | ||
2388 | * configure.ac: Add x86_64-*-freebsd* support. | |
2389 | * configure: Regenerate. | |
2390 | ||
c9b93377 JB |
2391 | 2004-04-26 Joe Buck <jbuck@welsh-buck.org> |
2392 | ||
2393 | Bug 15093 | |
2394 | * configure.ac: Test for existence of mmap and sys/mman.h before | |
2395 | checking blacklist. Fix suggested by Jim Wilson. | |
2396 | * configure: Regenerate. | |
2397 | ||
cf90fd1b MA |
2398 | 2004-04-26 Matt Austern <austern@apple.com> |
2399 | ||
2400 | * src/powerpc/darwin.S: Go through a non-lazy pointer for initial | |
2401 | FDE location. | |
2402 | * src/powerpc/darwin_closure.S: Likewise. | |
c6900272 | 2403 | |
67781b44 AT |
2404 | 2004-04-24 Andreas Tobler <a.tobler@schweiz.ch> |
2405 | ||
2406 | * testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization | |
2407 | error. Reported by Thomas Heller <theller@python.net>. | |
2408 | * testsuite/libffi.call/cls_multi_sshort.c (main): Likewise. | |
2409 | * testsuite/libffi.call/cls_multi_ushort.c (main): Likewise. | |
2410 | ||
14b078a8 MK |
2411 | 2004-03-20 Matthias Klose <doko@debian.org> |
2412 | ||
2413 | * src/pa/linux.S: Fix typo. | |
2414 | ||
d65a810f MK |
2415 | 2004-03-19 Matthias Klose <doko@debian.org> |
2416 | ||
67781b44 | 2417 | * Makefile.am: Update. |
d65a810f MK |
2418 | * Makefile.in: Regenerate. |
2419 | * src/pa/ffi.h.in: Remove. | |
2420 | * src/pa/ffitarget.h: New file. | |
2421 | ||
2422 | 2004-02-10 Randolph Chung <tausq@debian.org> | |
2423 | ||
2424 | * Makefile.am: Add PA support. | |
2425 | * Makefile.in: Regenerate. | |
2426 | * include/Makefile.in: Regenerate. | |
2427 | * configure.ac: Add PA target. | |
2428 | * configure: Regenerate. | |
2429 | * src/pa/ffi.c: New file. | |
2430 | * src/pa/ffi.h.in: Add PA support. | |
2431 | * src/pa/linux.S: New file. | |
2432 | * prep_cif.c: Add PA support. | |
2433 | ||
09cababc HY |
2434 | 2004-03-16 Hosaka Yuji <hos@tamanegi.org> |
2435 | ||
2436 | * src/types.c: Fix alignment size of X86_WIN32 case int64 and | |
2437 | double. | |
2438 | * src/x86/ffi.c (ffi_prep_args): Replace ecif->cif->rtype->type | |
2439 | with ecif->cif->flags. | |
2440 | (ffi_call, ffi_prep_incoming_args_SYSV): Replace cif->rtype->type | |
2441 | with cif->flags. | |
2442 | (ffi_prep_cif_machdep): Add X86_WIN32 struct case. | |
2443 | (ffi_closure_SYSV): Add 1 or 2-bytes struct case for X86_WIN32. | |
2444 | * src/x86/win32.S (retstruct1b, retstruct2b, sc_retstruct1b, | |
2445 | sc_retstruct2b): Add for 1 or 2-bytes struct case. | |
2446 | ||
0e8d0c5f KC |
2447 | 2004-03-15 Kelley Cook <kcook@gcc.gnu.org> |
2448 | ||
2449 | * configure.in: Rename file to ... | |
2450 | * configure.ac: ... this. | |
2451 | * fficonfig.h.in: Regenerate. | |
2452 | * Makefile.in: Regenerate. | |
2453 | * include/Makefile.in: Regenerate. | |
2454 | * testsuite/Makefile.in: Regenerate. | |
2455 | ||
b8d50739 MA |
2456 | 2004-03-12 Matt Austern <austern@apple.com> |
2457 | ||
2458 | * src/powerpc/darwin.S: Fix EH information so it corresponds to | |
2459 | changes in EH format resulting from addition of linkonce support. | |
2460 | * src/powerpc/darwin_closure.S: Likewise. | |
09cababc | 2461 | |
3ed8e5b6 AT |
2462 | 2004-03-11 Andreas Tobler <a.tobler@schweiz.ch> |
2463 | Paolo Bonzini <bonzini@gnu.org> | |
2464 | ||
2465 | * Makefile.am (AUTOMAKE_OPTIONS): Set them. | |
2466 | Remove VPATH. Remove rules for object files. Remove multilib support. | |
2467 | (AM_CCASFLAGS): Add. | |
2468 | * configure.in (AC_CONFIG_HEADERS): Relace AM_CONFIG_HEADER. | |
2469 | (AC_PREREQ): Bump version to 2.59. | |
2470 | (AC_INIT): Fill with version info and bug address. | |
2471 | (ORIGINAL_LD_FOR_MULTILIBS): Remove. | |
2472 | (AM_ENABLE_MULTILIB): Use this instead of AC_ARG_ENABLE. | |
2473 | De-precious CC so that the right flags are passed down to multilibs. | |
2474 | (AC_MSG_ERROR): Replace obsolete macro AC_ERROR. | |
2475 | (AC_CONFIG_FILES): Replace obsolete macro AC_LINK_FILES. | |
2476 | (AC_OUTPUT): Reorganize the output with AC_CONFIG_COMMANDS. | |
2477 | * configure: Rebuilt. | |
2478 | * aclocal.m4: Likewise. | |
2479 | * Makefile.in, include/Makefile.in, testsuite/Makefile.in: Likewise. | |
2480 | * fficonfig.h.in: Likewise. | |
2481 | ||
254ea477 AS |
2482 | 2004-03-11 Andreas Schwab <schwab@suse.de> |
2483 | ||
2484 | * src/ia64/ffi.c (ffi_prep_incoming_args_UNIX): Get floating point | |
2485 | arguments from fp registers only for the first 8 parameter slots. | |
2486 | Don't convert a float parameter when passed in memory. | |
2487 | ||
3beb1315 HPN |
2488 | 2004-03-09 Hans-Peter Nilsson <hp@axis.com> |
2489 | ||
2490 | * configure: Regenerate for config/accross.m4 correction. | |
2491 | ||
fecf735c MK |
2492 | 2004-02-25 Matt Kraai <kraai@alumni.cmu.edu> |
2493 | ||
2494 | * src/powerpc/ffi.c (ffi_prep_args_SYSV): Change | |
2495 | ecif->cif->bytes to bytes. | |
2496 | (ffi_prep_cif_machdep): Add braces around nested if statement. | |
2497 | ||
4243752c AM |
2498 | 2004-02-09 Alan Modra <amodra@bigpond.net.au> |
2499 | ||
12001e0f AM |
2500 | * src/types.c (pointer): POWERPC64 has 8 byte pointers. |
2501 | ||
4243752c AM |
2502 | * src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling. |
2503 | (ffi_closure_helper_LINUX64): Fix typo. | |
2504 | * testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128 | |
2505 | for powerpc64-*-*. | |
2506 | * testsuite/libffi.call/float.c: Likewise. | |
2507 | * testsuite/libffi.call/float2.c: Likewise. | |
2508 | ||
bf310028 AM |
2509 | 2004-02-08 Alan Modra <amodra@bigpond.net.au> |
2510 | ||
2511 | * src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct | |
2512 | long double function return and long double arg handling. | |
2513 | (ffi_closure_helper_LINUX64): Formatting. Delete unused "ng" var. | |
2514 | Use "end_pfr" instead of "nf". Correct long double handling. | |
2515 | Localise "temp". | |
2516 | * src/powerpc/linux64.S (ffi_call_LINUX64): Save f2 long double | |
2517 | return value. | |
2518 | * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Allocate | |
2519 | space for long double return value. Adjust stack frame and offsets. | |
2520 | Load f2 long double return. | |
2521 | ||
dd5f9ea2 AM |
2522 | 2004-02-07 Alan Modra <amodra@bigpond.net.au> |
2523 | ||
2524 | * src/types.c: Use 16 byte long double for POWERPC64. | |
2525 | ||
0ce78f01 EB |
2526 | 2004-01-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
2527 | ||
2528 | * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array | |
2529 | when the structure return address is passed in %o0. | |
2530 | (ffi_V9_return_struct): Rename into ffi_v9_layout_struct. | |
2531 | (ffi_v9_layout_struct): Align the field following a nested structure | |
2532 | on a word boundary. Use memmove instead of memcpy. | |
2533 | (ffi_call): Update call to ffi_V9_return_struct. | |
2534 | (ffi_prep_closure): Define 'ctx' only for V8. | |
2535 | (ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8 | |
2536 | and ffi_closure_sparc_inner_v9. | |
2537 | (ffi_closure_sparc_inner_v8): Return long doubles by reference. | |
2538 | Always skip the structure return address. For structures and long | |
2539 | doubles, copy the argument directly. | |
2540 | (ffi_closure_sparc_inner_v9): Skip the structure return address only | |
2541 | if required. Shift the maximum floating-point slot accordingly. For | |
2542 | big structures, copy the argument directly; otherwise, left-justify the | |
2543 | argument and call ffi_v9_layout_struct to lay out the structure on | |
2544 | the stack. | |
2545 | * src/sparc/v8.S: Undef STACKFRAME before defining it. | |
2546 | (ffi_closure_v8): Pass the structure return address. Update call to | |
2547 | ffi_closure_sparc_inner_v8. Short-circuit FFI_TYPE_INT handling. | |
2548 | Skip the 'unimp' insn when returning long doubles and structures. | |
2549 | * src/sparc/v9.S: Undef STACKFRAME before defining it. | |
2550 | (ffi_closure_v9): Increase the frame size by 2 words. Short-circuit | |
2551 | FFI_TYPE_INT handling. Load structures both in integers and | |
2552 | floating-point registers on return. | |
2553 | * README: Update status of the SPARC port. | |
2554 | ||
7fcc1d9b AT |
2555 | 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> |
2556 | ||
2557 | * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value | |
2558 | as of type ffi_arg. | |
2559 | * testsuite/libffi.call/struct3.c (main): Fix CHECK. | |
2560 | ||
6ed0ecaf UW |
2561 | 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
2562 | ||
2563 | * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result | |
2564 | value as of type ffi_arg, not unsigned int. | |
2565 | ||
c930d8a5 MR |
2566 | 2004-01-21 Michael Ritzert <ritzert@t-online.de> |
2567 | ||
2568 | * ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead | |
2569 | of the LHS. | |
2570 | ||
7b2e3e60 AT |
2571 | 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> |
2572 | ||
2573 | * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for | |
2574 | Solaris. | |
2575 | ||
2e89756b RO |
2576 | 2004-01-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2577 | ||
2578 | * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED | |
2579 | to void *. | |
2580 | ||
628b26f8 RH |
2581 | 2003-12-10 Richard Henderson <rth@redhat.com> |
2582 | ||
2583 | * testsuite/libffi.call/cls_align_pointer.c: Cast pointers to | |
2584 | size_t instead of int. | |
2585 | ||
0ee646d6 HY |
2586 | 2003-12-04 Hosaka Yuji <hos@tamanegi.org> |
2587 | ||
2588 | * testsuite/libffi.call/many_win32.c: Include <float.h>. | |
2589 | * testsuite/libffi.call/many_win32.c (main): Replace variable | |
2590 | int i with unsigned long ul. | |
2591 | ||
2592 | * testsuite/libffi.call/cls_align_uint64.c: New test case. | |
2593 | * testsuite/libffi.call/cls_align_sint64.c: Likewise. | |
2594 | * testsuite/libffi.call/cls_align_uint32.c: Likewise. | |
2595 | * testsuite/libffi.call/cls_align_sint32.c: Likewise. | |
2596 | * testsuite/libffi.call/cls_align_uint16.c: Likewise. | |
2597 | * testsuite/libffi.call/cls_align_sint16.c: Likewise. | |
2598 | * testsuite/libffi.call/cls_align_float.c: Likewise. | |
2599 | * testsuite/libffi.call/cls_align_double.c: Likewise. | |
2600 | * testsuite/libffi.call/cls_align_longdouble.c: Likewise. | |
2601 | * testsuite/libffi.call/cls_align_pointer.c: Likewise. | |
2602 | ||
2c4ed456 HY |
2603 | 2003-12-02 Hosaka Yuji <hos@tamanegi.org> |
2604 | ||
2605 | PR other/13221 | |
2606 | * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV): | |
2607 | Align arguments to 32 bits. | |
2608 | ||
d18c3386 AT |
2609 | 2003-12-01 Andreas Tobler <a.tobler@schweiz.ch> |
2610 | ||
2611 | PR other/13221 | |
2612 | * testsuite/libffi.call/cls_multi_sshort.c: New test case. | |
2613 | * testsuite/libffi.call/cls_multi_sshortchar.c: Likewise. | |
2614 | * testsuite/libffi.call/cls_multi_uchar.c: Likewise. | |
2615 | * testsuite/libffi.call/cls_multi_schar.c: Likewise. | |
2616 | * testsuite/libffi.call/cls_multi_ushortchar.c: Likewise. | |
2617 | * testsuite/libffi.call/cls_multi_ushort.c: Likewise. | |
2618 | ||
2619 | * testsuite/libffi.special/unwindtest.cc: Cosmetics. | |
2620 | ||
88096b2a KG |
2621 | 2003-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2622 | ||
2623 | * testsuite/libffi.call/ffitest.h: Include <fcntl.h>. | |
2624 | * testsuite/libffi.special/ffitestcxx.h: Likewise. | |
2625 | ||
3eee102e AT |
2626 | 2003-11-22 Andreas Tobler <a.tobler@schweiz.ch> |
2627 | ||
2628 | * Makefile.in: Rebuilt. | |
2629 | * configure: Likewise. | |
2630 | * testsuite/libffi.special/unwindtest.cc: Convert the mmap to | |
2631 | the right type. | |
2632 | ||
5196736e AJ |
2633 | 2003-11-21 Andreas Jaeger <aj@suse.de> |
2634 | Andreas Tobler <a.tobler@schweiz.ch> | |
2635 | ||
2636 | * acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST. | |
2637 | * configure.in: Call AC_FUNC_MMAP_BLACKLIST. | |
2638 | * Makefile.in: Rebuilt. | |
2639 | * aclocal.m4: Likewise. | |
2640 | * configure: Likewise. | |
2641 | * fficonfig.h.in: Likewise. | |
2642 | * testsuite/lib/libffi-dg.exp: Add include dir. | |
2643 | * testsuite/libffi.call/ffitest.h: Add MMAP definitions. | |
2644 | * testsuite/libffi.special/ffitestcxx.h: Likewise. | |
2645 | * testsuite/libffi.call/closure_fn0.c: Use MMAP functionality | |
2646 | for ffi_closure if available. | |
2647 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
2648 | * testsuite/libffi.call/closure_fn2.c: Likewise. | |
2649 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
2650 | * testsuite/libffi.call/closure_fn4.c: Likewise. | |
2651 | * testsuite/libffi.call/closure_fn5.c: Likewise. | |
2652 | * testsuite/libffi.call/cls_12byte.c: Likewise. | |
2653 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
2654 | * testsuite/libffi.call/cls_18byte.c: Likewise. | |
2655 | * testsuite/libffi.call/cls_19byte.c: Likewise. | |
2656 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
2657 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
2658 | * testsuite/libffi.call/cls_20byte1.c: Likewise. | |
2659 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
2660 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
2661 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
2662 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
2663 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
2664 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
2665 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
2666 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
2667 | * testsuite/libffi.call/cls_64byte.c: Likewise. | |
2668 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
2669 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
2670 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
2671 | * testsuite/libffi.call/cls_9byte1.c: Likewise. | |
2672 | * testsuite/libffi.call/cls_9byte2.c: Likewise. | |
2673 | * testsuite/libffi.call/cls_double.c: Likewise. | |
2674 | * testsuite/libffi.call/cls_float.c: Likewise. | |
2675 | * testsuite/libffi.call/cls_schar.c: Likewise. | |
2676 | * testsuite/libffi.call/cls_sint.c: Likewise. | |
2677 | * testsuite/libffi.call/cls_sshort.c: Likewise. | |
2678 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
2679 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
2680 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
2681 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
2682 | * testsuite/libffi.call/nested_struct.c: Likewise. | |
2683 | * testsuite/libffi.call/nested_struct1.c: Likewise. | |
2684 | * testsuite/libffi.call/nested_struct2.c: Likewise. | |
2685 | * testsuite/libffi.call/nested_struct3.c: Likewise. | |
2686 | * testsuite/libffi.call/problem1.c: Likewise. | |
2687 | * testsuite/libffi.special/unwindtest.cc: Likewise. | |
2688 | ||
9e6c3ecb AT |
2689 | 2003-11-20 Andreas Tobler <a.tobler@schweiz.ch> |
2690 | ||
2691 | * testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional. | |
2692 | ||
70d8f2a1 AT |
2693 | 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> |
2694 | ||
2695 | * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin. | |
2696 | Add -lgcc_s to additional flags. | |
2697 | ||
ea81d2a3 AT |
2698 | 2003-11-12 Andreas Tobler <a.tobler@schweiz.ch> |
2699 | ||
2700 | * configure.in, include/Makefile.am: PR libgcj/11147, install | |
2701 | the ffitarget.h header file in a gcc versioned and target | |
2702 | dependent place. | |
2703 | * configure: Regenerated. | |
2704 | * Makefile.in, include/Makefile.in: Likewise. | |
2705 | * testsuite/Makefile.in: Likewise. | |
2706 | ||
647af4a9 AT |
2707 | 2003-11-09 Andreas Tobler <a.tobler@schweiz.ch> |
2708 | ||
2709 | * testsuite/libffi.call/closure_fn0.c: Print result and check | |
2710 | with dg-output to make debugging easier. | |
2711 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
2712 | * testsuite/libffi.call/closure_fn2.c: Likewise. | |
2713 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
2714 | * testsuite/libffi.call/closure_fn4.c: Likewise. | |
2715 | * testsuite/libffi.call/closure_fn5.c: Likewise. | |
2716 | * testsuite/libffi.call/cls_12byte.c: Likewise. | |
2717 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
2718 | * testsuite/libffi.call/cls_18byte.c: Likewise. | |
2719 | * testsuite/libffi.call/cls_19byte.c: Likewise. | |
2720 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
2721 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
2722 | * testsuite/libffi.call/cls_20byte1.c: Likewise. | |
2723 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
2724 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
2725 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
2726 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
2727 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
2728 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
2729 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
2730 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
2731 | * testsuite/libffi.call/cls_64byte.c: Likewise. | |
2732 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
2733 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
2734 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
2735 | * testsuite/libffi.call/cls_9byte1.c: Likewise. | |
2736 | * testsuite/libffi.call/cls_9byte2.c: Likewise. | |
2737 | * testsuite/libffi.call/cls_double.c: Likewise. | |
2738 | * testsuite/libffi.call/cls_float.c: Likewise. | |
2739 | * testsuite/libffi.call/cls_schar.c: Likewise. | |
2740 | * testsuite/libffi.call/cls_sint.c: Likewise. | |
2741 | * testsuite/libffi.call/cls_sshort.c: Likewise. | |
2742 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
2743 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
2744 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
2745 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
2746 | * testsuite/libffi.call/problem1.c: Likewise. | |
2747 | ||
2748 | * testsuite/libffi.special/unwindtest.cc: Make ffi_closure | |
2749 | static. | |
2750 | ||
ac47cc13 AT |
2751 | 2003-11-08 Andreas Tobler <a.tobler@schweiz.ch> |
2752 | ||
2753 | * testsuite/libffi.call/cls_9byte2.c: New test case. | |
2754 | * testsuite/libffi.call/cls_9byte1.c: Likewise. | |
2755 | * testsuite/libffi.call/cls_64byte.c: Likewise. | |
2756 | * testsuite/libffi.call/cls_20byte1.c: Likewise. | |
2757 | * testsuite/libffi.call/cls_19byte.c: Likewise. | |
2758 | * testsuite/libffi.call/cls_18byte.c: Likewise. | |
2759 | * testsuite/libffi.call/closure_fn4.c: Likewise. | |
2760 | * testsuite/libffi.call/closure_fn5.c: Likewise. | |
2761 | * testsuite/libffi.call/cls_schar.c: Likewise. | |
2762 | * testsuite/libffi.call/cls_sint.c: Likewise. | |
2763 | * testsuite/libffi.call/cls_sshort.c: Likewise. | |
2764 | * testsuite/libffi.call/nested_struct2.c: Likewise. | |
2765 | * testsuite/libffi.call/nested_struct3.c: Likewise. | |
2766 | ||
f145ed6b AT |
2767 | 2003-11-08 Andreas Tobler <a.tobler@schweiz.ch> |
2768 | ||
2769 | * testsuite/libffi.call/cls_double.c: Do a check on the result. | |
2770 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
2771 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
2772 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
2773 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
2774 | * testsuite/libffi.call/return_sc.c: Cleanup whitespaces. | |
2775 | ||
2b04d015 AT |
2776 | 2003-11-06 Andreas Tobler <a.tobler@schweiz.ch> |
2777 | ||
2778 | * src/prep_cif.c (ffi_prep_cif): Move the validity check after | |
2779 | the initialization. | |
2780 | ||
57f542b3 AT |
2781 | 2003-10-23 Andreas Tobler <a.tobler@schweiz.ch> |
2782 | ||
2b04d015 | 2783 | * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace |
57f542b3 AT |
2784 | FFI_ASSERT(FALSE) with FFI_ASSERT(0). |
2785 | ||
e61acf72 DD |
2786 | 2003-10-22 David Daney <ddaney@avtrex.com> |
2787 | ||
2788 | * src/mips/ffitarget.h: Replace undefined UINT32 and friends with | |
2789 | __attribute__((__mode__(__SI__))) and friends. | |
2790 | ||
2461c08b AS |
2791 | 2003-10-22 Andreas Schwab <schwab@suse.de> |
2792 | ||
2793 | * src/ia64/ffi.c: Replace FALSE/TRUE with false/true. | |
2794 | ||
1450eb7a AT |
2795 | 2003-10-21 Andreas Tobler <a.tobler@schweiz.ch> |
2796 | ||
2797 | * configure.in: AC_LINK_FILES(ffitarget.h). | |
2798 | * configure: Regenerate. | |
2799 | * Makefile.in: Likewise. | |
2800 | * include/Makefile.in: Likewise. | |
2801 | * testsuite/Makefile.in: Likewise. | |
2802 | * fficonfig.h.in: Likewise. | |
2803 | ||
2804 | 2003-10-21 Paolo Bonzini <bonzini@gnu.org> | |
2805 | Richard Henderson <rth@redhat.com> | |
2806 | ||
2807 | Avoid that ffi.h includes fficonfig.h. | |
2808 | ||
2809 | * Makefile.am (EXTRA_DIST): Include ffitarget.h files | |
2810 | (TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX. | |
2811 | (TARGET_SRC_MIPS_SGI): Removed. | |
2812 | (MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX. | |
2813 | (MIPS_SGI): Removed. | |
2814 | (CLEANFILES): Removed. | |
2815 | (mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New | |
2816 | targets. | |
2817 | * acconfig.h: Removed. | |
2818 | * configure.in: Compute sizeofs only for double and long double. | |
2819 | Use them to define and subst HAVE_LONG_DOUBLE. Include comments | |
2820 | into AC_DEFINE instead of using acconfig.h. Create | |
2821 | include/ffitarget.h instead of include/fficonfig.h. Rename | |
2822 | MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree. | |
2823 | AC_DEFINE EH_FRAME_FLAGS. | |
2824 | * include/Makefile.am (DISTCLEANFILES): New automake macro. | |
2825 | (hack_DATA): Add ffitarget.h. | |
2826 | * include/ffi.h.in: Remove all system specific definitions. | |
2827 | Declare raw API even if it is not installed, why bother? | |
2828 | Use limits.h instead of SIZEOF_* to define ffi_type_*. Do | |
2829 | not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include | |
2830 | ffitarget.h instead of fficonfig.h. Remove ALIGN macro. | |
2831 | (UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead. | |
2832 | * include/ffi_common.h (bool): Do not define. | |
2833 | (ffi_assert): Accept failed assertion. | |
2834 | (ffi_type_test): Return void and accept file/line. | |
2835 | (FFI_ASSERT): Pass stringized failed assertion. | |
2836 | (FFI_ASSERT_AT): New macro. | |
2837 | (FFI_ASSERT_VALID_TYPE): New macro. | |
2838 | (UINT8, SINT8, UINT16, SINT16, UINT32, SINT32, | |
2839 | UINT64, SINT64): Define here with gcc's __attribute__ macro | |
2840 | instead of in ffi.h | |
2841 | (FLOAT32, ALIGN): Define here instead of in ffi.h | |
2842 | * include/ffi-mips.h: Removed. Its content moved to | |
2843 | src/mips/ffitarget.h after separating assembly and C sections. | |
2844 | * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c | |
2845 | src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c, | |
2846 | src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S, | |
2847 | src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c: | |
2848 | SIZEOF_ARG -> FFI_SIZEOF_ARG. | |
2849 | * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+). | |
2850 | * src/debug.c (ffi_assert): Accept stringized failed assertion. | |
2851 | (ffi_type_test): Rewritten. | |
2852 | * src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call | |
2853 | FFI_ASSERT_VALID_TYPE. | |
2854 | * src/alpha/ffitarget.h, src/arm/ffitarget.h, | |
2855 | src/ia64/ffitarget.h, src/m68k/ffitarget.h, | |
2856 | src/mips/ffitarget.h, src/powerpc/ffitarget.h, | |
2857 | src/s390/ffitarget.h, src/sh/ffitarget.h, | |
2858 | src/sh64/ffitarget.h, src/sparc/ffitarget.h, | |
2859 | src/x86/ffitarget.h: New files. | |
2860 | * src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S, | |
2861 | src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S, | |
2862 | src/powerpc/aix.S, src/powerpc/darwin.S, | |
2863 | src/powerpc/ffi_darwin.c, src/powerpc/linux64.S, | |
2864 | src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S, | |
2865 | src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S, | |
2866 | src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S, | |
2867 | src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S: | |
2868 | include fficonfig.h | |
2869 | ||
27d54b2a RO |
2870 | 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2871 | ||
2872 | * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external | |
2873 | _MIPS_SIM_NABI32, _MIPS_SIM_ABI32. | |
2874 | ||
0df6970d AT |
2875 | 2003-10-19 Andreas Tobler <a.tobler@schweiz.ch> |
2876 | ||
2877 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again. | |
2878 | Used when FFI_DEBUG = 1. | |
2879 | ||
2612ffce AM |
2880 | 2003-10-14 Alan Modra <amodra@bigpond.net.au> |
2881 | ||
2882 | * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size | |
2883 | and align. | |
2884 | ||
d54f7354 RO |
2885 | 2003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2886 | ||
2887 | * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs, | |
2888 | FFI_MIPS_O32 for O32 ABI. | |
2889 | ||
7a54c850 AT |
2890 | 2003-10-01 Andreas Tobler <a.tobler@schweiz.ch> |
2891 | ||
2892 | * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for | |
2893 | SPARC64. Cleanup whitespaces. | |
2894 | ||
9e3bfa9b AT |
2895 | 2003-09-19 Andreas Tobler <a.tobler@schweiz.ch> |
2896 | ||
2897 | * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm, | |
2898 | strongarm, xscale. Cleanup whitespaces. | |
2899 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
2900 | * testsuite/libffi.call/closure_fn2.c: Likewise. | |
2901 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
2902 | * testsuite/libffi.call/cls_12byte.c: Likewise. | |
2903 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
2904 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
2905 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
2906 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
2907 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
2908 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
2909 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
2910 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
2911 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
2912 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
2913 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
2914 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
2915 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
2916 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
2917 | * testsuite/libffi.call/cls_double.c: Likewise. | |
2918 | * testsuite/libffi.call/cls_float.c: Likewise. | |
2919 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
2920 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
2921 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
2922 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
2923 | * testsuite/libffi.call/nested_struct.c: Likewise. | |
2924 | * testsuite/libffi.call/nested_struct1.c: Likewise. | |
2925 | * testsuite/libffi.call/problem1.c: Likewise. | |
2926 | * testsuite/libffi.special/unwindtest.cc: Likewise. | |
2927 | * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces. | |
2928 | ||
3e86b595 DE |
2929 | 2003-09-18 David Edelsohn <edelsohn@gnu.org> |
2930 | ||
2931 | * src/powerpc/aix.S: Cleanup whitespaces. | |
2932 | * src/powerpc/aix_closure.S: Likewise. | |
2933 | ||
8d8369f8 AT |
2934 | 2003-09-18 Andreas Tobler <a.tobler@schweiz.ch> |
2935 | ||
2936 | * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting. | |
2937 | * src/powerpc/darwin_closure.S: Likewise. | |
2938 | * src/powerpc/ffi_darwin.c: Likewise. | |
2939 | ||
69b182fd AT |
2940 | 2003-09-18 Andreas Tobler <a.tobler@schweiz.ch> |
2941 | David Edelsohn <edelsohn@gnu.org> | |
2942 | ||
2943 | * src/types.c (double): Add AIX and Darwin to the right TYPEDEF. | |
2944 | * src/powerpc/aix_closure.S: Remove the pointer to the outgoing | |
2945 | parameter stack. | |
2946 | * src/powerpc/darwin_closure.S: Likewise. | |
2947 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures | |
2948 | according to the Darwin/AIX ABI. | |
2949 | (ffi_prep_cif_machdep): Likewise. | |
2950 | (ffi_closure_helper_DARWIN): Likewise. | |
2951 | Remove the outgoing parameter stack logic. Simplify the evaluation | |
2952 | of the different CASE types. | |
2953 | (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch | |
2954 | statement in the trampoline code. | |
2955 | ||
df805cdc KK |
2956 | 2003-09-18 Kaz Kojima <kkojima@gcc.gnu.org> |
2957 | ||
2958 | * src/sh/ffi.c (ffi_prep_args): Take account into the alignement | |
2959 | for the register size. | |
2960 | (ffi_closure_helper_SYSV): Handle the structure return value | |
2961 | address correctly. | |
2962 | (ffi_closure_helper_SYSV): Return the appropriate type when | |
2963 | the registers are used for the structure return value. | |
2964 | * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for | |
2965 | the 64-bit return value. Update copyright years. | |
2966 | ||
eb26c76c RO |
2967 | 2003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2968 | ||
2969 | * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in | |
2970 | srcdir for ffi_mips.h. | |
2971 | ||
6350c02c AM |
2972 | 2003-09-12 Alan Modra <amodra@bigpond.net.au> |
2973 | ||
2974 | * src/prep_cif.c (initialize_aggregate): Include tail padding in | |
2975 | structure size. | |
2976 | * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct | |
2977 | placement of float result. | |
2978 | * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct | |
2979 | cast of "resp" for big-endian 64 bit machines. | |
2980 | ||
5af1c806 AM |
2981 | 2003-09-11 Alan Modra <amodra@bigpond.net.au> |
2982 | ||
2983 | * src/types.c (double, longdouble): Merge identical SH and ARM | |
2984 | typedefs, and add POWERPC64. | |
2985 | * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for | |
2986 | struct split over gpr and rest. | |
2987 | (ffi_prep_cif_machdep): Correct intarg_count for structures. | |
2988 | * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets. | |
2989 | ||
086a4bd7 AT |
2990 | 2003-09-09 Andreas Tobler <a.tobler@schweiz.ch> |
2991 | ||
2992 | * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct | |
2993 | passing correctly. | |
c930d8a5 | 2994 | |
e517f636 AM |
2995 | 2003-09-09 Alan Modra <amodra@bigpond.net.au> |
2996 | ||
2997 | * configure: Regenerate. | |
2998 | ||
6f20d627 AT |
2999 | 2003-09-04 Andreas Tobler <a.tobler@schweiz.ch> |
3000 | ||
3001 | * Makefile.am: Remove build rules for ffitest. | |
3002 | * Makefile.in: Rebuilt. | |
c930d8a5 | 3003 | |
6f20d627 | 3004 | 2003-09-04 Andreas Tobler <a.tobler@schweiz.ch> |
226660af AT |
3005 | |
3006 | * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning | |
3007 | about implicit declaration of abort(). | |
3008 | ||
bbf3057b AT |
3009 | 2003-09-04 Andreas Tobler <a.tobler@schweiz.ch> |
3010 | ||
3011 | * Makefile.am: Add dejagnu test framework. Fixes PR other/11411. | |
3012 | * Makefile.in: Rebuilt. | |
3013 | * configure.in: Add dejagnu test framework. | |
3014 | * configure: Rebuilt. | |
3015 | ||
3016 | * testsuite/Makefile.am: New file. | |
3017 | * testsuite/Makefile.in: Built | |
c930d8a5 | 3018 | * testsuite/lib/libffi-dg.exp: New file. |
bbf3057b AT |
3019 | * testsuite/config/default.exp: Likewise. |
3020 | * testsuite/libffi.call/call.exp: Likewise. | |
3021 | * testsuite/libffi.call/ffitest.h: Likewise. | |
3022 | * testsuite/libffi.call/closure_fn0.c: Likewise. | |
3023 | * testsuite/libffi.call/closure_fn1.c: Likewise. | |
3024 | * testsuite/libffi.call/closure_fn2.c: Likewise. | |
3025 | * testsuite/libffi.call/closure_fn3.c: Likewise. | |
3026 | * testsuite/libffi.call/cls_1_1byte.c: Likewise. | |
3027 | * testsuite/libffi.call/cls_3_1byte.c: Likewise. | |
3028 | * testsuite/libffi.call/cls_4_1byte.c: Likewise. | |
3029 | * testsuite/libffi.call/cls_2byte.c: Likewise. | |
3030 | * testsuite/libffi.call/cls_3byte1.c: Likewise. | |
3031 | * testsuite/libffi.call/cls_3byte2.c: Likewise. | |
3032 | * testsuite/libffi.call/cls_4byte.c: Likewise. | |
3033 | * testsuite/libffi.call/cls_5byte.c: Likewise. | |
3034 | * testsuite/libffi.call/cls_6byte.c: Likewise. | |
3035 | * testsuite/libffi.call/cls_7byte.c: Likewise. | |
3036 | * testsuite/libffi.call/cls_8byte.c: Likewise. | |
3037 | * testsuite/libffi.call/cls_12byte.c: Likewise. | |
3038 | * testsuite/libffi.call/cls_16byte.c: Likewise. | |
3039 | * testsuite/libffi.call/cls_20byte.c: Likewise. | |
3040 | * testsuite/libffi.call/cls_24byte.c: Likewise. | |
3041 | * testsuite/libffi.call/cls_double.c: Likewise. | |
3042 | * testsuite/libffi.call/cls_float.c: Likewise. | |
3043 | * testsuite/libffi.call/cls_uchar.c: Likewise. | |
3044 | * testsuite/libffi.call/cls_uint.c: Likewise. | |
3045 | * testsuite/libffi.call/cls_ulonglong.c: Likewise. | |
3046 | * testsuite/libffi.call/cls_ushort.c: Likewise. | |
3047 | * testsuite/libffi.call/float.c: Likewise. | |
3048 | * testsuite/libffi.call/float1.c: Likewise. | |
3049 | * testsuite/libffi.call/float2.c: Likewise. | |
3050 | * testsuite/libffi.call/many.c: Likewise. | |
3051 | * testsuite/libffi.call/many_win32.c: Likewise. | |
3052 | * testsuite/libffi.call/nested_struct.c: Likewise. | |
3053 | * testsuite/libffi.call/nested_struct1.c: Likewise. | |
3054 | * testsuite/libffi.call/pyobjc-tc.c: Likewise. | |
3055 | * testsuite/libffi.call/problem1.c: Likewise. | |
3056 | * testsuite/libffi.call/promotion.c: Likewise. | |
3057 | * testsuite/libffi.call/return_ll.c: Likewise. | |
3058 | * testsuite/libffi.call/return_sc.c: Likewise. | |
3059 | * testsuite/libffi.call/return_uc.c: Likewise. | |
3060 | * testsuite/libffi.call/strlen.c: Likewise. | |
3061 | * testsuite/libffi.call/strlen_win32.c: Likewise. | |
3062 | * testsuite/libffi.call/struct1.c: Likewise. | |
3063 | * testsuite/libffi.call/struct2.c: Likewise. | |
3064 | * testsuite/libffi.call/struct3.c: Likewise. | |
3065 | * testsuite/libffi.call/struct4.c: Likewise. | |
3066 | * testsuite/libffi.call/struct5.c: Likewise. | |
3067 | * testsuite/libffi.call/struct6.c: Likewise. | |
3068 | * testsuite/libffi.call/struct7.c: Likewise. | |
3069 | * testsuite/libffi.call/struct8.c: Likewise. | |
c930d8a5 | 3070 | * testsuite/libffi.call/struct9.c: Likewise. |
bbf3057b AT |
3071 | * testsuite/libffi.special/special.exp: New file. |
3072 | * testsuite/libffi.special/ffitestcxx.h: Likewise. | |
3073 | * testsuite/libffi.special/unwindtest.cc: Likewise. | |
3074 | ||
c930d8a5 | 3075 | |
996b4f8f KK |
3076 | 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org> |
3077 | ||
3078 | * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update | |
3079 | copyright years. | |
3080 | ||
b00badcd AM |
3081 | 2003-08-02 Alan Modra <amodra@bigpond.net.au> |
3082 | ||
3083 | * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc | |
3084 | structure passing. | |
3085 | (ffi_closure_helper_LINUX64): Likewise. | |
3086 | * src/powerpc/linux64.S: Remove code writing to parm save area. | |
3087 | * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Use return | |
3088 | address in lr from ffi_closure_helper_LINUX64 call to calculate | |
3089 | table address. Optimize function tail. | |
3090 | ||
c1516eae AT |
3091 | 2003-07-28 Andreas Tobler <a.tobler@schweiz.ch> |
3092 | ||
3093 | * src/sparc/ffi.c: Handle all floating point registers. | |
3094 | * src/sparc/v9.S: Likewise. Fixes second part of PR target/11410. | |
3095 | ||
fc0e6222 GP |
3096 | 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3097 | ||
3098 | * README: Note that libffi is not part of GCC. Update the project | |
3099 | URL and status. | |
3100 | ||
a1569df8 FS |
3101 | 2003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3102 | ||
3103 | * src/powerpc/ppc_closure.S: Include ffi.h. | |
3104 | ||
12e816bf RO |
3105 | 2003-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3106 | ||
3107 | * src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives. | |
3108 | Use C style comments. | |
3109 | ||
e860ed6d KK |
3110 | 2003-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3111 | ||
3112 | * Makefile.am: Add SHmedia support. Fix a typo of SH support. | |
3113 | * Makefile.in: Regenerate. | |
3114 | * configure.in (sh64-*-linux*, sh5*-*-linux*): Add target. | |
3115 | * configure: Regenerate. | |
3116 | * include/ffi.h.in: Add SHmedia support. | |
3117 | * src/sh64/ffi.c: New file. | |
3118 | * src/sh64/sysv.S: New file. | |
3119 | ||
a733b15e JJ |
3120 | 2003-05-16 Jakub Jelinek <jakub@redhat.com> |
3121 | ||
3122 | * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section | |
3123 | should be read-only. | |
3124 | * configure: Rebuilt. | |
3125 | * fficonfig.h.in: Rebuilt. | |
3126 | * include/ffi.h.in (EH_FRAME_FLAGS): Define. | |
3127 | * src/alpha/osf.S: Use EH_FRAME_FLAGS. | |
3128 | * src/powerpc/linux64.S: Likewise. | |
3129 | * src/powerpc/linux64_closure.S: Likewise. Include ffi.h. | |
3130 | * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding | |
3131 | if -fpic/-fPIC/-mrelocatable. | |
3132 | * src/powerpc/powerpc_closure.S: Likewise. | |
3133 | * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include | |
3134 | #write in .eh_frame flags. | |
3135 | * src/sparc/v9.S: Likewise. | |
3136 | * src/x86/unix64.S: Use EH_FRAME_FLAGS. | |
3137 | * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC. | |
3138 | * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h. | |
3139 | ||
bd19c9f4 JS |
3140 | 2003-05-07 Jeff Sturm <jsturm@one-point.com> |
3141 | ||
3142 | Fixes PR bootstrap/10656 | |
3143 | * configure.in (HAVE_AS_REGISTER_PSEUDO_OP): Test assembler | |
3144 | support for .register pseudo-op. | |
3145 | * src/sparc/v8.S: Use it. | |
3146 | * fficonfig.h.in: Rebuilt. | |
3147 | * configure: Rebuilt. | |
3148 | ||
e9b84181 JJ |
3149 | 2003-04-18 Jakub Jelinek <jakub@redhat.com> |
3150 | ||
3151 | * include/ffi.h.in (POWERPC64): Define if 64-bit. | |
3152 | (enum ffi_abi): Add FFI_LINUX64 on POWERPC. | |
3153 | Make it the default on POWERPC64. | |
3154 | (FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64. | |
3155 | * configure.in: Change powerpc-*-linux* into powerpc*-*-linux*. | |
3156 | * configure: Rebuilt. | |
3157 | * src/powerpc/ffi.c (hidden): Define. | |
3158 | (ffi_prep_args_SYSV): Renamed from | |
3159 | ffi_prep_args. Cast pointers to unsigned long to shut up warnings. | |
3160 | (NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64, | |
3161 | ASM_NEEDS_REGISTERS64): New. | |
3162 | (ffi_prep_args64): New function. | |
3163 | (ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI. | |
3164 | (ffi_call): Likewise. | |
3165 | (ffi_prep_closure): Likewise. | |
3166 | (flush_icache): Surround by #ifndef POWERPC64. | |
3167 | (ffi_dblfl): New union type. | |
3168 | (ffi_closure_helper_SYSV): Use it to avoid aliasing problems. | |
3169 | (ffi_closure_helper_LINUX64): New function. | |
3170 | * src/powerpc/ppc_closure.S: Surround whole file by #ifndef | |
3171 | __powerpc64__. | |
3172 | * src/powerpc/sysv.S: Likewise. | |
3173 | (ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV. | |
3174 | * src/powerpc/linux64.S: New file. | |
3175 | * src/powerpc/linux64_closure.S: New file. | |
3176 | * Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and | |
3177 | src/powerpc/linux64_closure.S. | |
3178 | (TARGET_SRC_POWERPC): Likewise. | |
3179 | ||
3180 | * src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2, | |
3181 | closure_test_fn3): Fix result printing on big-endian 64-bit | |
3182 | machines. | |
3183 | (main): Print tst2_arg instead of uninitialized tst2_result. | |
3184 | ||
3185 | * src/ffitest.c (main): Hide what closure pointer really points to | |
3186 | from the compiler. | |
3187 | ||
908a31e1 RE |
3188 | 2003-04-16 Richard Earnshaw <rearnsha@arm.com> |
3189 | ||
3190 | * configure.in (arm-*-netbsdelf*): Add configuration. | |
3191 | (configure): Regenerated. | |
3192 | ||
41a73c4c LR |
3193 | 2003-04-04 Loren J. Rittle <ljrittle@acm.org> |
3194 | ||
3195 | * include/Makefile.in: Regenerate. | |
3196 | ||
cd41c847 ZD |
3197 | 2003-03-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3198 | ||
3199 | * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32 | |
3200 | bit mode. | |
3201 | * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV): | |
3202 | Receive closure pointer through parameter, read args using | |
3203 | __builtin_dwarf_cfa. | |
3204 | (FFI_INIT_TRAMPOLINE): Send closure reference through eax. | |
3205 | ||
6db450f9 AS |
3206 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
3207 | ||
3208 | * configure.in: Avoid trailing /. in toolexeclibdir. | |
3209 | * configure: Rebuilt. | |
3210 | ||
70144e9c AT |
3211 | 2003-03-03 Andreas Tobler <a.tobler@schweiz.ch> |
3212 | ||
c6900272 | 3213 | * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries. |
70144e9c | 3214 | |
79e43f89 AT |
3215 | 2003-02-06 Andreas Tobler <a.tobler@schweiz.ch> |
3216 | ||
3217 | * libffi/src/powerpc/darwin_closure.S: | |
3218 | Fix alignement bug, allocate 8 bytes for the result. | |
c930d8a5 | 3219 | * libffi/src/powerpc/aix_closure.S: |
79e43f89 AT |
3220 | Likewise. |
3221 | * libffi/src/powerpc/ffi_darwin.c: | |
3222 | Update stackframe description for aix/darwin_closure.S. | |
c930d8a5 | 3223 | |
0fcc9e55 JJ |
3224 | 2003-02-06 Jakub Jelinek <jakub@redhat.com> |
3225 | ||
3226 | * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility | |
3227 | attribute. | |
3228 | ||
63b87c2e CC |
3229 | 2003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>, |
3230 | Andreas Schwab <schwab@suse.de> | |
3231 | ||
c6900272 | 3232 | * configure.in: Adjust command to source config-ml.in to account |
63b87c2e CC |
3233 | for changes to the libffi_basedir definition. |
3234 | (libffi_basedir): Remove ${srcdir} from value and include trailing | |
3235 | slash if nonempty. | |
c930d8a5 | 3236 | |
c6900272 | 3237 | * configure: Regenerate. |
63b87c2e | 3238 | |
c33402e2 FS |
3239 | 2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3240 | ||
3241 | * src/powerpc/ppc_closure.S: Recode to fit shared libs. | |
3242 | ||
fd2e49b2 AH |
3243 | 2003-01-28 Andrew Haley <aph@redhat.com> |
3244 | ||
3245 | * include/ffi.h.in: Enable FFI_CLOSURES for x86_64. | |
3246 | * src/x86/ffi64.c (ffi_prep_closure): New. | |
3247 | (ffi_closure_UNIX64_inner): New. | |
3248 | * src/x86/unix64.S (ffi_closure_UNIX64): New. | |
3249 | ||
0e292c01 AO |
3250 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
3251 | ||
3252 | * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST. | |
3253 | Remove USE_LIBDIR conditional. | |
3254 | * Makefile.am (toolexecdir, toolexeclibdir): Don't override. | |
3255 | * Makefile.in, configure: Rebuilt. | |
3256 | ||
acabc220 DE |
3257 | 2003-01027 David Edelsohn <edelsohn@gnu.org> |
3258 | ||
3259 | * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo. | |
3260 | * Makefile.in: Regenerate. | |
3261 | ||
be0acd42 AH |
3262 | 2003-01-22 Andrew Haley <aph@redhat.com> |
3263 | ||
3264 | * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to | |
3265 | unwind info. | |
3266 | ||
ed695c8e AT |
3267 | 2003-01-21 Andreas Tobler <a.tobler@schweiz.ch> |
3268 | ||
3269 | * src/powerpc/darwin.S: Add unwind info. | |
3270 | * src/powerpc/darwin_closure.S: Likewise. | |
3271 | ||
45ba15f4 AH |
3272 | 2003-01-14 Andrew Haley <aph@redhat.com> |
3273 | ||
3274 | * src/x86/ffi64.c (ffi_prep_args): Check for void retval. | |
3275 | (ffi_prep_cif_machdep): Likewise. | |
3276 | * src/x86/unix64.S: Add unwind info. | |
3277 | ||
4b5f402e AJ |
3278 | 2003-01-14 Andreas Jaeger <aj@suse.de> |
3279 | ||
3280 | * src/ffitest.c (main): Only use ffi_closures if those are | |
3281 | supported. | |
3282 | ||
7b5102af TT |
3283 | 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch> |
3284 | ||
3285 | * libffi/src/ffitest.c | |
c6900272 | 3286 | add closure testcases |
7b5102af TT |
3287 | |
3288 | 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca> | |
3289 | ||
3290 | * libffi/src/powerpc/ffi.c | |
c6900272 | 3291 | fix alignment bug for float (4 byte aligned iso 8 byte) |
7b5102af | 3292 | |
5f7c78d8 GK |
3293 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
3294 | ||
3295 | * src/powerpc/ffi_darwin.c: Remove RCS version string. | |
3296 | * src/powerpc/darwin.S: Remove RCS version string. | |
3297 | ||
c75c7793 JS |
3298 | 2003-01-03 Jeff Sturm <jsturm@one-point.com> |
3299 | ||
3300 | * include/ffi.h.in: Add closure defines for SPARC, SPARC64. | |
3301 | * src/ffitest.c (main): Use static storage for closure. | |
3302 | * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. | |
3303 | * src/sparc/v8.S (ffi_closure_v8): New. | |
3304 | * src/sparc/v9.S (ffi_closure_v9): New. | |
3305 | ||
eb3c46a1 RM |
3306 | 2002-11-10 Ranjit Mathew <rmathew@hotmail.com> |
3307 | ||
3308 | * include/ffi.h.in: Added FFI_STDCALL ffi_type | |
3309 | enumeration for X86_WIN32. | |
3310 | * src/x86/win32.S: Added ffi_call_STDCALL function | |
3311 | definition. | |
3312 | * src/x86/ffi.c (ffi_call/ffi_raw_call): Added | |
3313 | switch cases for recognising FFI_STDCALL and | |
3314 | calling ffi_call_STDCALL if target is X86_WIN32. | |
3315 | * src/ffitest.c (my_stdcall_strlen/stdcall_many): | |
3316 | stdcall versions of the "my_strlen" and "many" | |
3317 | test functions (for X86_WIN32). | |
3318 | Added test cases to test stdcall invocation using | |
3319 | these functions. | |
3320 | ||
4977bab6 ZW |
3321 | 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org> |
3322 | ||
3323 | * src/sh/sysv.S: Add DWARF2 unwind info. | |
3324 | ||
67333e84 UW |
3325 | 2002-11-27 Ulrich Weigand <uweigand@de.ibm.com> |
3326 | ||
3327 | * src/s390/sysv.S (.eh_frame section): Make section read-only. | |
3328 | ||
bc3cf760 JW |
3329 | 2002-11-26 Jim Wilson <wilson@redhat.com> |
3330 | ||
3331 | * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64. | |
3332 | ||
4977bab6 ZW |
3333 | 2002-11-23 H.J. Lu <hjl@gnu.org> |
3334 | ||
3335 | * acinclude.m4: Add dummy AM_PROG_LIBTOOL. | |
3336 | Include ../config/accross.m4. | |
3337 | * aclocal.m4; Rebuild. | |
3338 | * configure: Likewise. | |
3339 | ||
18789f4e UW |
3340 | 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com> |
3341 | ||
3342 | * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding. | |
3343 | ||
6bee5372 DD |
3344 | 2002-11-11 DJ Delorie <dj@redhat.com> |
3345 | ||
3346 | * configure.in: Look for common files in the right place. | |
3347 | ||
8177895b UW |
3348 | 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
3349 | ||
3350 | * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret | |
3351 | raw data as _Jv_word values, not ffi_raw. | |
3352 | (ffi_java_ptrarray_to_raw): Likewise. | |
3353 | (ffi_java_rvalue_to_raw): New function. | |
3354 | (ffi_java_raw_call): Call it. | |
3355 | (ffi_java_raw_to_rvalue): New function. | |
3356 | (ffi_java_translate_args): Call it. | |
3357 | * src/ffitest.c (closure_test_fn): Interpret return value | |
3358 | as ffi_arg, not int. | |
3359 | * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing | |
3360 | FFI_TYPE_POINTER case. | |
3361 | (ffi_closure_helper_SYSV): Likewise. Also, assume return | |
3362 | values extended to word size. | |
3363 | ||
af50f4c8 AJ |
3364 | 2002-10-02 Andreas Jaeger <aj@suse.de> |
3365 | ||
3366 | * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output. | |
3367 | ||
5d297584 BT |
3368 | 2002-10-01 Bo Thorsen <bo@smetana.suse.de> |
3369 | ||
3370 | * include/ffi.h.in: Fix i386 win32 compilation. | |
3371 | ||
c4f17c6f UW |
3372 | 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
3373 | ||
3374 | * configure.in: Add s390x-*-linux-* target. | |
3375 | * configure: Regenerate. | |
3376 | * include/ffi.h.in: Define S390X for s390x targets. | |
3377 | (FFI_CLOSURES): Define for s390/s390x. | |
3378 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
3379 | (FFI_NATIVE_RAW_API): Likewise. | |
3380 | * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390. | |
3381 | * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x. | |
4977bab6 | 3382 | * src/s390/ffi.c: Major rework of existing code. Add support for |
c4f17c6f UW |
3383 | s390x targets. Add closure support. |
3384 | * src/s390/sysv.S: Likewise. | |
3385 | ||
d7b52625 RE |
3386 | 2002-09-29 Richard Earnshaw <rearnsha@arm.com> |
3387 | ||
3388 | * src/arm/sysv.S: Fix typo. | |
3389 | ||
28165e22 RE |
3390 | 2002-09-28 Richard Earnshaw <rearnsha@arm.com> |
3391 | ||
3392 | * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor | |
3393 | has defined __USER_LABEL_PREFIX__, then use it in CNAME. | |
3394 | (ffi_call_SYSV): Handle soft-float. | |
3395 | ||
0b0f4163 BT |
3396 | 2002-09-27 Bo Thorsen <bo@suse.de> |
3397 | ||
3398 | * include/ffi.h.in: Fix multilib x86-64 support. | |
3399 | ||
6c5d742e KG |
3400 | 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3401 | ||
3402 | * Makefile.am (all-multi): Fix multilib parallel build. | |
3403 | ||
f4b2b0d6 KK |
3404 | 2002-07-19 Kaz Kojima <kkojima@gcc.gnu.org> |
3405 | ||
3406 | * configure.in (sh[34]*-*-linux*): Add brackets. | |
3407 | * configure: Regenerate. | |
3408 | ||
ddebdfeb KK |
3409 | 2002-07-18 Kaz Kojima <kkojima@gcc.gnu.org> |
3410 | ||
3411 | * Makefile.am: Add SH support. | |
3412 | * Makefile.in: Regenerate. | |
3413 | * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target. | |
3414 | * configure: Regenerate. | |
3415 | * include/ffi.h.in: Add SH support. | |
3416 | * src/sh/ffi.c: New file. | |
3417 | * src/sh/sysv.S: New file. | |
3418 | * src/types.c: Add SH support. | |
3419 | ||
c94974ca BT |
3420 | 2002-07-16 Bo Thorsen <bo@suse.de> |
3421 | ||
3422 | * src/x86/ffi64.c: New file that adds x86-64 support. | |
3423 | * src/x86/unix64.S: New file that handles argument setup for | |
3424 | x86-64. | |
3425 | * src/x86/sysv.S: Don't use this on x86-64. | |
3426 | * src/x86/ffi.c: Don't use this on x86-64. | |
3427 | Remove unused vars. | |
3428 | * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation | |
3429 | for x86-64. | |
3430 | * src/ffitest.c (struct6): New test that tests a special case in | |
3431 | the x86-64 ABI. | |
3432 | (struct7): Likewise. | |
3433 | (struct8): Likewise. | |
3434 | (struct9): Likewise. | |
3435 | (closure_test_fn): Silence warning about this when it's not used. | |
3436 | (main): Add the new tests. | |
3437 | (main): Fix a couple of wrong casts and silence some compiler warnings. | |
3438 | * include/ffi.h.in: Add x86-64 ABI definition. | |
3439 | * fficonfig.h.in: Regenerate. | |
3440 | * Makefile.am: Add x86-64 support. | |
3441 | * configure.in: Likewise. | |
3442 | * Makefile.in: Regenerate. | |
3443 | * configure: Likewise. | |
3444 | ||
3445 | 2002-06-24 Bo Thorsen <bo@suse.de> | |
3446 | ||
3447 | * src/types.c: Merge settings for similar architectures. | |
3448 | Add x86-64 sizes and alignments. | |
3449 | ||
3450 | 2002-06-23 Bo Thorsen <bo@suse.de> | |
3451 | ||
3452 | * src/arm/ffi.c (ffi_prep_args): Remove unused vars. | |
3453 | * src/sparc/ffi.c (ffi_prep_args_v8): Likewise. | |
3454 | * src/mips/ffi.c (ffi_prep_args): Likewise. | |
3455 | * src/m68k/ffi.c (ffi_prep_args): Likewise. | |
3456 | ||
5be36a8f L |
3457 | 2002-07-18 H.J. Lu (hjl@gnu.org) |
3458 | ||
3459 | * Makefile.am (TARGET_SRC_MIPS_LINUX): New. | |
3460 | (libffi_la_SOURCES): Support MIPS_LINUX. | |
3461 | (libffi_convenience_la_SOURCES): Likewise. | |
3462 | * Makefile.in: Regenerated. | |
3463 | ||
3464 | * configure.in (mips64*-*): Skip. | |
3465 | (mips*-*-linux*): New. | |
3466 | * configure: Regenerated. | |
3467 | ||
3468 | * src/mips/ffi.c: Include <sgidefs.h>. | |
3469 | ||
ad5e163c UW |
3470 | 2002-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
3471 | ||
3472 | * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info. | |
3473 | ||
ee4586c5 RS |
3474 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
3475 | ||
3476 | * src/x86/ffi.c (ffi_prep_args): Remove reference to avn. | |
3477 | ||
b86aa7b0 BT |
3478 | 2002-05-27 Bo Thorsen <bo@suse.de> |
3479 | ||
3480 | * src/x86/ffi.c (ffi_prep_args): Remove unused variable and | |
3481 | fix formatting. | |
3482 | ||
859f7aaf AT |
3483 | 2002-05-13 Andreas Tobler <a.tobler@schweiz.ch> |
3484 | ||
3485 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at | |
3486 | beginning of function (for older apple cc). | |
3487 | ||
6706f116 AO |
3488 | 2002-05-08 Alexandre Oliva <aoliva@redhat.com> |
3489 | ||
3490 | * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at | |
3491 | script entry, and set LD to it when configuring multilibs. | |
3492 | * configure: Rebuilt. | |
3493 | ||
fad655c8 JT |
3494 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
3495 | ||
3496 | * configure.in (sparc64-*-netbsd*): Add target. | |
3497 | (sparc-*-netbsdelf*): Likewise. | |
3498 | * configure: Regenerate. | |
3499 | ||
189ab118 DM |
3500 | 2002-04-28 David S. Miller <davem@redhat.com> |
3501 | ||
3502 | * configure.in, configure: Fix SPARC test in previous change. | |
3503 | ||
22bcf65c GT |
3504 | 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> |
3505 | ||
3506 | * Makefile.am: Add Linux for S/390 support. | |
3507 | * Makefile.in: Regenerate. | |
3508 | * configure.in: Add Linux for S/390 support. | |
3509 | * configure: Regenerate. | |
3510 | * include/ffi.h.in: Add Linux for S/390 support. | |
3511 | * src/s390/ffi.c: New file from libffi CVS tree. | |
3512 | * src/s390/sysv.S: New file from libffi CVS tree. | |
3513 | ||
5d84cf0b JJ |
3514 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
3515 | ||
3516 | * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working | |
3517 | %r_disp32(). | |
3518 | * src/sparc/v8.S: Use it. | |
3519 | * src/sparc/v9.S: Likewise. | |
3520 | * fficonfig.h.in: Rebuilt. | |
3521 | * configure: Rebuilt. | |
3522 | ||
cc382e5c HB |
3523 | 2002-04-08 Hans Boehm <Hans_Boehm@hp.com> |
3524 | ||
3525 | * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE | |
3526 | correctly. | |
3527 | * src/ia64/unix.S: Add unwind information. Fix comments. | |
3528 | Save sp in a way that's compatible with unwind info. | |
3529 | (ffi_call_unix): Correctly restore sp in all cases. | |
3530 | * src/ia64/ffi.c: Add, fix comments. | |
3531 | ||
dc798645 JJ |
3532 | 2002-04-08 Jakub Jelinek <jakub@redhat.com> |
3533 | ||
3534 | * src/sparc/v8.S: Make .eh_frame dependent on target word size. | |
3535 | ||
da00eaab JT |
3536 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
3537 | ||
3538 | * configure.in (alpha*-*-netbsd*): Add target. | |
3539 | * configure: Regenerate. | |
3540 | ||
0c0b87ad JS |
3541 | 2002-04-04 Jeff Sturm <jsturm@one-point.com> |
3542 | ||
3543 | * src/sparc/v8.S: Add unwind info. | |
3544 | * src/sparc/v9.S: Likewise. | |
3545 | ||
320d7e7a KW |
3546 | 2002-03-30 Krister Walfridsson <cato@df.lth.se> |
3547 | ||
3548 | * configure.in: Enable i*86-*-netbsdelf*. | |
3549 | * configure: Rebuilt. | |
4977bab6 | 3550 | |
c75e51ed DB |
3551 | 2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com> |
3552 | ||
3553 | PR other/2620 | |
3554 | * src/mips/n32.s: Delete | |
3555 | * src/mips/o32.s: Delete | |
3556 | ||
5bb366e0 LR |
3557 | 2002-03-21 Loren J. Rittle <ljrittle@acm.org> |
3558 | ||
3559 | * configure.in: Enable alpha*-*-freebsd*. | |
3560 | * configure: Rebuilt. | |
3561 | ||
ce3b24a7 BM |
3562 | 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
3563 | ||
3564 | * Makefile.am: libfficonvenience -> libffi_convenience. | |
3565 | * Makefile.in: Rebuilt. | |
4977bab6 | 3566 | |
1eb7ba30 BM |
3567 | * Makefile.am: Define ffitest_OBJECTS. |
3568 | * Makefile.in: Rebuilt. | |
ce3b24a7 | 3569 | |
073ae293 AT |
3570 | 2002-03-07 Andreas Tobler <toa@pop.agri.ch> |
3571 | David Edelsohn <edelsohn@gnu.org> | |
3572 | ||
3573 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files. | |
3574 | (TARGET_SRC_POWERPC_AIX): Add aix_closure.S. | |
3575 | (TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S. | |
3576 | * Makefile.in: Regenerate. | |
3577 | * include/ffi.h.in: Add AIX and Darwin closure definitions. | |
3578 | * src/powerpc/ffi_darwin.c (ffi_prep_closure): New function. | |
3579 | (flush_icache, flush_range): New functions. | |
3580 | (ffi_closure_helper_DARWIN): New function. | |
3581 | * src/powerpc/aix_closure.S: New file. | |
3582 | * src/powerpc/darwin_closure.S: New file. | |
4977bab6 | 3583 | |
02c521f4 JS |
3584 | 2002-02-24 Jeff Sturm <jsturm@one-point.com> |
3585 | ||
3586 | * include/ffi.h.in: Add typedef for ffi_arg. | |
3587 | * src/ffitest.c (main): Declare rint with ffi_arg. | |
4977bab6 | 3588 | |
287dd527 AT |
3589 | 2002-02-21 Andreas Tobler <toa@pop.agri.ch> |
3590 | ||
3591 | * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate | |
3592 | number of GPRs for floating-point arguments. | |
3593 | ||
e2f2e70a AG |
3594 | 2002-01-31 Anthony Green <green@redhat.com> |
3595 | ||
3596 | * configure: Rebuilt. | |
3597 | * configure.in: Replace CHECK_SIZEOF and endian tests with | |
3598 | cross-compiler friendly macros. | |
3599 | * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New | |
3600 | macros. | |
3601 | ||
15b9b32f DE |
3602 | 2002-01-18 David Edelsohn <edelsohn@gnu.org> |
3603 | ||
3604 | * src/powerpc/darwin.S (_ffi_call_AIX): New. | |
1f7d5413 | 3605 | * src/powerpc/aix.S (ffi_call_DARWIN): New. |
15b9b32f | 3606 | |
2f4006f8 DE |
3607 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
3608 | ||
3609 | * Makefile.am (EXTRA_DIST): Add Darwin and AIX files. | |
3610 | (TARGET_SRC_POWERPC_AIX): New. | |
3611 | (POWERPC_AIX): New stanza. | |
3612 | * Makefile.in: Regenerate. | |
3613 | * configure.in: Add AIX case. | |
3614 | * configure: Regenerate. | |
3615 | * include/ffi.h.in (ffi_abi): Add FFI_AIX. | |
3616 | * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame | |
3617 | size. Fix "long double" support. | |
3618 | (ffi_call): Add FFI_AIX case. | |
3619 | * src/powerpc/aix.S: New. | |
3620 | ||
3c017635 JH |
3621 | 2001-10-09 John Hornkvist <john@toastedmarshmallow.com> |
3622 | ||
3623 | Implement Darwin PowerPC ABI. | |
3624 | * configure.in: Handle powerpc-*-darwin*. | |
3625 | * Makefile.am: Set source files for POWERPC_DARWIN. | |
3626 | * configure: Rebuilt. | |
3627 | * Makefile.in: Rebuilt. | |
3628 | * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for | |
3629 | POWERPC_DARWIN. | |
3630 | * src/powerpc/darwin.S: New file. | |
3631 | * src/powerpc/ffi_darwin.c: New file. | |
3632 | ||
cc712abf JM |
3633 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
3634 | ||
3635 | * src/x86/ffi.c: Fix spelling error of "separate" as "seperate". | |
3636 | ||
03a8de49 RO |
3637 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3638 | ||
3639 | * src/x86/sysv.S: Avoid gas-only .balign directive. | |
3640 | Use C style comments. | |
3641 | ||
92a0e6c6 RO |
3642 | 2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3643 | ||
3644 | * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic. | |
3645 | Fixes PR bootstrap/3563. | |
3646 | ||
57482f58 RO |
3647 | 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3648 | ||
3649 | * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF. | |
3650 | ||
d7e2dd2f RO |
3651 | 2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3652 | ||
3653 | * configure.in: Recognize sparc*-sun-* host. | |
3654 | * configure: Regenerate. | |
4977bab6 | 3655 | |
be72207c AH |
3656 | 2001-06-06 Andrew Haley <aph@redhat.com> |
3657 | ||
4075db8f | 3658 | * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF. |
be72207c | 3659 | |
552cb45a AH |
3660 | 2001-06-03 Andrew Haley <aph@redhat.com> |
3661 | ||
4075db8f BT |
3662 | * src/alpha/osf.S: Add unwind info. |
3663 | * src/powerpc/sysv.S: Add unwind info. | |
3664 | * src/powerpc/ppc_closure.S: Likewise. | |
552cb45a | 3665 | |
7d45b968 JS |
3666 | 2000-05-31 Jeff Sturm <jsturm@one-point.com> |
3667 | ||
3668 | * configure.in: Fix AC_ARG_ENABLE usage. | |
3669 | * configure: Rebuilt. | |
3670 | ||
2a7f63c4 BM |
3671 | 2001-05-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
3672 | ||
3673 | * configure.in: Remove warning about beta code. | |
3674 | * configure: Rebuilt. | |
3675 | ||
3676 | 2001-04-25 Hans Boehm <Hans_Boehm@hp.com> | |
3677 | ||
03a55252 HB |
3678 | * src/ia64/unix.S: Restore stack pointer when returning from |
3679 | ffi_closure_UNIX. | |
3680 | * src/ia64/ffi.c: Fix typo in comment. | |
3681 | ||
df5da1c4 JW |
3682 | 2001-04-18 Jim Wilson <wilson@redhat.com> |
3683 | ||
3684 | * src/ia64/unix.S: Delete unnecessary increment and decrement of loc2 | |
3685 | to eliminate RAW DV. | |
3686 | ||
52c28977 BM |
3687 | 2001-04-12 Bryce McKinlay <bryce@albatross.co.nz> |
3688 | ||
3689 | * Makefile.am: Make a libtool convenience library. | |
3690 | * Makefile.in: Rebuilt. | |
3691 | ||
3b905056 BM |
3692 | 2001-03-29 Bryce McKinlay <bryce@albatross.co.nz> |
3693 | ||
3694 | * configure.in: Use different syntax for subdirectory creation. | |
3695 | * configure: Rebuilt. | |
3696 | ||
d6c4152a JB |
3697 | 2001-03-27 Jon Beniston <jon@beniston.com> |
3698 | ||
3699 | * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW). | |
3700 | * configure: Rebuilt. | |
3701 | * Makefile.am: Added X86_WIN32 target support. | |
3702 | * Makefile.in: Rebuilt. | |
3703 | ||
3704 | * include/ffi.h.in: Added X86_WIN32 target support. | |
3705 | ||
3706 | * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets. | |
3707 | * src/types.c: Added X86_WIN32 target support. | |
3708 | ||
3709 | * src/x86/win32.S: New file. Based on sysv.S, but with EH | |
3710 | stuff removed and made to work with CygWin's gas. | |
3711 | ||
675cdab3 BM |
3712 | 2001-03-26 Bryce McKinlay <bryce@albatross.co.nz> |
3713 | ||
3714 | * configure.in: Make target subdirectory in build dir. | |
3715 | * Makefile.am: Override suffix based rules to specify correct output | |
3716 | subdirectory. | |
3717 | * Makefile.in: Rebuilt. | |
3718 | * configure: Rebuilt. | |
3719 | ||
e5f8858a | 3720 | 2001-03-23 Kevin B Hendricks <khendricks@ivey.uwo.ca> |
cc4c8975 KH |
3721 | |
3722 | * src/powerpc/ppc_closure.S: New file. | |
3723 | * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug | |
3724 | involving long long and register pairs. | |
3725 | (ffi_prep_closure): New function. | |
3726 | (flush_icache): Likewise. | |
3727 | (ffi_closure_helper_SYSV): Likewise. | |
3728 | * include/ffi.h.in (FFI_CLOSURES): Define on PPC. | |
3729 | (FFI_TRAMPOLINE_SIZE): Likewise. | |
3730 | (FFI_NATIVE_RAW_API): Likewise. | |
3731 | * Makefile.in: Rebuilt. | |
3732 | * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S. | |
3733 | (TARGET_SRC_POWERPC): Likewise. | |
3734 | ||
9450a929 TT |
3735 | 2001-03-19 Tom Tromey <tromey@redhat.com> |
3736 | ||
3737 | * Makefile.in: Rebuilt. | |
3738 | * Makefile.am (ffitest_LDFLAGS): New macro. | |
3739 | ||
4d2cf715 NC |
3740 | 2001-03-02 Nick Clifton <nickc@redhat.com> |
3741 | ||
3742 | * include/ffi.h.in: Remove RCS ident string. | |
3743 | * include/ffi_mips.h: Remove RCS ident string. | |
3744 | * src/debug.c: Remove RCS ident string. | |
3745 | * src/ffitest.c: Remove RCS ident string. | |
3746 | * src/prep_cif.c: Remove RCS ident string. | |
3747 | * src/types.c: Remove RCS ident string. | |
3748 | * src/alpha/ffi.c: Remove RCS ident string. | |
3749 | * src/alpha/osf.S: Remove RCS ident string. | |
3750 | * src/arm/ffi.c: Remove RCS ident string. | |
3751 | * src/arm/sysv.S: Remove RCS ident string. | |
3752 | * src/mips/ffi.c: Remove RCS ident string. | |
3753 | * src/mips/n32.S: Remove RCS ident string. | |
3754 | * src/mips/o32.S: Remove RCS ident string. | |
3755 | * src/sparc/ffi.c: Remove RCS ident string. | |
3756 | * src/sparc/v8.S: Remove RCS ident string. | |
3757 | * src/sparc/v9.S: Remove RCS ident string. | |
3758 | * src/x86/ffi.c: Remove RCS ident string. | |
3759 | * src/x86/sysv.S: Remove RCS ident string. | |
3760 | ||
7e5fd99f JM |
3761 | 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk> |
3762 | ||
3763 | * include/ffi.h.in: Change sourceware.cygnus.com references to | |
3764 | gcc.gnu.org. | |
3765 | ||
3f67ba6e RH |
3766 | 2000-12-09 Richard Henderson <rth@redhat.com> |
3767 | ||
3768 | * src/alpha/ffi.c (ffi_call): Simplify struct return test. | |
3769 | (ffi_closure_osf_inner): Index rather than increment avalue | |
3770 | and arg_types. Give ffi_closure_osf the raw return value type. | |
3771 | * src/alpha/osf.S (ffi_closure_osf): Handle return value type | |
3772 | promotion. | |
3773 | ||
3774 | 2000-12-07 Richard Henderson <rth@redhat.com> | |
29fe0479 RH |
3775 | |
3776 | * src/raw_api.c (ffi_translate_args): Fix typo. | |
3777 | (ffi_prep_closure): Likewise. | |
3778 | ||
3779 | * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and | |
3780 | FFI_TRAMPOLINE_SIZE. | |
3781 | * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal | |
3782 | cif->bytes for new ffi_call_osf implementation. | |
3783 | (ffi_prep_args): Absorb into ... | |
3784 | (ffi_call): ... here. Do all stack allocation here and | |
3785 | avoid a callback function. | |
3786 | (ffi_prep_closure, ffi_closure_osf_inner): New. | |
3787 | * src/alpha/osf.S (ffi_call_osf): Reimplement with no callback. | |
3788 | (ffi_closure_osf): New. | |
3789 | ||
2f7bf5b7 AO |
3790 | 2000-09-10 Alexandre Oliva <aoliva@redhat.com> |
3791 | ||
ed1c1a1a AO |
3792 | * config.guess, config.sub, install-sh: Removed. |
3793 | * ltconfig, ltmain.sh, missing, mkinstalldirs: Likewise. | |
3794 | * Makefile.in: Rebuilt. | |
3795 | ||
2f7bf5b7 AO |
3796 | * acinclude.m4: Include libtool macros from the top level. |
3797 | * aclocal.m4, configure: Rebuilt. | |
3798 | ||
e15a68e7 AO |
3799 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
3800 | ||
3801 | * configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set. | |
3802 | * configure: Rebuilt. | |
3803 | ||
7f8c11d5 SB |
3804 | 2000-05-11 Scott Bambrough <scottb@netwinder.org> |
3805 | ||
4977bab6 ZW |
3806 | * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to |
3807 | memory correctly. Use conditional instructions, not branches where | |
7f8c11d5 SB |
3808 | possible. |
3809 | ||
c5acf51f TT |
3810 | 2000-05-04 Tom Tromey <tromey@cygnus.com> |
3811 | ||
3812 | * configure: Rebuilt. | |
3813 | * configure.in: Match `arm*-*-linux-*'. | |
3814 | From Chris Dornan <cdornan@arm.com>. | |
3815 | ||
91bffbe9 JJ |
3816 | 2000-04-28 Jakub Jelinek <jakub@redhat.com> |
3817 | ||
3818 | * Makefile.am (SUBDIRS): Define. | |
3819 | (AM_MAKEFLAGS): Likewise. | |
3820 | (Multilib support.): Add section. | |
3821 | * Makefile.in: Rebuilt. | |
3822 | * ltconfig (extra_compiler_flags, extra_compiler_flags_value): | |
4075db8f BT |
3823 | New variables. Set for gcc using -print-multi-lib. Export them |
3824 | to libtool. | |
3825 | (sparc64-*-linux-gnu*): Use libsuff 64 for search paths. | |
3826 | * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options | |
3827 | for -shared links. | |
3828 | (extra_compiler_flags_value, extra_compiler_flags): Check these | |
3829 | for extra compiler options which need to be passed down in | |
3830 | compiler_flags. | |
91bffbe9 | 3831 | |
bd66587e AG |
3832 | 2000-04-16 Anthony Green <green@redhat.com> |
3833 | ||
3834 | * configure: Rebuilt. | |
3835 | * configure.in: Change i*86-pc-linux* to i*86-*-linux*. | |
3836 | ||
3791773c JJ |
3837 | 2000-04-14 Jakub Jelinek <jakub@redhat.com> |
3838 | ||
4075db8f | 3839 | * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds. |
3791773c JJ |
3840 | Set SPARC FFI_DEFAULT_ABI based on SPARC64 define. |
3841 | * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args. | |
3842 | Replace all void * sizeofs with sizeof(int). | |
3843 | Only compare type with FFI_TYPE_LONGDOUBLE if LONGDOUBLE is | |
3844 | different than DOUBLE. | |
3845 | Remove FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases (handled elsewhere). | |
3846 | (ffi_prep_args_v9): New function. | |
3847 | (ffi_prep_cif_machdep): Handle V9 ABI and long long on V8. | |
3848 | (ffi_V9_return_struct): New function. | |
3849 | (ffi_call): Handle FFI_V9 ABI from 64bit code and FFI_V8 ABI from | |
3850 | 32bit code (not yet cross-arch calls). | |
3851 | * src/sparc/v8.S: Add struct return delay nop. | |
3852 | Handle long long. | |
3853 | * src/sparc/v9.S: New file. | |
3854 | * src/prep_cif.c (ffi_prep_cif): Return structure pointer | |
3855 | is used on sparc64 only for structures larger than 32 bytes. | |
3856 | Pass by reference for structures is done for structure arguments | |
3857 | larger than 16 bytes. | |
3858 | * src/ffitest.c (main): Use 64bit rint on sparc64. | |
3859 | Run long long tests on sparc. | |
3860 | * src/types.c (FFI_TYPE_POINTER): Pointer is 64bit on alpha and | |
3861 | sparc64. | |
3862 | (FFI_TYPE_LONGDOUBLE): long double is 128 bit aligned to 128 bits | |
3863 | on sparc64. | |
3864 | * configure.in (sparc-*-linux*): New supported target. | |
3865 | (sparc64-*-linux*): Likewise. | |
3866 | * configure: Rebuilt. | |
3867 | * Makefile.am: Add v9.S to SPARC files. | |
3868 | * Makefile.in: Likewise. | |
3869 | (LINK): Surround $(CCLD) into double quotes, so that multilib | |
3870 | compiles work correctly. | |
3871 | ||
db459595 APB |
3872 | 2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com> |
3873 | ||
3874 | * configure: Rebuilt. | |
3875 | * configure.in: (i*86-*-solaris*): New libffi target. Patch | |
3876 | proposed by Bryce McKinlay. | |
3877 | ||
c1f63902 TT |
3878 | 2000-03-20 Tom Tromey <tromey@cygnus.com> |
3879 | ||
3880 | * Makefile.in: Hand edit for java_raw_api.lo. | |
3881 | ||
0f72dc9e BM |
3882 | 2000-03-08 Bryce McKinlay <bryce@albatross.co.nz> |
3883 | ||
3884 | * config.guess, config.sub: Update from the gcc tree. | |
3885 | Fix for PR libgcj/168. | |
3886 | ||
3c18f2d1 TT |
3887 | 2000-03-03 Tom Tromey <tromey@cygnus.com> |
3888 | ||
323eee8a TT |
3889 | * Makefile.in: Fixed ia64 by hand. |
3890 | ||
3c18f2d1 TT |
3891 | * configure: Rebuilt. |
3892 | * configure.in (--enable-multilib): New option. | |
3893 | (libffi_basedir): New subst. | |
3894 | (AC_OUTPUT): Added multilib code. | |
3895 | ||
a2b10a92 TT |
3896 | 2000-03-02 Tom Tromey <tromey@cygnus.com> |
3897 | ||
3898 | * Makefile.in: Rebuilt. | |
3899 | * Makefile.am (TARGET_SRC_IA64): Use `ia64', not `alpha', as | |
3900 | directory name. | |
3901 | ||
dc5de370 HB |
3902 | 2000-02-25 Hans Boehm <boehm@acm.org> |
3903 | ||
3904 | * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New | |
3905 | files. | |
3906 | * src/raw_api.c (ffi_translate_args): Fixed typo in argument | |
3907 | list. | |
3908 | (ffi_prep_raw_closure): Use ffi_translate_args, not | |
3909 | ffi_closure_translate. | |
3910 | * src/java_raw_api.c: New file. | |
3911 | * src/ffitest.c (closure_test_fn): New function. | |
3912 | (main): Define `rint' as long long on IA64. Added new test when | |
3913 | FFI_CLOSURES is defined. | |
3914 | * include/ffi.h.in (ALIGN): Use size_t, not unsigned. | |
3915 | (ffi_abi): Recognize IA64. | |
3916 | (ffi_raw): Added `flt' field. | |
3917 | Added "Java raw API" code. | |
3918 | * configure.in: Recognize ia64. | |
3919 | * Makefile.am (TARGET_SRC_IA64): New macro. | |
3920 | (libffi_la_common_SOURCES): Added java_raw_api.c. | |
3921 | (libffi_la_SOURCES): Define in IA64 case. | |
3922 | ||
d79229bd TT |
3923 | 2000-01-04 Tom Tromey <tromey@cygnus.com> |
3924 | ||
3925 | * Makefile.in: Rebuilt with newer automake. | |
3926 | ||
2c33b220 TT |
3927 | 1999-12-31 Tom Tromey <tromey@cygnus.com> |
3928 | ||
3929 | * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src. | |
3930 | ||
6ba9e3b0 TT |
3931 | 1999-09-01 Tom Tromey <tromey@cygnus.com> |
3932 | ||
3933 | * include/ffi.h.in: Removed PACKAGE and VERSION defines and | |
3934 | undefs. | |
3935 | * fficonfig.h.in: Rebuilt. | |
3936 | * configure: Rebuilt. | |
3937 | * configure.in: Pass 3rd argument to AM_INIT_AUTOMAKE. | |
3938 | Use AM_PROG_LIBTOOL (automake 1.4 compatibility). | |
3939 | * acconfig.h: Don't #undef PACKAGE or VERSION. | |
3940 | ||
63e5e3e0 AG |
3941 | 1999-08-09 Anthony Green <green@cygnus.com> |
3942 | ||
3943 | * include/ffi.h.in: Try to work around messy header problem | |
3944 | with PACKAGE and VERSION. | |
3945 | ||
3946 | * configure: Rebuilt. | |
3947 | * configure.in: Change version to 2.00-beta. | |
3948 | ||
4075db8f | 3949 | * fficonfig.h.in: Rebuilt. |
63e5e3e0 AG |
3950 | * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define. |
3951 | ||
3952 | * src/x86/ffi.c (ffi_raw_call): Rename. | |
3953 | ||
3954 | 1999-08-02 Kresten Krab Thorup <krab@dominiq.is.s.u-tokyo.ac.jp> | |
3955 | ||
3956 | * src/x86/ffi.c (ffi_closure_SYSV): New function. | |
3957 | (ffi_prep_incoming_args_SYSV): Ditto. | |
3958 | (ffi_prep_closure): Ditto. | |
3959 | (ffi_closure_raw_SYSV): Ditto. | |
3960 | (ffi_prep_raw_closure): More ditto. | |
3961 | (ffi_call_raw): Final ditto. | |
3962 | ||
3963 | * include/ffi.h.in: Add definitions for closure and raw API. | |
3964 | ||
3965 | * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for | |
4977bab6 | 3966 | FFI_TYPE_UINT64. |
63e5e3e0 AG |
3967 | |
3968 | * Makefile.am (libffi_la_common_SOURCES): Added raw_api.c | |
3969 | ||
3970 | * src/raw_api.c: New file. | |
3971 | ||
3972 | * include/ffi.h.in (ffi_raw): New type. | |
3973 | (UINT_ARG, SINT_ARG): New defines. | |
3974 | (ffi_closure, ffi_raw_closure): New types. | |
3975 | (ffi_prep_closure, ffi_prep_raw_closure): New declarations. | |
4977bab6 | 3976 | |
63e5e3e0 AG |
3977 | * configure.in: Add check for endianness and sizeof void*. |
3978 | ||
3979 | * src/x86/sysv.S (ffi_call_SYSV): Call fixup routine via argument, | |
3980 | instead of directly. | |
3981 | ||
3982 | * configure: Rebuilt. | |
3983 | ||
3984 | Thu Jul 8 14:28:42 1999 Anthony Green <green@cygnus.com> | |
3985 | ||
3986 | * configure.in: Add x86 and powerpc BeOS configurations. | |
3987 | From Makoto Kato <m_kato@ga2.so-net.ne.jp>. | |
3988 | ||
3989 | 1999-05-09 Anthony Green <green@cygnus.com> | |
3990 | ||
3991 | * configure.in: Add warning about this being beta code. | |
3992 | Remove src/Makefile.am from the picture. | |
3993 | * configure: Rebuilt. | |
3994 | ||
3995 | * Makefile.am: Move logic from src/Makefile.am. Add changes | |
3996 | to support libffi as a target library. | |
3997 | * Makefile.in: Rebuilt. | |
3998 | ||
3999 | * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh: | |
4000 | Upgraded to new autoconf, automake, libtool. | |
4001 | ||
4002 | * README: Tweaks. | |
4003 | ||
4004 | * LICENSE: Update copyright date. | |
4005 | ||
4006 | * src/Makefile.am, src/Makefile.in: Removed. | |
4007 | ||
4008 | 1998-11-29 Anthony Green <green@cygnus.com> | |
4009 | ||
4010 | * include/ChangeLog: Removed. | |
4011 | * src/ChangeLog: Removed. | |
4012 | * src/mips/ChangeLog: Removed. | |
4013 | * src/sparc/ChangeLog: Remboved. | |
4014 | * src/x86/ChangeLog: Removed. | |
4015 | ||
4016 | * ChangeLog.v1: Created. |