ffi 0.5.4-x86-mswin32 → 0.6.3-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- data/History.txt +102 -0
- data/LICENSE +1 -27
- data/Rakefile +4 -12
- data/ext/ffi_c/AbstractMemory.c +6 -8
- data/ext/ffi_c/AbstractMemory.h +23 -21
- data/ext/ffi_c/AutoPointer.c +0 -1
- data/ext/ffi_c/Buffer.c +23 -8
- data/ext/ffi_c/Call.c +31 -3
- data/ext/ffi_c/Call.h +5 -1
- data/ext/ffi_c/DynamicLibrary.c +0 -1
- data/ext/ffi_c/Function.c +22 -4
- data/ext/ffi_c/MemoryPointer.c +2 -3
- data/ext/ffi_c/Pointer.c +23 -9
- data/ext/ffi_c/Struct.c +227 -79
- data/ext/ffi_c/Struct.h +16 -7
- data/ext/ffi_c/StructLayout.c +92 -55
- data/ext/ffi_c/Type.c +5 -22
- data/ext/ffi_c/Type.h +1 -1
- data/ext/ffi_c/Types.c +9 -3
- data/ext/ffi_c/Types.h +2 -0
- data/ext/ffi_c/extconf.rb +11 -7
- data/ext/ffi_c/libffi.gnu.mk +1 -1
- data/ext/ffi_c/libffi.mk +1 -1
- data/ext/ffi_c/libffi/ChangeLog +900 -84
- data/ext/ffi_c/libffi/ChangeLog.libffi +311 -0
- data/ext/ffi_c/libffi/LICENSE +1 -1
- data/ext/ffi_c/libffi/Makefile.am +14 -4
- data/ext/ffi_c/libffi/Makefile.in +362 -211
- data/ext/ffi_c/libffi/README +70 -92
- data/ext/ffi_c/libffi/aclocal.m4 +6068 -4586
- data/ext/ffi_c/libffi/config.guess +125 -143
- data/ext/ffi_c/libffi/config.sub +103 -27
- data/ext/ffi_c/libffi/configure +11340 -18473
- data/ext/ffi_c/libffi/configure.ac +43 -4
- data/ext/ffi_c/libffi/doc/libffi.info +15 -15
- data/ext/ffi_c/libffi/doc/libffi.texi +1 -1
- data/ext/ffi_c/libffi/doc/stamp-vti +4 -4
- data/ext/ffi_c/libffi/doc/version.texi +4 -4
- data/ext/ffi_c/libffi/fficonfig.h.in +24 -3
- data/ext/ffi_c/libffi/include/Makefile.am +1 -1
- data/ext/ffi_c/libffi/include/Makefile.in +97 -50
- data/ext/ffi_c/libffi/include/ffi.h.in +8 -2
- data/ext/ffi_c/libffi/include/ffi_common.h +24 -0
- data/ext/ffi_c/libffi/libtool-version +1 -1
- data/ext/ffi_c/libffi/ltmain.sh +7346 -5870
- data/ext/ffi_c/libffi/m4/libtool.m4 +7360 -0
- data/ext/ffi_c/libffi/m4/ltoptions.m4 +368 -0
- data/ext/ffi_c/libffi/m4/ltsugar.m4 +123 -0
- data/ext/ffi_c/libffi/m4/ltversion.m4 +23 -0
- data/ext/ffi_c/libffi/m4/lt~obsolete.m4 +92 -0
- data/ext/ffi_c/libffi/man/Makefile.in +115 -62
- data/ext/ffi_c/libffi/man/ffi_call.3 +3 -3
- data/ext/ffi_c/libffi/missing +15 -8
- data/ext/ffi_c/libffi/src/arm/sysv.S +15 -8
- data/ext/ffi_c/libffi/src/avr32/ffi.c +421 -0
- data/ext/ffi_c/libffi/src/avr32/ffitarget.h +50 -0
- data/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/ext/ffi_c/libffi/src/closures.c +47 -10
- data/ext/ffi_c/libffi/src/frv/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/java_raw_api.c +0 -3
- data/ext/ffi_c/libffi/src/mips/ffi.c +135 -32
- data/ext/ffi_c/libffi/src/mips/ffitarget.h +37 -4
- data/ext/ffi_c/libffi/src/mips/n32.S +67 -10
- data/ext/ffi_c/libffi/src/mips/o32.S +8 -8
- data/ext/ffi_c/libffi/src/pa/ffi.c +7 -0
- data/ext/ffi_c/libffi/src/powerpc/aix.S +163 -64
- data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +308 -112
- data/ext/ffi_c/libffi/src/powerpc/ffi.c +20 -7
- data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +208 -80
- data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +11 -3
- data/ext/ffi_c/libffi/src/powerpc/sysv.S +12 -23
- data/ext/ffi_c/libffi/src/s390/sysv.S +1 -1
- data/ext/ffi_c/libffi/src/sh/sysv.S +9 -9
- data/ext/ffi_c/libffi/src/sh64/ffi.c +37 -22
- data/ext/ffi_c/libffi/src/sh64/sysv.S +23 -14
- data/ext/ffi_c/libffi/src/sparc/ffi.c +21 -6
- data/ext/ffi_c/libffi/src/sparc/v8.S +55 -14
- data/ext/ffi_c/libffi/src/x86/darwin.S +10 -9
- data/ext/ffi_c/libffi/src/x86/ffi.c +293 -86
- data/ext/ffi_c/libffi/src/x86/ffi64.c +73 -19
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +30 -0
- data/ext/ffi_c/libffi/src/x86/sysv.S +21 -4
- data/ext/ffi_c/libffi/src/x86/unix64.S +8 -4
- data/ext/ffi_c/libffi/src/x86/win32.S +633 -147
- data/ext/ffi_c/libffi/src/x86/win64.S +460 -0
- data/ext/ffi_c/libffi/testsuite/Makefile.am +63 -54
- data/ext/ffi_c/libffi/testsuite/Makefile.in +112 -77
- data/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +12 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +4 -4
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +7 -14
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +6 -14
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +134 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +117 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +11 -17
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +7 -15
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +57 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +4 -13
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +57 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +140 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +8 -16
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +37 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +25 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +31 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +2 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +342 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +4 -12
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +124 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +10 -0
- data/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +4 -5
- data/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +17 -16
- data/ext/ffi_c/libffi/texinfo.tex +155 -427
- data/gen/Rakefile +4 -2
- data/lib/1.8/ffi_c.so +0 -0
- data/lib/1.9/ffi_c.so +0 -0
- data/lib/ffi/autopointer.rb +79 -20
- data/lib/ffi/callback.rb +4 -10
- data/lib/ffi/enum.rb +28 -0
- data/lib/ffi/ffi.rb +1 -0
- data/lib/ffi/io.rb +28 -0
- data/lib/ffi/library.rb +237 -182
- data/lib/ffi/memorypointer.rb +28 -62
- data/lib/ffi/platform.rb +27 -0
- data/lib/ffi/pointer.rb +28 -0
- data/lib/ffi/struct.rb +55 -1
- data/lib/ffi/types.rb +29 -0
- data/lib/ffi/variadic.rb +29 -0
- data/spec/ffi/library_spec.rb +31 -5
- data/spec/ffi/rbx/attach_function_spec.rb +2 -1
- data/spec/ffi/rbx/memory_pointer_spec.rb +2 -1
- data/spec/ffi/spec_helper.rb +5 -1
- data/spec/ffi/struct_spec.rb +82 -0
- data/tasks/ann.rake +80 -0
- data/tasks/extension.rake +25 -0
- data/tasks/gem.rake +200 -0
- data/tasks/git.rake +41 -0
- data/tasks/notes.rake +27 -0
- data/tasks/post_load.rake +34 -0
- data/tasks/rdoc.rake +50 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +300 -0
- data/tasks/spec.rake +54 -0
- data/tasks/svn.rake +47 -0
- data/tasks/test.rake +40 -0
- metadata +312 -279
- data/ext/ffi_c/libffi/TODO +0 -1
- data/ext/ffi_c/libffi/ltcf-c.sh +0 -861
- data/ext/ffi_c/libffi/ltcf-cxx.sh +0 -1069
- data/ext/ffi_c/libffi/ltcf-gcj.sh +0 -700
- data/ext/ffi_c/libffi/ltconfig +0 -2862
- data/ext/ffi_c/libffi/mkinstalldirs +0 -158
data/ext/ffi_c/libffi.gnu.mk
CHANGED
@@ -14,7 +14,7 @@ LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi
|
|
14
14
|
ifeq ($(srcdir),.)
|
15
15
|
LIBFFI_SRC_DIR := $(shell pwd)/libffi
|
16
16
|
else
|
17
|
-
LIBFFI_SRC_DIR := $(srcdir)/libffi
|
17
|
+
LIBFFI_SRC_DIR := $(abspath $(srcdir)/libffi)
|
18
18
|
endif
|
19
19
|
|
20
20
|
LIBFFI = $(LIBFFI_BUILD_DIR)/.libs/libffi_convenience.a
|
data/ext/ffi_c/libffi.mk
CHANGED
@@ -7,7 +7,7 @@ $(LIBFFI):
|
|
7
7
|
@if [ ! -f $(LIBFFI_BUILD_DIR)/Makefile ]; then \
|
8
8
|
echo "Configuring libffi"; \
|
9
9
|
cd $(LIBFFI_BUILD_DIR) && \
|
10
|
-
/usr/bin/env
|
10
|
+
/usr/bin/env CFLAGS="$(LIBFFI_CFLAGS)" \
|
11
11
|
/bin/sh $(LIBFFI_CONFIGURE) $(LIBFFI_HOST) > /dev/null; \
|
12
12
|
fi
|
13
13
|
cd $(LIBFFI_BUILD_DIR) && $(MAKE)
|
data/ext/ffi_c/libffi/ChangeLog
CHANGED
@@ -1,3 +1,819 @@
|
|
1
|
+
2009-12-28 David Edelsohn <edelsohn@gnu.org>
|
2
|
+
|
3
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Copy abi and nargs to
|
4
|
+
local variables.
|
5
|
+
(aix_adjust_aggregate_sizes): New function.
|
6
|
+
(ffi_prep_cif_machdep): Call it.
|
7
|
+
|
8
|
+
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
|
9
|
+
|
10
|
+
* configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
|
11
|
+
* configure: Regenerate.
|
12
|
+
* fficonfig.h.in: Likewise.
|
13
|
+
* src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for
|
14
|
+
Solaris/x86.
|
15
|
+
|
16
|
+
2009-12-26 Andreas Schwab <schwab@linux-m68k.org>
|
17
|
+
|
18
|
+
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
|
19
|
+
when a float arguments is passed in memory.
|
20
|
+
(ffi_closure_helper_SYSV): Mark general registers as used up when
|
21
|
+
a 64bit or soft-float long double argument is passed in memory.
|
22
|
+
|
23
|
+
2009-12-25 Matthias Klose <doko@ubuntu.com>
|
24
|
+
|
25
|
+
* man/ffi_call.3: Fix #include in examples.
|
26
|
+
* doc/libffi.texi: Add dircategory.
|
27
|
+
|
28
|
+
2009-12-25 Frank Everdij <f.p.x.everdij@tudelft.nl>
|
29
|
+
|
30
|
+
* include/ffi.h.in: Placed '__GNUC__' ifdef around
|
31
|
+
'__attribute__((aligned(8)))' in ffi_closure, fixes compile for
|
32
|
+
IRIX MIPSPro c99.
|
33
|
+
* include/ffi_common.h: Added '__sgi' define to non
|
34
|
+
'__attribute__((__mode__()))' integer typedefs.
|
35
|
+
* src/mips/ffi.c (ffi_call, ffi_closure_mips_inner_O32,
|
36
|
+
ffi_closure_mips_inner_N32): Added 'defined(_MIPSEB)' to BE check.
|
37
|
+
(ffi_closure_mips_inner_O32, ffi_closure_mips_inner_N32): Added
|
38
|
+
FFI_LONGDOUBLE support and alignment(N32 only).
|
39
|
+
* src/mips/ffitarget.h: Corrected '#include <sgidefs.h>' for IRIX and
|
40
|
+
fixed non '__attribute__((__mode__()))' integer typedefs.
|
41
|
+
* src/mips/n32.S: Put '#ifdef linux' around '.abicalls' and '.eh_frame'
|
42
|
+
since they are Linux/GNU Assembler specific.
|
43
|
+
|
44
|
+
2009-12-25 Bradley Smith <brad@brad-smith.co.uk>
|
45
|
+
|
46
|
+
* configure.ac, Makefile.am, src/avr32/ffi.c,
|
47
|
+
src/avr32/ffitarget.h,
|
48
|
+
src/avr32/sysv.S: Add AVR32 port.
|
49
|
+
* configure, Makefile.in: Rebuilt.
|
50
|
+
|
51
|
+
2009-12-21 Andreas Tobler <a.tobler@schweiz.org>
|
52
|
+
|
53
|
+
* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
|
54
|
+
* configure: Regenerate.
|
55
|
+
|
56
|
+
2009-12-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
57
|
+
|
58
|
+
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.
|
59
|
+
|
60
|
+
2009-12-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
61
|
+
|
62
|
+
* src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE
|
63
|
+
type on HP-UX.
|
64
|
+
|
65
|
+
2009-12-11 Eric Botcazou <ebotcazou@adacore.com>
|
66
|
+
|
67
|
+
* src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
|
68
|
+
double' arguments.
|
69
|
+
|
70
|
+
2009-12-11 Eric Botcazou <ebotcazou@adacore.com>
|
71
|
+
|
72
|
+
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10.
|
73
|
+
|
74
|
+
2009-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
75
|
+
|
76
|
+
PR libffi/40700
|
77
|
+
* src/closures.c [X86_64 && __sun__ && __svr4__]
|
78
|
+
(FFI_MMAP_EXEC_WRIT): Define.
|
79
|
+
|
80
|
+
2009-12-08 David Daney <ddaney@caviumnetworks.com>
|
81
|
+
|
82
|
+
* testsuite/libffi.call/stret_medium.c: Remove xfail for mips*-*-*
|
83
|
+
* testsuite/libffi.call/cls_align_longdouble_split2.c: Same.
|
84
|
+
* testsuite/libffi.call/stret_large.c: Same.
|
85
|
+
* testsuite/libffi.call/cls_align_longdouble_split.c: Same.
|
86
|
+
* testsuite/libffi.call/stret_large2.c: Same.
|
87
|
+
* testsuite/libffi.call/stret_medium2.c: Same.
|
88
|
+
|
89
|
+
2009-12-07 David Edelsohn <edelsohn@gnu.org>
|
90
|
+
|
91
|
+
* src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
|
92
|
+
typo.
|
93
|
+
|
94
|
+
2009-12-05 David Edelsohn <edelsohn@gnu.org>
|
95
|
+
|
96
|
+
* src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
|
97
|
+
code.
|
98
|
+
* src/powerpc/aix_closure.S: Same.
|
99
|
+
|
100
|
+
2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
101
|
+
|
102
|
+
* Makefile.in: Regenerate.
|
103
|
+
* configure: Regenerate.
|
104
|
+
* include/Makefile.in: Regenerate.
|
105
|
+
* man/Makefile.in: Regenerate.
|
106
|
+
* testsuite/Makefile.in: Regenerate.
|
107
|
+
|
108
|
+
2009-12-04 David Edelsohn <edelsohn@gnu.org>
|
109
|
+
|
110
|
+
* src/powerpc/aix_closure.S: Reorganize 64-bit code to match
|
111
|
+
linux64_closure.S.
|
112
|
+
|
113
|
+
2009-12-04 Uros Bizjak <ubizjak@gmail.com>
|
114
|
+
|
115
|
+
PR libffi/41908
|
116
|
+
* src/x86/ffi64.c (classify_argument): Update from
|
117
|
+
gcc/config/i386/i386.c.
|
118
|
+
(ffi_closure_unix64_inner): Do not use the address of two consecutive
|
119
|
+
SSE registers directly.
|
120
|
+
* testsuite/libffi.call/cls_dbls_struct.c (main): Remove xfail
|
121
|
+
for x86_64 linux targets.
|
122
|
+
|
123
|
+
2009-12-04 David Edelsohn <edelsohn@gnu.org>
|
124
|
+
|
125
|
+
* src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment
|
126
|
+
pfr for long double split between fpr13 and stack.
|
127
|
+
|
128
|
+
2009-12-03 David Edelsohn <edelsohn@gnu.org>
|
129
|
+
|
130
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Increment next_arg and
|
131
|
+
fparg_count twice for long double.
|
132
|
+
|
133
|
+
2009-12-03 David Edelsohn <edelsohn@gnu.org>
|
134
|
+
|
135
|
+
PR libffi/42243
|
136
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Remove extra parentheses.
|
137
|
+
|
138
|
+
2009-12-03 Uros Bizjak <ubizjak@gmail.com>
|
139
|
+
|
140
|
+
* testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
|
141
|
+
Remove xfails for x86 linux targets.
|
142
|
+
|
143
|
+
2009-12-02 David Edelsohn <edelsohn@gnu.org>
|
144
|
+
|
145
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
|
146
|
+
case.
|
147
|
+
|
148
|
+
2009-12-01 David Edelsohn <edelsohn@gnu.org>
|
149
|
+
|
150
|
+
* src/powerpc/aix.S (ffi_call_AIX): Convert to more standard
|
151
|
+
register usage. Call ffi_prep_args directly. Add long double
|
152
|
+
return value support.
|
153
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Double arg increment
|
154
|
+
applies to FFI_TYPE_DOUBLE. Correct fpr_base increment typo.
|
155
|
+
Separate FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases.
|
156
|
+
(ffi_prep_cif_machdep): Only 16 byte stack alignment in 64 bit
|
157
|
+
mode.
|
158
|
+
(ffi_closure_helper_DARWIN): Remove nf and ng counters. Move temp
|
159
|
+
into case.
|
160
|
+
* src/powerpc/aix_closure.S: Maintain 16 byte stack alignment.
|
161
|
+
Allocate result area between params and FPRs.
|
162
|
+
|
163
|
+
2009-11-30 David Edelsohn <edelsohn@gnu.org>
|
164
|
+
|
165
|
+
PR target/35484
|
166
|
+
* src/powerpc/ffitarget.h (POWERPC64): Define for PPC64 Linux and
|
167
|
+
AIX64.
|
168
|
+
* src/powerpc/aix.S: Implement AIX64 version.
|
169
|
+
* src/powerpc/aix_closure.S: Implement AIX64 version.
|
170
|
+
(ffi_closure_ASM): Use extsb, lha and displament addresses.
|
171
|
+
* src/powerpc/ffi_darwin.c (ffi_prep_args): Implement AIX64
|
172
|
+
support.
|
173
|
+
(ffi_prep_cif_machdep): Same.
|
174
|
+
(ffi_call): Same.
|
175
|
+
(ffi_closure_helper_DARWIN): Same.
|
176
|
+
|
177
|
+
2009-11-02 Andreas Tobler <a.tobler@schweiz.org>
|
178
|
+
|
179
|
+
PR libffi/41908
|
180
|
+
* testsuite/libffi.call/testclosure.c: New test.
|
181
|
+
|
182
|
+
2009-09-28 Kai Tietz <kai.tietz@onevision.com>
|
183
|
+
|
184
|
+
* src/x86/win64.S (_ffi_call_win64 stack): Remove for gnu
|
185
|
+
assembly version use of ___chkstk.
|
186
|
+
|
187
|
+
2009-09-23 Matthias Klose <doko@ubuntu.com>
|
188
|
+
|
189
|
+
PR libffi/40242, PR libffi/41443
|
190
|
+
* src/arm/sysv.S (__ARM_ARCH__): Define for processors
|
191
|
+
__ARM_ARCH_6T2__, __ARM_ARCH_6M__, __ARM_ARCH_7__,
|
192
|
+
__ARM_ARCH_7A__, __ARM_ARCH_7R__, __ARM_ARCH_7M__.
|
193
|
+
Change the conditionals to __SOFTFP__ || __ARM_EABI__
|
194
|
+
for -mfloat-abi=softfp to work.
|
195
|
+
|
196
|
+
2009-09-17 Loren J. Rittle <ljrittle@acm.org>
|
197
|
+
|
198
|
+
PR testsuite/32843 (strikes again)
|
199
|
+
* src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to
|
200
|
+
enable proper extension on char and short.
|
201
|
+
|
202
|
+
2009-09-15 David Daney <ddaney@caviumnetworks.com>
|
203
|
+
|
204
|
+
* src/java_raw_api.c (ffi_java_raw_to_rvalue): Remove special
|
205
|
+
handling for FFI_TYPE_POINTER.
|
206
|
+
* src/mips/ffitarget.h (FFI_TYPE_STRUCT_D_SOFT,
|
207
|
+
FFI_TYPE_STRUCT_F_SOFT, FFI_TYPE_STRUCT_DD_SOFT,
|
208
|
+
FFI_TYPE_STRUCT_FF_SOFT, FFI_TYPE_STRUCT_FD_SOFT,
|
209
|
+
FFI_TYPE_STRUCT_DF_SOFT, FFI_TYPE_STRUCT_SOFT): New defines.
|
210
|
+
(FFI_N32_SOFT_FLOAT, FFI_N64_SOFT_FLOAT): New ffi_abi enumerations.
|
211
|
+
(enum ffi_abi): Set FFI_DEFAULT_ABI for soft-float.
|
212
|
+
* src/mips/n32.S (ffi_call_N32): Add handling for soft-float
|
213
|
+
structure and pointer returns.
|
214
|
+
(ffi_closure_N32): Add handling for pointer returns.
|
215
|
+
* src/mips/ffi.c (ffi_prep_args, calc_n32_struct_flags,
|
216
|
+
calc_n32_return_struct_flags): Handle soft-float.
|
217
|
+
(ffi_prep_cif_machdep): Handle soft-float, fix pointer handling.
|
218
|
+
(ffi_call_N32): Declare proper argument types.
|
219
|
+
(ffi_call, copy_struct_N32, ffi_closure_mips_inner_N32): Handle
|
220
|
+
soft-float.
|
221
|
+
|
222
|
+
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
223
|
+
|
224
|
+
* configure.ac (AC_PREREQ): Bump to 2.64.
|
225
|
+
|
226
|
+
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
227
|
+
|
228
|
+
* Makefile.am (install-html, install-pdf): Remove.
|
229
|
+
* Makefile.in: Regenerate.
|
230
|
+
|
231
|
+
* Makefile.in: Regenerate.
|
232
|
+
* aclocal.m4: Regenerate.
|
233
|
+
* configure: Regenerate.
|
234
|
+
* fficonfig.h.in: Regenerate.
|
235
|
+
* include/Makefile.in: Regenerate.
|
236
|
+
* man/Makefile.in: Regenerate.
|
237
|
+
* testsuite/Makefile.in: Regenerate.
|
238
|
+
|
239
|
+
2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
240
|
+
|
241
|
+
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
|
242
|
+
|
243
|
+
2009-07-24 Dave Korn <dave.korn.cygwin@gmail.com>
|
244
|
+
|
245
|
+
PR libffi/40807
|
246
|
+
* src/x86/ffi.c (ffi_prep_cif_machdep): Also use sign/zero-extending
|
247
|
+
return types for X86_WIN32.
|
248
|
+
* src/x86/win32.S (_ffi_call_SYSV): Handle omitted return types.
|
249
|
+
(_ffi_call_STDCALL, _ffi_closure_SYSV, _ffi_closure_raw_SYSV,
|
250
|
+
_ffi_closure_STDCALL): Likewise.
|
251
|
+
|
252
|
+
* src/closures.c (is_selinux_enabled): Define to const 0 for Cygwin.
|
253
|
+
(dlmmap, dlmunmap): Also use these functions on Cygwin.
|
254
|
+
|
255
|
+
2009-07-11 Richard Sandiford <rdsandiford@googlemail.com>
|
256
|
+
|
257
|
+
PR testsuite/40699
|
258
|
+
PR testsuite/40707
|
259
|
+
PR testsuite/40709
|
260
|
+
* testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and
|
261
|
+
2009-06-30 commits.
|
262
|
+
|
263
|
+
2009-07-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
264
|
+
|
265
|
+
* testsuite/lib/libffi-dg.exp (libffi-init): Set ld_library_path
|
266
|
+
to "" before adding paths. (This reinstates an assignment that
|
267
|
+
was removed by my 2009-06-30 commit, but changes the initial
|
268
|
+
value from "." to "".)
|
269
|
+
|
270
|
+
2009-07-01 H.J. Lu <hongjiu.lu@intel.com>
|
271
|
+
|
272
|
+
PR testsuite/40601
|
273
|
+
* testsuite/lib/libffi-dg.exp (libffi-init): Properly set
|
274
|
+
gccdir. Adjust ld_library_path for gcc only if gccdir isn't
|
275
|
+
empty.
|
276
|
+
|
277
|
+
2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com>
|
278
|
+
|
279
|
+
* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
|
280
|
+
to ld_library_path. Use add_path. Add just find_libgcc_s
|
281
|
+
to ld_library_path, not every libgcc multilib directory.
|
282
|
+
|
283
|
+
2009-06-16 Wim Lewis <wiml@hhhh.org>
|
284
|
+
|
285
|
+
* src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are
|
286
|
+
supposed to be callee-saved.
|
287
|
+
* src/powerpc/sysv.S (small_struct_return_value): Fix overrun of
|
288
|
+
return buffer for odd-size structs.
|
289
|
+
|
290
|
+
2009-06-16 Andreas Tobler <a.tobler@schweiz.org>
|
291
|
+
|
292
|
+
PR libffi/40444
|
293
|
+
* testsuite/lib/libffi-dg.exp (libffi_target_compile): Add
|
294
|
+
allow_stack_execute for Darwin.
|
295
|
+
|
296
|
+
2009-06-16 Andrew Haley <aph@redhat.com>
|
297
|
+
|
298
|
+
* configure.ac (TARGETDIR): Add missing blank lines.
|
299
|
+
* configure: Regenerate.
|
300
|
+
|
301
|
+
2009-06-16 Andrew Haley <aph@redhat.com>
|
302
|
+
|
303
|
+
* testsuite/libffi.call/cls_align_sint64.c,
|
304
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
305
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
306
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
307
|
+
testsuite/libffi.call/return_ll1.c,
|
308
|
+
testsuite/libffi.call/stret_medium2.c: Fix printf format
|
309
|
+
specifiers.
|
310
|
+
* testsuite/libffi.call/ffitest.h,
|
311
|
+
testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define.
|
312
|
+
|
313
|
+
2009-06-15 Andrew Haley <aph@redhat.com>
|
314
|
+
|
315
|
+
* testsuite/libffi.call/err_bad_typedef.c: xfail everywhere.
|
316
|
+
* testsuite/libffi.call/err_bad_abi.c: Likewise.
|
317
|
+
|
318
|
+
2009-06-12 Andrew Haley <aph@redhat.com>
|
319
|
+
|
320
|
+
* Makefile.am: Remove info_TEXINFOS.
|
321
|
+
|
322
|
+
2009-06-12 Andrew Haley <aph@redhat.com>
|
323
|
+
|
324
|
+
* ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c,
|
325
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
326
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
327
|
+
testsuite/libffi.call/return_ll1.c,
|
328
|
+
testsuite/libffi.call/stret_medium2.c: Fix printf format
|
329
|
+
specifiers.
|
330
|
+
testsuite/libffi.special/unwindtest.cc: include stdint.h.
|
331
|
+
|
332
|
+
2009-06-11 Timothy Wall <twall@users.sf.net>
|
333
|
+
|
334
|
+
* Makefile.am,
|
335
|
+
configure.ac,
|
336
|
+
include/ffi.h.in,
|
337
|
+
include/ffi_common.h,
|
338
|
+
src/closures.c,
|
339
|
+
src/dlmalloc.c,
|
340
|
+
src/x86/ffi.c,
|
341
|
+
src/x86/ffitarget.h,
|
342
|
+
src/x86/win64.S (new),
|
343
|
+
README: Added win64 support (mingw or MSVC)
|
344
|
+
* Makefile.in,
|
345
|
+
include/Makefile.in,
|
346
|
+
man/Makefile.in,
|
347
|
+
testsuite/Makefile.in,
|
348
|
+
configure,
|
349
|
+
aclocal.m4: Regenerated
|
350
|
+
* ltcf-c.sh: properly escape cygwin/w32 path
|
351
|
+
* man/ffi_call.3: Clarify size requirements for return value.
|
352
|
+
* src/x86/ffi64.c: Fix filename in comment.
|
353
|
+
* src/x86/win32.S: Remove unused extern.
|
354
|
+
|
355
|
+
* testsuite/libffi.call/closure_fn0.c,
|
356
|
+
testsuite/libffi.call/closure_fn1.c,
|
357
|
+
testsuite/libffi.call/closure_fn2.c,
|
358
|
+
testsuite/libffi.call/closure_fn3.c,
|
359
|
+
testsuite/libffi.call/closure_fn4.c,
|
360
|
+
testsuite/libffi.call/closure_fn5.c,
|
361
|
+
testsuite/libffi.call/closure_fn6.c,
|
362
|
+
testsuite/libffi.call/closure_stdcall.c,
|
363
|
+
testsuite/libffi.call/cls_12byte.c,
|
364
|
+
testsuite/libffi.call/cls_16byte.c,
|
365
|
+
testsuite/libffi.call/cls_18byte.c,
|
366
|
+
testsuite/libffi.call/cls_19byte.c,
|
367
|
+
testsuite/libffi.call/cls_1_1byte.c,
|
368
|
+
testsuite/libffi.call/cls_20byte.c,
|
369
|
+
testsuite/libffi.call/cls_20byte1.c,
|
370
|
+
testsuite/libffi.call/cls_24byte.c,
|
371
|
+
testsuite/libffi.call/cls_2byte.c,
|
372
|
+
testsuite/libffi.call/cls_3_1byte.c,
|
373
|
+
testsuite/libffi.call/cls_3byte1.c,
|
374
|
+
testsuite/libffi.call/cls_3byte2.c,
|
375
|
+
testsuite/libffi.call/cls_4_1byte.c,
|
376
|
+
testsuite/libffi.call/cls_4byte.c,
|
377
|
+
testsuite/libffi.call/cls_5_1_byte.c,
|
378
|
+
testsuite/libffi.call/cls_5byte.c,
|
379
|
+
testsuite/libffi.call/cls_64byte.c,
|
380
|
+
testsuite/libffi.call/cls_6_1_byte.c,
|
381
|
+
testsuite/libffi.call/cls_6byte.c,
|
382
|
+
testsuite/libffi.call/cls_7_1_byte.c,
|
383
|
+
testsuite/libffi.call/cls_7byte.c,
|
384
|
+
testsuite/libffi.call/cls_8byte.c,
|
385
|
+
testsuite/libffi.call/cls_9byte1.c,
|
386
|
+
testsuite/libffi.call/cls_9byte2.c,
|
387
|
+
testsuite/libffi.call/cls_align_double.c,
|
388
|
+
testsuite/libffi.call/cls_align_float.c,
|
389
|
+
testsuite/libffi.call/cls_align_longdouble.c,
|
390
|
+
testsuite/libffi.call/cls_align_longdouble_split.c,
|
391
|
+
testsuite/libffi.call/cls_align_longdouble_split2.c,
|
392
|
+
testsuite/libffi.call/cls_align_pointer.c,
|
393
|
+
testsuite/libffi.call/cls_align_sint16.c,
|
394
|
+
testsuite/libffi.call/cls_align_sint32.c,
|
395
|
+
testsuite/libffi.call/cls_align_sint64.c,
|
396
|
+
testsuite/libffi.call/cls_align_uint16.c,
|
397
|
+
testsuite/libffi.call/cls_align_uint32.c,
|
398
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
399
|
+
testsuite/libffi.call/cls_dbls_struct.c,
|
400
|
+
testsuite/libffi.call/cls_double.c,
|
401
|
+
testsuite/libffi.call/cls_double_va.c,
|
402
|
+
testsuite/libffi.call/cls_float.c,
|
403
|
+
testsuite/libffi.call/cls_longdouble.c,
|
404
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
405
|
+
testsuite/libffi.call/cls_multi_schar.c,
|
406
|
+
testsuite/libffi.call/cls_multi_sshort.c,
|
407
|
+
testsuite/libffi.call/cls_multi_sshortchar.c,
|
408
|
+
testsuite/libffi.call/cls_multi_uchar.c,
|
409
|
+
testsuite/libffi.call/cls_multi_ushort.c,
|
410
|
+
testsuite/libffi.call/cls_multi_ushortchar.c,
|
411
|
+
testsuite/libffi.call/cls_pointer.c,
|
412
|
+
testsuite/libffi.call/cls_pointer_stack.c,
|
413
|
+
testsuite/libffi.call/cls_schar.c,
|
414
|
+
testsuite/libffi.call/cls_sint.c,
|
415
|
+
testsuite/libffi.call/cls_sshort.c,
|
416
|
+
testsuite/libffi.call/cls_uchar.c,
|
417
|
+
testsuite/libffi.call/cls_uint.c,
|
418
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
419
|
+
testsuite/libffi.call/cls_ushort.c,
|
420
|
+
testsuite/libffi.call/err_bad_abi.c,
|
421
|
+
testsuite/libffi.call/err_bad_typedef.c,
|
422
|
+
testsuite/libffi.call/float2.c,
|
423
|
+
testsuite/libffi.call/huge_struct.c,
|
424
|
+
testsuite/libffi.call/nested_struct.c,
|
425
|
+
testsuite/libffi.call/nested_struct1.c,
|
426
|
+
testsuite/libffi.call/nested_struct10.c,
|
427
|
+
testsuite/libffi.call/nested_struct2.c,
|
428
|
+
testsuite/libffi.call/nested_struct3.c,
|
429
|
+
testsuite/libffi.call/nested_struct4.c,
|
430
|
+
testsuite/libffi.call/nested_struct5.c,
|
431
|
+
testsuite/libffi.call/nested_struct6.c,
|
432
|
+
testsuite/libffi.call/nested_struct7.c,
|
433
|
+
testsuite/libffi.call/nested_struct8.c,
|
434
|
+
testsuite/libffi.call/nested_struct9.c,
|
435
|
+
testsuite/libffi.call/problem1.c,
|
436
|
+
testsuite/libffi.call/return_ldl.c,
|
437
|
+
testsuite/libffi.call/return_ll1.c,
|
438
|
+
testsuite/libffi.call/stret_large.c,
|
439
|
+
testsuite/libffi.call/stret_large2.c,
|
440
|
+
testsuite/libffi.call/stret_medium.c,
|
441
|
+
testsuite/libffi.call/stret_medium2.c,
|
442
|
+
testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead
|
443
|
+
of checking for MMAP. Use intptr_t instead of long casts.
|
444
|
+
|
445
|
+
2009-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
|
446
|
+
|
447
|
+
* testsuite/libffi.call/cls_longdouble_va.c: Add xfail sh*-*-linux-*.
|
448
|
+
* testsuite/libffi.call/err_bad_abi.c: Add xfail sh*-*-*.
|
449
|
+
* testsuite/libffi.call/err_bad_typedef.c: Likewise.
|
450
|
+
|
451
|
+
2009-06-09 Andrew Haley <aph@redhat.com>
|
452
|
+
|
453
|
+
* src/x86/freebsd.S: Add missing file.
|
454
|
+
|
455
|
+
2009-06-08 Andrew Haley <aph@redhat.com>
|
456
|
+
|
457
|
+
Import from libffi 3.0.8:
|
458
|
+
|
459
|
+
* doc/libffi.texi: New file.
|
460
|
+
* doc/libffi.info: Likewise.
|
461
|
+
* doc/stamp-vti: Likewise.
|
462
|
+
* man/Makefile.am: New file.
|
463
|
+
* man/ffi_call.3: New file.
|
464
|
+
|
465
|
+
* Makefile.am (EXTRA_DIST): Add src/x86/darwin64.S,
|
466
|
+
src/dlmalloc.c.
|
467
|
+
(nodist_libffi_la_SOURCES): Add X86_FREEBSD.
|
468
|
+
|
469
|
+
* configure.ac: Bump version to 3.0.8.
|
470
|
+
parisc*-*-linux*: Add.
|
471
|
+
i386-*-freebsd* | i386-*-openbsd*: Add.
|
472
|
+
powerpc-*-beos*: Add.
|
473
|
+
AM_CONDITIONAL X86_FREEBSD: Add.
|
474
|
+
AC_CONFIG_FILES: Add man/Makefile.
|
475
|
+
|
476
|
+
* include/ffi.h.in (FFI_FN): Change void (*)() to void (*)(void).
|
477
|
+
|
478
|
+
2009-06-08 Andrew Haley <aph@redhat.com>
|
479
|
+
|
480
|
+
* README: Import from libffi 3.0.8.
|
481
|
+
|
482
|
+
2009-06-08 Andrew Haley <aph@redhat.com>
|
483
|
+
|
484
|
+
* testsuite/libffi.call/err_bad_abi.c: Add xfails.
|
485
|
+
* testsuite/libffi.call/cls_longdouble_va.c: Add xfails.
|
486
|
+
* testsuite/libffi.call/cls_dbls_struct.c: Add xfail x86_64-*-linux-*.
|
487
|
+
* testsuite/libffi.call/err_bad_typedef.c: Add xfails.
|
488
|
+
|
489
|
+
* testsuite/libffi.call/stret_medium2.c: Add __UNUSED__ to args.
|
490
|
+
* testsuite/libffi.call/stret_medium.c: Likewise.
|
491
|
+
* testsuite/libffi.call/stret_large2.c: Likewise.
|
492
|
+
* testsuite/libffi.call/stret_large.c: Likewise.
|
493
|
+
|
494
|
+
2008-12-26 Timothy Wall <twall@users.sf.net>
|
495
|
+
|
496
|
+
* testsuite/libffi.call/cls_longdouble.c,
|
497
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
498
|
+
testsuite/libffi.call/cls_align_longdouble.c,
|
499
|
+
testsuite/libffi.call/cls_align_longdouble_split.c,
|
500
|
+
testsuite/libffi.call/cls_align_longdouble_split2.c: mark expected
|
501
|
+
failures on x86_64 cygwin/mingw.
|
502
|
+
|
503
|
+
2008-12-22 Timothy Wall <twall@users.sf.net>
|
504
|
+
|
505
|
+
* testsuite/libffi.call/closure_fn0.c,
|
506
|
+
testsuite/libffi.call/closure_fn1.c,
|
507
|
+
testsuite/libffi.call/closure_fn2.c,
|
508
|
+
testsuite/libffi.call/closure_fn3.c,
|
509
|
+
testsuite/libffi.call/closure_fn4.c,
|
510
|
+
testsuite/libffi.call/closure_fn5.c,
|
511
|
+
testsuite/libffi.call/closure_fn6.c,
|
512
|
+
testsuite/libffi.call/closure_loc_fn0.c,
|
513
|
+
testsuite/libffi.call/closure_stdcall.c,
|
514
|
+
testsuite/libffi.call/cls_align_pointer.c,
|
515
|
+
testsuite/libffi.call/cls_pointer.c,
|
516
|
+
testsuite/libffi.call/cls_pointer_stack.c: use portable cast from
|
517
|
+
pointer to integer (intptr_t).
|
518
|
+
* testsuite/libffi.call/cls_longdouble.c: disable for win64.
|
519
|
+
|
520
|
+
2008-07-24 Anthony Green <green@redhat.com>
|
521
|
+
|
522
|
+
* testsuite/libffi.call/cls_dbls_struct.c,
|
523
|
+
testsuite/libffi.call/cls_double_va.c,
|
524
|
+
testsuite/libffi.call/cls_longdouble.c,
|
525
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
526
|
+
testsuite/libffi.call/cls_pointer.c,
|
527
|
+
testsuite/libffi.call/cls_pointer_stack.c,
|
528
|
+
testsuite/libffi.call/err_bad_abi.c: Clean up failures from
|
529
|
+
compiler warnings.
|
530
|
+
|
531
|
+
2008-03-04 Anthony Green <green@redhat.com>
|
532
|
+
Blake Chaffin
|
533
|
+
hos@tamanegi.org
|
534
|
+
|
535
|
+
* testsuite/libffi.call/cls_align_longdouble_split2.c
|
536
|
+
testsuite/libffi.call/cls_align_longdouble_split.c
|
537
|
+
testsuite/libffi.call/cls_dbls_struct.c
|
538
|
+
testsuite/libffi.call/cls_double_va.c
|
539
|
+
testsuite/libffi.call/cls_longdouble.c
|
540
|
+
testsuite/libffi.call/cls_longdouble_va.c
|
541
|
+
testsuite/libffi.call/cls_pointer.c
|
542
|
+
testsuite/libffi.call/cls_pointer_stack.c
|
543
|
+
testsuite/libffi.call/err_bad_abi.c
|
544
|
+
testsuite/libffi.call/err_bad_typedef.c
|
545
|
+
testsuite/libffi.call/stret_large2.c
|
546
|
+
testsuite/libffi.call/stret_large.c
|
547
|
+
testsuite/libffi.call/stret_medium2.c
|
548
|
+
testsuite/libffi.call/stret_medium.c: New tests from Apple.
|
549
|
+
|
550
|
+
2009-06-05 Andrew Haley <aph@redhat.com>
|
551
|
+
|
552
|
+
* src/x86/ffitarget.h, src/x86/ffi.c: Merge stdcall changes from
|
553
|
+
libffi.
|
554
|
+
|
555
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
556
|
+
|
557
|
+
* src/x86/ffitarget.h, src/x86/win32.S, src/x86/ffi.c: Back out
|
558
|
+
stdcall changes.
|
559
|
+
|
560
|
+
2008-02-26 Anthony Green <green@redhat.com>
|
561
|
+
Thomas Heller <theller@ctypes.org>
|
562
|
+
|
563
|
+
* src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
|
564
|
+
comment.
|
565
|
+
|
566
|
+
2008-02-03 Timothy Wall <twall@users.sf.net>
|
567
|
+
|
568
|
+
* src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
|
569
|
+
offset based on code pointer, not data pointer.
|
570
|
+
|
571
|
+
2008-01-31 Timothy Wall <twall@users.sf.net>
|
572
|
+
|
573
|
+
* testsuite/libffi.call/closure_stdcall.c: Add test for stdcall
|
574
|
+
closures.
|
575
|
+
* src/x86/ffitarget.h: Increase size of trampoline for stdcall
|
576
|
+
closures.
|
577
|
+
* src/x86/win32.S: Add assembly for stdcall closure.
|
578
|
+
* src/x86/ffi.c: Initialize stdcall closure trampoline.
|
579
|
+
|
580
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
581
|
+
|
582
|
+
* include/ffi.h.in: Change void (*)() to void (*)(void).
|
583
|
+
* src/x86/ffi.c: Likewise.
|
584
|
+
|
585
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
586
|
+
|
587
|
+
* src/powerpc/ppc_closure.S: Insert licence header.
|
588
|
+
* src/powerpc/linux64_closure.S: Likewise.
|
589
|
+
* src/m68k/sysv.S: Likewise.
|
590
|
+
|
591
|
+
* src/sh64/ffi.c: Change void (*)() to void (*)(void).
|
592
|
+
* src/powerpc/ffi.c: Likewise.
|
593
|
+
* src/powerpc/ffi_darwin.c: Likewise.
|
594
|
+
* src/m32r/ffi.c: Likewise.
|
595
|
+
* src/sh64/ffi.c: Likewise.
|
596
|
+
* src/x86/ffi64.c: Likewise.
|
597
|
+
* src/alpha/ffi.c: Likewise.
|
598
|
+
* src/alpha/osf.S: Likewise.
|
599
|
+
* src/frv/ffi.c: Likewise.
|
600
|
+
* src/s390/ffi.c: Likewise.
|
601
|
+
* src/pa/ffi.c: Likewise.
|
602
|
+
* src/pa/hpux32.S: Likewise.
|
603
|
+
* src/ia64/unix.S: Likewise.
|
604
|
+
* src/ia64/ffi.c: Likewise.
|
605
|
+
* src/sparc/ffi.c: Likewise.
|
606
|
+
* src/mips/ffi.c: Likewise.
|
607
|
+
* src/sh/ffi.c: Likewise.
|
608
|
+
|
609
|
+
2008-02-15 David Daney <ddaney@avtrex.com>
|
610
|
+
|
611
|
+
* src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
|
612
|
+
Define (conditionally), and use it to include cachectl.h.
|
613
|
+
(ffi_prep_closure_loc): Fix cache flushing.
|
614
|
+
* src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define.
|
615
|
+
|
616
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
617
|
+
|
618
|
+
include/ffi.h.in,
|
619
|
+
src/arm/ffitarget.h,
|
620
|
+
src/arm/ffi.c,
|
621
|
+
src/arm/sysv.S,
|
622
|
+
src/powerpc/ffitarget.h,
|
623
|
+
src/closures.c,
|
624
|
+
src/sh64/ffitarget.h,
|
625
|
+
src/sh64/ffi.c,
|
626
|
+
src/sh64/sysv.S,
|
627
|
+
src/types.c,
|
628
|
+
src/x86/ffi64.c,
|
629
|
+
src/x86/ffitarget.h,
|
630
|
+
src/x86/win32.S,
|
631
|
+
src/x86/darwin.S,
|
632
|
+
src/x86/ffi.c,
|
633
|
+
src/x86/sysv.S,
|
634
|
+
src/x86/unix64.S,
|
635
|
+
src/alpha/ffitarget.h,
|
636
|
+
src/alpha/ffi.c,
|
637
|
+
src/alpha/osf.S,
|
638
|
+
src/m68k/ffitarget.h,
|
639
|
+
src/frv/ffitarget.h,
|
640
|
+
src/frv/ffi.c,
|
641
|
+
src/s390/ffitarget.h,
|
642
|
+
src/s390/sysv.S,
|
643
|
+
src/cris/ffitarget.h,
|
644
|
+
src/pa/linux.S,
|
645
|
+
src/pa/ffitarget.h,
|
646
|
+
src/pa/ffi.c,
|
647
|
+
src/raw_api.c,
|
648
|
+
src/ia64/ffitarget.h,
|
649
|
+
src/ia64/unix.S,
|
650
|
+
src/ia64/ffi.c,
|
651
|
+
src/ia64/ia64_flags.h,
|
652
|
+
src/java_raw_api.c,
|
653
|
+
src/debug.c,
|
654
|
+
src/sparc/v9.S,
|
655
|
+
src/sparc/ffitarget.h,
|
656
|
+
src/sparc/ffi.c,
|
657
|
+
src/sparc/v8.S,
|
658
|
+
src/mips/ffitarget.h,
|
659
|
+
src/mips/n32.S,
|
660
|
+
src/mips/o32.S,
|
661
|
+
src/mips/ffi.c,
|
662
|
+
src/prep_cif.c,
|
663
|
+
src/sh/ffitarget.h,
|
664
|
+
src/sh/ffi.c,
|
665
|
+
src/sh/sysv.S: Update license text.
|
666
|
+
|
667
|
+
2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com>
|
668
|
+
|
669
|
+
* src/x86/win32.S (_ffi_closure_STDCALL): New function.
|
670
|
+
(.eh_frame): Add FDE for it.
|
671
|
+
|
672
|
+
2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com>
|
673
|
+
|
674
|
+
* configure.ac: Also check if assembler supports pc-relative
|
675
|
+
relocs on X86_WIN32 targets.
|
676
|
+
* configure: Regenerate.
|
677
|
+
* src/x86/win32.S (ffi_prep_args): Declare extern, not global.
|
678
|
+
(_ffi_call_SYSV): Add missing function type symbol .def and
|
679
|
+
add EH markup labels.
|
680
|
+
(_ffi_call_STDCALL): Likewise.
|
681
|
+
(_ffi_closure_SYSV): Likewise.
|
682
|
+
(_ffi_closure_raw_SYSV): Likewise.
|
683
|
+
(.eh_frame): Add hand-crafted EH data.
|
684
|
+
|
685
|
+
2009-04-09 Jakub Jelinek <jakub@redhat.com>
|
686
|
+
|
687
|
+
* testsuite/lib/libffi-dg.exp: Change copyright header to refer to
|
688
|
+
version 3 of the GNU General Public License and to point readers
|
689
|
+
at the COPYING3 file and the FSF's license web page.
|
690
|
+
* testsuite/libffi.call/call.exp: Likewise.
|
691
|
+
* testsuite/libffi.special/special.exp: Likewise.
|
692
|
+
|
693
|
+
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
694
|
+
|
695
|
+
* configure: Regenerate.
|
696
|
+
|
697
|
+
2008-12-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
698
|
+
|
699
|
+
PR libffi/26048
|
700
|
+
* configure.ac (HAVE_AS_X86_PCREL): New test.
|
701
|
+
* configure: Regenerate.
|
702
|
+
* fficonfig.h.in: Regenerate.
|
703
|
+
* src/x86/sysv.S [!FFI_NO_RAW_API]: Precalculate
|
704
|
+
RAW_CLOSURE_CIF_OFFSET, RAW_CLOSURE_FUN_OFFSET,
|
705
|
+
RAW_CLOSURE_USER_DATA_OFFSET for the Solaris 10/x86 assembler.
|
706
|
+
(.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL.
|
707
|
+
* src/x86/unix64.S (.Lstore_table): Move to .text section.
|
708
|
+
(.Lload_table): Likewise.
|
709
|
+
(.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL.
|
710
|
+
|
711
|
+
2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
712
|
+
|
713
|
+
* configure: Regenerate.
|
714
|
+
|
715
|
+
2008-11-21 Eric Botcazou <ebotcazou@adacore.com>
|
716
|
+
|
717
|
+
* src/sparc/ffi.c (ffi_prep_cif_machdep): Add support for
|
718
|
+
signed/unsigned int8/16 return values.
|
719
|
+
* src/sparc/v8.S (ffi_call_v8): Likewise.
|
720
|
+
(ffi_closure_v8): Likewise.
|
721
|
+
|
722
|
+
2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
|
723
|
+
Steve Ellcey <sje@cup.hp.com>
|
724
|
+
|
725
|
+
* configure: Regenerate for new libtool.
|
726
|
+
* Makefile.in: Ditto.
|
727
|
+
* include/Makefile.in: Ditto.
|
728
|
+
* aclocal.m4: Ditto.
|
729
|
+
|
730
|
+
2008-08-25 Andreas Tobler <a.tobler@schweiz.org>
|
731
|
+
|
732
|
+
* src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and
|
733
|
+
FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum.
|
734
|
+
Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT.
|
735
|
+
Adjust copyright notice.
|
736
|
+
* src/powerpc/ffi.c: Add two new flags to indicate if we have one
|
737
|
+
register or two register to use for FFI_SYSV structs.
|
738
|
+
(ffi_prep_cif_machdep): Pass the right register flag introduced above.
|
739
|
+
(ffi_closure_helper_SYSV): Fix the return type for
|
740
|
+
FFI_SYSV_TYPE_SMALL_STRUCT. Comment.
|
741
|
+
Adjust copyright notice.
|
742
|
+
|
743
|
+
2008-07-16 Kaz Kojima <kkojima@gcc.gnu.org>
|
744
|
+
|
745
|
+
* src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
|
746
|
+
int.
|
747
|
+
|
748
|
+
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
749
|
+
|
750
|
+
* configure: Regenerate.
|
751
|
+
* include/Makefile.in: Regenerate.
|
752
|
+
* testsuite/Makefile.in: Regenerate.
|
753
|
+
|
754
|
+
2008-06-07 Joseph Myers <joseph@codesourcery.com>
|
755
|
+
|
756
|
+
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
|
757
|
+
powerpc-*-beos*): Remove.
|
758
|
+
* configure: Regenerate.
|
759
|
+
|
760
|
+
2008-05-09 Julian Brown <julian@codesourcery.com>
|
761
|
+
|
762
|
+
* Makefile.am (LTLDFLAGS): New.
|
763
|
+
(libffi_la_LDFLAGS): Use above.
|
764
|
+
* Makefile.in: Regenerate.
|
765
|
+
|
766
|
+
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
|
767
|
+
|
768
|
+
PR bootstrap/35457
|
769
|
+
* aclocal.m4: Regenerate.
|
770
|
+
* configure: Regenerate.
|
771
|
+
|
772
|
+
2008-03-26 Kaz Kojima <kkojima@gcc.gnu.org>
|
773
|
+
|
774
|
+
* src/sh/sysv.S: Add .note.GNU-stack on Linux.
|
775
|
+
* src/sh64/sysv.S: Likewise.
|
776
|
+
|
777
|
+
2008-03-26 Daniel Jacobowitz <dan@debian.org>
|
778
|
+
|
779
|
+
* src/arm/sysv.S: Fix ARM comment marker.
|
780
|
+
|
781
|
+
2008-03-26 Jakub Jelinek <jakub@redhat.com>
|
782
|
+
|
783
|
+
* src/alpha/osf.S: Add .note.GNU-stack on Linux.
|
784
|
+
* src/s390/sysv.S: Likewise.
|
785
|
+
* src/powerpc/ppc_closure.S: Likewise.
|
786
|
+
* src/powerpc/sysv.S: Likewise.
|
787
|
+
* src/x86/unix64.S: Likewise.
|
788
|
+
* src/x86/sysv.S: Likewise.
|
789
|
+
* src/sparc/v8.S: Likewise.
|
790
|
+
* src/sparc/v9.S: Likewise.
|
791
|
+
* src/m68k/sysv.S: Likewise.
|
792
|
+
* src/arm/sysv.S: Likewise.
|
793
|
+
|
794
|
+
2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
795
|
+
|
796
|
+
* aclocal.m4: Regenerate.
|
797
|
+
* configure: Likewise.
|
798
|
+
* Makefile.in: Likewise.
|
799
|
+
* include/Makefile.in: Likewise.
|
800
|
+
* testsuite/Makefile.in: Likewise.
|
801
|
+
|
802
|
+
2008-02-12 Bjoern Koenig <bkoenig@alpha-tierchen.de>
|
803
|
+
Andreas Tobler <a.tobler@schweiz.org>
|
804
|
+
|
805
|
+
* configure.ac: Add amd64-*-freebsd* target.
|
806
|
+
* configure: Regenerate.
|
807
|
+
|
808
|
+
2008-01-30 H.J. Lu <hongjiu.lu@intel.com>
|
809
|
+
|
810
|
+
PR libffi/34612
|
811
|
+
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
|
812
|
+
returning struct.
|
813
|
+
|
814
|
+
* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
|
815
|
+
tests.
|
816
|
+
|
1
817
|
2008-01-24 David Edelsohn <edelsohn@gnu.org>
|
2
818
|
|
3
819
|
* configure: Regenerate.
|
@@ -26,7 +842,7 @@
|
|
26
842
|
|
27
843
|
2007-12-08 David Daney <ddaney@avtrex.com>
|
28
844
|
|
29
|
-
* src/mips/n32.S (ffi_call_N32): Replace dadd with ADDU, dsub with
|
845
|
+
* src/mips/n32.S (ffi_call_N32): Replace dadd with ADDU, dsub with
|
30
846
|
SUBU, add with ADDU and use smaller code sequences.
|
31
847
|
|
32
848
|
2007-12-07 David Daney <ddaney@avtrex.com>
|
@@ -52,7 +868,7 @@
|
|
52
868
|
sizeof(ffi_java_raw) for alignment calculations.
|
53
869
|
(ffi_java_ptrarray_to_raw): Same.
|
54
870
|
(ffi_java_rvalue_to_raw): Add special handling for FFI_TYPE_POINTER
|
55
|
-
|
871
|
+
if FFI_SIZEOF_JAVA_RAW == 4.
|
56
872
|
(ffi_java_raw_to_rvalue): Same.
|
57
873
|
(ffi_java_raw_call): Change type of raw to ffi_java_raw.
|
58
874
|
(ffi_java_translate_args): Same.
|
@@ -62,7 +878,7 @@
|
|
62
878
|
|
63
879
|
2007-12-06 David Daney <ddaney@avtrex.com>
|
64
880
|
|
65
|
-
* src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on
|
881
|
+
* src/mips/n32.S (ffi_closure_N32): Use 64-bit add instruction on
|
66
882
|
pointer values.
|
67
883
|
|
68
884
|
2007-12-01 Andreas Tobler <a.tobler@schweiz.org>
|
@@ -116,7 +932,7 @@
|
|
116
932
|
|
117
933
|
2007-08-05 Steven Newbury <s_j_newbury@yahoo.co.uk>
|
118
934
|
|
119
|
-
* src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Use __clear_cache instead of
|
935
|
+
* src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Use __clear_cache instead of
|
120
936
|
directly using the sys_cacheflush syscall.
|
121
937
|
|
122
938
|
2007-07-27 Andrew Haley <aph@redhat.com>
|
@@ -295,7 +1111,7 @@
|
|
295
1111
|
|
296
1112
|
* testsuite/libffi.call/return_ul.c (main): Define return type as
|
297
1113
|
ffi_arg. Use proper printf conversion specifier.
|
298
|
-
|
1114
|
+
|
299
1115
|
2007-07-30 Andrew Haley <aph@redhat.com>
|
300
1116
|
|
301
1117
|
PR testsuite/32843
|
@@ -332,84 +1148,84 @@
|
|
332
1148
|
|
333
1149
|
2005-12-31 Phil Blundell <pb@reciva.com>
|
334
1150
|
|
335
|
-
* src/arm/ffi.c (ffi_prep_incoming_args_SYSV,
|
336
|
-
|
1151
|
+
* src/arm/ffi.c (ffi_prep_incoming_args_SYSV,
|
1152
|
+
ffi_closure_SYSV_inner, ffi_prep_closure): New, add closure support.
|
337
1153
|
* src/arm/sysv.S(ffi_closure_SYSV): Likewise.
|
338
1154
|
* src/arm/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise.
|
339
1155
|
(FFI_CLOSURES): Enable closure support.
|
340
1156
|
|
341
1157
|
2007-07-03 Andrew Haley <aph@hedges.billgatliff.com>
|
342
1158
|
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
1159
|
+
* testsuite/libffi.call/cls_multi_ushort.c,
|
1160
|
+
testsuite/libffi.call/cls_align_uint16.c,
|
1161
|
+
testsuite/libffi.call/nested_struct1.c,
|
1162
|
+
testsuite/libffi.call/nested_struct3.c,
|
1163
|
+
testsuite/libffi.call/cls_7_1_byte.c,
|
1164
|
+
testsuite/libffi.call/cls_double.c,
|
1165
|
+
testsuite/libffi.call/nested_struct5.c,
|
1166
|
+
testsuite/libffi.call/nested_struct7.c,
|
1167
|
+
testsuite/libffi.call/cls_sint.c,
|
1168
|
+
testsuite/libffi.call/nested_struct9.c,
|
1169
|
+
testsuite/libffi.call/cls_20byte1.c,
|
1170
|
+
testsuite/libffi.call/cls_multi_sshortchar.c,
|
1171
|
+
testsuite/libffi.call/cls_align_sint64.c,
|
1172
|
+
testsuite/libffi.call/cls_3byte2.c,
|
1173
|
+
testsuite/libffi.call/cls_multi_schar.c,
|
1174
|
+
testsuite/libffi.call/cls_multi_uchar.c,
|
1175
|
+
testsuite/libffi.call/cls_19byte.c,
|
1176
|
+
testsuite/libffi.call/cls_9byte1.c,
|
1177
|
+
testsuite/libffi.call/cls_align_float.c,
|
1178
|
+
testsuite/libffi.call/closure_fn1.c,
|
1179
|
+
testsuite/libffi.call/problem1.c,
|
1180
|
+
testsuite/libffi.call/closure_fn3.c,
|
1181
|
+
testsuite/libffi.call/cls_sshort.c,
|
1182
|
+
testsuite/libffi.call/closure_fn5.c,
|
1183
|
+
testsuite/libffi.call/cls_align_double.c,
|
1184
|
+
testsuite/libffi.call/cls_2byte.c,
|
1185
|
+
testsuite/libffi.call/nested_struct.c,
|
1186
|
+
testsuite/libffi.call/nested_struct10.c,
|
1187
|
+
testsuite/libffi.call/cls_4byte.c,
|
1188
|
+
testsuite/libffi.call/cls_6byte.c,
|
1189
|
+
testsuite/libffi.call/cls_8byte.c,
|
1190
|
+
testsuite/libffi.call/cls_multi_sshort.c,
|
1191
|
+
testsuite/libffi.call/cls_align_uint32.c,
|
1192
|
+
testsuite/libffi.call/cls_align_sint16.c,
|
1193
|
+
testsuite/libffi.call/cls_float.c,
|
1194
|
+
testsuite/libffi.call/cls_20byte.c,
|
1195
|
+
testsuite/libffi.call/cls_5_1_byte.c,
|
1196
|
+
testsuite/libffi.call/nested_struct2.c,
|
1197
|
+
testsuite/libffi.call/cls_24byte.c,
|
1198
|
+
testsuite/libffi.call/nested_struct4.c,
|
1199
|
+
testsuite/libffi.call/nested_struct6.c,
|
1200
|
+
testsuite/libffi.call/cls_64byte.c,
|
1201
|
+
testsuite/libffi.call/nested_struct8.c,
|
1202
|
+
testsuite/libffi.call/cls_uint.c,
|
1203
|
+
testsuite/libffi.call/cls_multi_ushortchar.c,
|
1204
|
+
testsuite/libffi.call/cls_schar.c,
|
1205
|
+
testsuite/libffi.call/cls_uchar.c,
|
1206
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
1207
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
1208
|
+
testsuite/libffi.call/cls_align_longdouble.c,
|
1209
|
+
testsuite/libffi.call/cls_1_1byte.c,
|
1210
|
+
testsuite/libffi.call/cls_12byte.c,
|
1211
|
+
testsuite/libffi.call/cls_3_1byte.c,
|
1212
|
+
testsuite/libffi.call/cls_3byte1.c,
|
1213
|
+
testsuite/libffi.call/cls_4_1byte.c,
|
1214
|
+
testsuite/libffi.call/cls_6_1_byte.c,
|
1215
|
+
testsuite/libffi.call/cls_16byte.c,
|
1216
|
+
testsuite/libffi.call/cls_18byte.c,
|
1217
|
+
testsuite/libffi.call/closure_fn0.c,
|
1218
|
+
testsuite/libffi.call/cls_9byte2.c,
|
1219
|
+
testsuite/libffi.call/closure_fn2.c,
|
1220
|
+
testsuite/libffi.call/closure_fn4.c,
|
1221
|
+
testsuite/libffi.call/cls_ushort.c,
|
1222
|
+
testsuite/libffi.call/closure_fn6.c,
|
1223
|
+
testsuite/libffi.call/cls_5byte.c,
|
1224
|
+
testsuite/libffi.call/cls_align_pointer.c,
|
1225
|
+
testsuite/libffi.call/cls_7byte.c,
|
1226
|
+
testsuite/libffi.call/cls_align_sint32.c,
|
1227
|
+
testsuite/libffi.special/unwindtest_ffi_call.cc,
|
1228
|
+
testsuite/libffi.special/unwindtest.cc: Enable for ARM.
|
413
1229
|
|
414
1230
|
2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
|
415
1231
|
|
@@ -501,7 +1317,7 @@
|
|
501
1317
|
* testsuite/libffi.call/return_fl2.c (return_fl): Mark as static.
|
502
1318
|
Use 'volatile float sum' to create sum of floats to avoid false
|
503
1319
|
negative due to excess precision on ix86 targets.
|
504
|
-
(main): Ditto.
|
1320
|
+
(main): Ditto.
|
505
1321
|
|
506
1322
|
2007-03-08 Alexandre Oliva <aoliva@redhat.com>
|
507
1323
|
|
@@ -616,7 +1432,7 @@
|
|
616
1432
|
2006-10-10 Paolo Bonzini <bonzini@gnu.org>
|
617
1433
|
Sandro Tolaini <tolaini@libero.it>
|
618
1434
|
|
619
|
-
* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and
|
1435
|
+
* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and
|
620
1436
|
conditional.
|
621
1437
|
* configure: Regenerated.
|
622
1438
|
* Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case.
|
@@ -951,7 +1767,7 @@
|
|
951
1767
|
* src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable
|
952
1768
|
and cast integer to void * if needed. Update the pointer to
|
953
1769
|
the FP register saved area correctly.
|
954
|
-
|
1770
|
+
|
955
1771
|
2006-02-17 Andreas Tobler <a.tobler@schweiz.ch>
|
956
1772
|
|
957
1773
|
* testsuite/libffi.call/nested_struct6.c: XFAIL this test until PR25630
|
@@ -1143,7 +1959,7 @@
|
|
1143
1959
|
|
1144
1960
|
* configure.ac: Treat i*86-*-solaris2.10 and up as X86_64.
|
1145
1961
|
* configure: Regenerate.
|
1146
|
-
|
1962
|
+
|
1147
1963
|
2005-06-01 Alan Modra <amodra@bigpond.net.au>
|
1148
1964
|
|
1149
1965
|
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
|
@@ -1157,7 +1973,7 @@
|
|
1157
1973
|
* Makefile.am (ACLOCAL_AMFLAGS): Remove -I ../config.
|
1158
1974
|
* aclocal.m4, configure, fficonfig.h.in, Makefile.in,
|
1159
1975
|
include/Makefile.in, testsuite/Makefile.in: Regenerate.
|
1160
|
-
|
1976
|
+
|
1161
1977
|
2005-05-09 Mike Stump <mrs@apple.com>
|
1162
1978
|
|
1163
1979
|
* configure: Regenerate.
|
@@ -1189,7 +2005,7 @@
|
|
1189
2005
|
* testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,
|
1190
2006
|
have Tcl8.3-compatible intermediate variable.
|
1191
2007
|
|
1192
|
-
2005-04-18 Simon Posnjak <simon.posnjak@siol.net>
|
2008
|
+
2005-04-18 Simon Posnjak <simon.posnjak@siol.net>
|
1193
2009
|
Hans-Peter Nilsson <hp@axis.com>
|
1194
2010
|
|
1195
2011
|
* Makefile.am: Add CRIS support.
|
@@ -1210,7 +2026,7 @@
|
|
1210
2026
|
2005-03-30 Hans Boehm <Hans.Boehm@hp.com>
|
1211
2027
|
|
1212
2028
|
* src/ia64/ffitarget.h (ffi_arg): Use long long instead of DI.
|
1213
|
-
|
2029
|
+
|
1214
2030
|
2005-03-30 Steve Ellcey <sje@cup.hp.com>
|
1215
2031
|
|
1216
2032
|
* src/ia64/ffitarget.h (ffi_arg) ADD DI attribute.
|