ffi 1.11.2 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.appveyor.yml +3 -0
- data/.github/workflows/ci.yml +64 -0
- data/.travis.yml +21 -5
- data/CHANGELOG.md +64 -0
- data/Gemfile +6 -4
- data/README.md +10 -1
- data/Rakefile +24 -43
- data/ext/ffi_c/AbstractMemory.c +5 -9
- data/ext/ffi_c/Buffer.c +2 -2
- data/ext/ffi_c/Call.c +1 -11
- data/ext/ffi_c/ClosurePool.c +11 -14
- data/ext/ffi_c/DynamicLibrary.c +1 -1
- data/ext/ffi_c/Function.c +9 -24
- data/ext/ffi_c/FunctionInfo.c +1 -2
- data/ext/ffi_c/LongDouble.c +5 -3
- data/ext/ffi_c/LongDouble.h +0 -4
- data/ext/ffi_c/MemoryPointer.c +1 -1
- data/ext/ffi_c/MethodHandle.c +18 -24
- data/ext/ffi_c/MethodHandle.h +3 -2
- data/ext/ffi_c/Platform.c +1 -0
- data/ext/ffi_c/Pointer.c +1 -1
- data/ext/ffi_c/Struct.c +47 -51
- data/ext/ffi_c/Struct.h +12 -6
- data/ext/ffi_c/StructLayout.c +20 -14
- data/ext/ffi_c/Thread.c +0 -3
- data/ext/ffi_c/Thread.h +0 -3
- data/ext/ffi_c/Types.c +1 -1
- data/ext/ffi_c/compat.h +4 -0
- data/ext/ffi_c/extconf.rb +13 -16
- data/ext/ffi_c/libffi/.travis.yml +32 -12
- data/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/ext/ffi_c/libffi/.travis/build-in-container.sh +2 -12
- data/ext/ffi_c/libffi/.travis/build.sh +62 -30
- data/ext/ffi_c/libffi/.travis/install.sh +65 -37
- data/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/site.exp +10 -1
- data/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/ext/ffi_c/libffi/{ChangeLog.libffi-3.1 → ChangeLog.old} +1407 -0
- data/ext/ffi_c/libffi/LICENSE +1 -1
- data/ext/ffi_c/libffi/Makefile.am +6 -4
- data/ext/ffi_c/libffi/README.md +18 -6
- data/ext/ffi_c/libffi/configure.ac +26 -10
- data/ext/ffi_c/libffi/configure.host +5 -2
- data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +1 -3
- data/ext/ffi_c/libffi/include/ffi.h.in +15 -7
- data/ext/ffi_c/libffi/libffi.map.in +8 -12
- data/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +2 -48
- data/ext/ffi_c/libffi/libtool-version +1 -1
- data/ext/ffi_c/libffi/m4/ax_append_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +2 -1
- data/ext/ffi_c/libffi/m4/ax_configure_args.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +7 -3
- data/ext/ffi_c/libffi/src/aarch64/ffi.c +6 -0
- data/ext/ffi_c/libffi/src/aarch64/sysv.S +13 -2
- data/ext/ffi_c/libffi/src/closures.c +20 -6
- data/ext/ffi_c/libffi/src/mips/o32.S +2 -0
- data/ext/ffi_c/libffi/src/pa/ffi.c +46 -91
- data/ext/ffi_c/libffi/src/pa/ffitarget.h +1 -6
- data/ext/ffi_c/libffi/src/pa/hpux32.S +4 -2
- data/ext/ffi_c/libffi/src/pa/linux.S +4 -2
- data/ext/ffi_c/libffi/src/powerpc/ffi.c +3 -2
- data/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +154 -8
- data/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +18 -7
- data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +10 -4
- data/ext/ffi_c/libffi/src/powerpc/linux64.S +83 -28
- data/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +67 -3
- data/ext/ffi_c/libffi/src/powerpc/sysv.S +5 -7
- data/ext/ffi_c/libffi/src/x86/ffi.c +7 -4
- data/ext/ffi_c/libffi/src/x86/ffi64.c +10 -8
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -2
- data/ext/ffi_c/libffi/src/x86/ffiw64.c +10 -8
- data/ext/ffi_c/libffi/src/x86/sysv.S +13 -4
- data/ext/ffi_c/libffi/src/x86/unix64.S +58 -2
- data/ext/ffi_c/libffi/src/x86/win64.S +4 -1
- data/ext/ffi_c/libffi/testsuite/Makefile.am +78 -75
- data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +1 -18
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +7 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +12 -1
- data/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn0.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn3.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn4.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn5.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn6.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_loc_fn0.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_simple.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_12byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_16byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_18byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_19byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_1_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_24byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_2byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_64byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_8byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_pointer.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint16.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint32.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint64.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint16.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint32.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint64.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_dbls_struct.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_double_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_many_mixed_args.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_many_mixed_float_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_schar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshortchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_uchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushortchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer_stack.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_schar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sint.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sshort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_struct_va1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uchar_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulong_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulonglong.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ushort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ushort_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/err_bad_abi.c +0 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/huge_struct.c +1 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct10.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct11.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct3.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct4.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct5.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct6.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct7.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct8.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct9.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/problem1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_large.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_large2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/testclosure.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest.cc +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest_ffi_call.cc +0 -0
- data/ffi.gemspec +3 -3
- data/lib/ffi.rb +10 -2
- data/lib/ffi/ffi.rb +1 -0
- data/lib/ffi/library.rb +5 -1
- data/lib/ffi/platform.rb +2 -2
- data/lib/ffi/platform/arm-linux/types.conf +32 -4
- data/lib/ffi/platform/i386-windows/types.conf +26 -79
- data/lib/ffi/platform/powerpc-linux/types.conf +32 -2
- data/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/lib/ffi/platform/x86_64-darwin/types.conf +4 -0
- data/lib/ffi/platform/x86_64-linux/types.conf +21 -0
- data/lib/ffi/platform/x86_64-windows/types.conf +10 -78
- data/lib/ffi/pointer.rb +19 -12
- data/lib/ffi/struct.rb +10 -5
- data/lib/ffi/tools/types_generator.rb +2 -0
- data/lib/ffi/version.rb +1 -1
- data/samples/getlogin.rb +1 -1
- data/samples/getpid.rb +1 -1
- data/samples/gettimeofday.rb +8 -8
- data/samples/hello.rb +2 -1
- data/samples/inotify.rb +1 -1
- data/samples/pty.rb +1 -2
- data/samples/qsort.rb +0 -1
- metadata +116 -110
- data/ext/ffi_c/libffi/ChangeLog.libffi +0 -584
- data/ext/ffi_c/libffi/ChangeLog.libgcj +0 -40
- data/ext/ffi_c/libffi/ChangeLog.v1 +0 -764
- data/samples/sample_helper.rb +0 -6
@@ -2,42 +2,70 @@
|
|
2
2
|
set -x
|
3
3
|
|
4
4
|
if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
brew update > brew-update.log 2>&1
|
6
|
+
# fix an issue with libtool on travis by reinstalling it
|
7
|
+
brew uninstall libtool;
|
8
|
+
brew install libtool dejagnu;
|
9
|
+
|
10
|
+
# Download and extract the rlgl client
|
11
|
+
wget -qO - https://rl.gl/cli/rlgl-darwin-amd64.tgz | \
|
12
|
+
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
|
13
|
+
|
9
14
|
else
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
15
|
+
# Download and extract the rlgl client
|
16
|
+
case $HOST in
|
17
|
+
aarch64-linux-gnu)
|
18
|
+
wget -qO - https://rl.gl/cli/rlgl-linux-arm.tgz | \
|
19
|
+
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
|
20
|
+
;;
|
21
|
+
ppc64le-linux-gnu)
|
22
|
+
wget -qO - https://rl.gl/cli/rlgl-linux-ppc64le.tgz | \
|
23
|
+
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
|
24
|
+
;;
|
25
|
+
s390x-linux-gnu)
|
26
|
+
wget -qO - https://rl.gl/cli/rlgl-linux-s390x.tgz | \
|
27
|
+
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
|
28
|
+
;;
|
29
|
+
*)
|
30
|
+
wget -qO - https://rl.gl/cli/rlgl-linux-amd64.tgz | \
|
31
|
+
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
|
32
|
+
;;
|
33
|
+
esac
|
34
|
+
|
35
|
+
sudo apt-get clean # clear the cache
|
36
|
+
sudo apt-get update
|
37
|
+
case $HOST in
|
38
|
+
mips64el-linux-gnu | sparc64-linux-gnu)
|
39
|
+
;;
|
40
|
+
alpha-linux-gnu | arm32v7-linux-gnu | m68k-linux-gnu | sh4-linux-gnu)
|
41
|
+
sudo apt-get install qemu-user-static
|
42
|
+
;;
|
43
|
+
hppa-linux-gnu )
|
44
|
+
sudo apt-get install -y qemu-user-static g++-5-hppa-linux-gnu
|
45
|
+
;;
|
46
|
+
i386-pc-linux-gnu)
|
47
|
+
sudo apt-get install gcc-multilib g++-multilib;
|
48
|
+
;;
|
49
|
+
moxie-elf)
|
50
|
+
echo 'deb https://repos.moxielogic.org:7114/MoxieLogic moxiedev main' | sudo tee -a /etc/apt/sources.list
|
51
|
+
sudo apt-get clean # clear the cache
|
52
|
+
sudo apt-get update ## -qq
|
53
|
+
sudo apt-get update
|
54
|
+
sudo apt-get install -y --allow-unauthenticated moxielogic-moxie-elf-gcc moxielogic-moxie-elf-gcc-c++ moxielogic-moxie-elf-gcc-libstdc++ moxielogic-moxie-elf-gdb-sim
|
55
|
+
;;
|
56
|
+
x86_64-w64-mingw32)
|
57
|
+
sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine;
|
58
|
+
;;
|
59
|
+
i686-w32-mingw32)
|
60
|
+
sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 wine;
|
61
|
+
;;
|
62
|
+
esac
|
63
|
+
case $HOST in
|
64
|
+
arm32v7-linux-gnu)
|
65
|
+
# don't install host tools
|
66
|
+
;;
|
67
|
+
*)
|
68
|
+
sudo apt-get install dejagnu texinfo sharutils
|
69
|
+
;;
|
70
|
+
esac
|
43
71
|
fi
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Copyright (C) 2010, 2019 Free Software Foundation, Inc.
|
2
|
+
#
|
3
|
+
# This file is part of DejaGnu.
|
4
|
+
#
|
5
|
+
# DejaGnu is free software; you can redistribute it and/or modify it
|
6
|
+
# under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation; either version 2 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# DejaGnu is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with DejaGnu; if not, write to the Free Software Foundation,
|
17
|
+
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18
|
+
|
19
|
+
# This is a list of toolchains that are supported on this board.
|
20
|
+
set_board_info target_install {m32r-elf}
|
21
|
+
|
22
|
+
# Load the generic configuration for this board. This will define a basic set
|
23
|
+
# of routines needed by the tool to communicate with the board.
|
24
|
+
load_generic_config "sim"
|
25
|
+
|
26
|
+
# basic-sim.exp is a basic description for the standard Cygnus simulator.
|
27
|
+
load_base_board_description "basic-sim"
|
28
|
+
|
29
|
+
# "m32r" is the name of the sim subdir in devo/sim.
|
30
|
+
setup_sim m32r
|
31
|
+
|
32
|
+
# No multilib options needed by default.
|
33
|
+
process_multilib_options ""
|
34
|
+
|
35
|
+
# We only support newlib on this target. We assume that all multilib
|
36
|
+
# options have been specified before we get here.
|
37
|
+
|
38
|
+
set_board_info compiler "[find_gcc]"
|
39
|
+
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
|
40
|
+
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
|
41
|
+
|
42
|
+
# Configuration settings for testsuites
|
43
|
+
set_board_info noargs 1
|
44
|
+
set_board_info gdb,nosignals 1
|
45
|
+
set_board_info gdb,noresults 1
|
46
|
+
set_board_info gdb,cannot_call_functions 1
|
47
|
+
set_board_info gdb,skip_float_tests 1
|
48
|
+
set_board_info gdb,can_reverse 1
|
49
|
+
set_board_info gdb,use_precord 1
|
50
|
+
|
51
|
+
# More time is needed
|
52
|
+
set_board_info gcc,timeout 800
|
53
|
+
set_board_info gdb,timeout 60
|
54
|
+
|
55
|
+
# Used by a few gcc.c-torture testcases to delimit how large the stack can
|
56
|
+
# be.
|
57
|
+
set_board_info gcc,stack_size 5000
|
58
|
+
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Copyright (C) 2010, 2019 Free Software Foundation, Inc.
|
2
|
+
#
|
3
|
+
# This file is part of DejaGnu.
|
4
|
+
#
|
5
|
+
# DejaGnu is free software; you can redistribute it and/or modify it
|
6
|
+
# under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation; either version 2 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# DejaGnu is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with DejaGnu; if not, write to the Free Software Foundation,
|
17
|
+
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18
|
+
|
19
|
+
# This is a list of toolchains that are supported on this board.
|
20
|
+
set_board_info target_install {or1k-elf}
|
21
|
+
|
22
|
+
# Load the generic configuration for this board. This will define a basic set
|
23
|
+
# of routines needed by the tool to communicate with the board.
|
24
|
+
load_generic_config "sim"
|
25
|
+
|
26
|
+
# basic-sim.exp is a basic description for the standard Cygnus simulator.
|
27
|
+
load_base_board_description "basic-sim"
|
28
|
+
|
29
|
+
# "or1k" is the name of the sim subdir in devo/sim.
|
30
|
+
setup_sim or1k
|
31
|
+
|
32
|
+
# No multilib options needed by default.
|
33
|
+
process_multilib_options ""
|
34
|
+
|
35
|
+
# We only support newlib on this target. We assume that all multilib
|
36
|
+
# options have been specified before we get here.
|
37
|
+
|
38
|
+
set_board_info compiler "[find_gcc]"
|
39
|
+
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
|
40
|
+
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
|
41
|
+
|
42
|
+
# Configuration settings for testsuites
|
43
|
+
set_board_info noargs 1
|
44
|
+
set_board_info gdb,nosignals 1
|
45
|
+
set_board_info gdb,noresults 1
|
46
|
+
set_board_info gdb,cannot_call_functions 1
|
47
|
+
set_board_info gdb,skip_float_tests 1
|
48
|
+
set_board_info gdb,can_reverse 1
|
49
|
+
set_board_info gdb,use_precord 1
|
50
|
+
|
51
|
+
# More time is needed
|
52
|
+
set_board_info gcc,timeout 800
|
53
|
+
set_board_info gdb,timeout 60
|
54
|
+
|
55
|
+
# Used by a few gcc.c-torture testcases to delimit how large the stack can
|
56
|
+
# be.
|
57
|
+
set_board_info gcc,stack_size 5000
|
58
|
+
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Copyright (C) 2010, 2019 Free Software Foundation, Inc.
|
2
|
+
#
|
3
|
+
# This file is part of DejaGnu.
|
4
|
+
#
|
5
|
+
# DejaGnu is free software; you can redistribute it and/or modify it
|
6
|
+
# under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation; either version 2 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# DejaGnu is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with DejaGnu; if not, write to the Free Software Foundation,
|
17
|
+
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18
|
+
|
19
|
+
# This is a list of toolchains that are supported on this board.
|
20
|
+
set_board_info target_install {powerpc-eabisim}
|
21
|
+
|
22
|
+
# Load the generic configuration for this board. This will define a basic set
|
23
|
+
# of routines needed by the tool to communicate with the board.
|
24
|
+
load_generic_config "sim"
|
25
|
+
|
26
|
+
# basic-sim.exp is a basic description for the standard Cygnus simulator.
|
27
|
+
load_base_board_description "basic-sim"
|
28
|
+
|
29
|
+
# "powerpc" is the name of the sim subdir in devo/sim.
|
30
|
+
setup_sim powerpc
|
31
|
+
|
32
|
+
# No multilib options needed by default.
|
33
|
+
process_multilib_options ""
|
34
|
+
|
35
|
+
# We only support newlib on this target. We assume that all multilib
|
36
|
+
# options have been specified before we get here.
|
37
|
+
|
38
|
+
set_board_info compiler "[find_gcc]"
|
39
|
+
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
|
40
|
+
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
|
41
|
+
|
42
|
+
# Configuration settings for testsuites
|
43
|
+
set_board_info noargs 1
|
44
|
+
set_board_info gdb,nosignals 1
|
45
|
+
set_board_info gdb,noresults 1
|
46
|
+
set_board_info gdb,cannot_call_functions 1
|
47
|
+
set_board_info gdb,skip_float_tests 1
|
48
|
+
set_board_info gdb,can_reverse 1
|
49
|
+
set_board_info gdb,use_precord 1
|
50
|
+
|
51
|
+
# More time is needed
|
52
|
+
set_board_info gcc,timeout 800
|
53
|
+
set_board_info gdb,timeout 60
|
54
|
+
|
55
|
+
# Used by a few gcc.c-torture testcases to delimit how large the stack can
|
56
|
+
# be.
|
57
|
+
set_board_info gcc,stack_size 5000
|
58
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2008, 2010, 2018 Anthony Green
|
1
|
+
# Copyright (C) 2008, 2010, 2018, 2019 Anthony Green
|
2
2
|
|
3
3
|
# Make sure we look in the right place for the board description files.
|
4
4
|
if ![info exists boards_dir] {
|
@@ -11,8 +11,17 @@ verbose "Global Config File: target_triplet is $target_triplet" 2
|
|
11
11
|
global target_list
|
12
12
|
|
13
13
|
case "$target_triplet" in {
|
14
|
+
{ "bfin-elf" } {
|
15
|
+
set target_list "bfin-sim"
|
16
|
+
}
|
17
|
+
{ "m32r-elf" } {
|
18
|
+
set target_list "m32r-sim"
|
19
|
+
}
|
14
20
|
{ "moxie-elf" } {
|
15
21
|
set target_list "moxie-sim"
|
16
22
|
}
|
23
|
+
{ "or1k-elf" } {
|
24
|
+
set target_list "or1k-sim"
|
25
|
+
}
|
17
26
|
}
|
18
27
|
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Copyright (C) 2010, 2019 Free Software Foundation, Inc.
|
2
|
+
#
|
3
|
+
# This file is part of DejaGnu.
|
4
|
+
#
|
5
|
+
# DejaGnu is free software; you can redistribute it and/or modify it
|
6
|
+
# under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation; either version 2 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# DejaGnu is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with DejaGnu; if not, write to the Free Software Foundation,
|
17
|
+
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18
|
+
|
19
|
+
# This is a list of toolchains that are supported on this board.
|
20
|
+
set_board_info target_install {i686-w64-mingw32}
|
21
|
+
|
22
|
+
# Load the generic configuration for this board. This will define a basic set
|
23
|
+
# of routines needed by the tool to communicate with the board.
|
24
|
+
load_generic_config "sim"
|
25
|
+
|
26
|
+
set_board_info sim "wineconsole --backend=curses"
|
27
|
+
set_board_info is_simulator 1
|
28
|
+
|
29
|
+
# No multilib options needed by default.
|
30
|
+
process_multilib_options ""
|
31
|
+
|
32
|
+
# We only support newlib on this target. We assume that all multilib
|
33
|
+
# options have been specified before we get here.
|
34
|
+
|
35
|
+
set_board_info compiler "[find_gcc]"
|
36
|
+
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
|
37
|
+
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
|
38
|
+
|
39
|
+
# Configuration settings for testsuites
|
40
|
+
set_board_info noargs 1
|
41
|
+
set_board_info gdb,nosignals 1
|
42
|
+
set_board_info gdb,noresults 1
|
43
|
+
set_board_info gdb,cannot_call_functions 1
|
44
|
+
set_board_info gdb,skip_float_tests 1
|
45
|
+
set_board_info gdb,can_reverse 1
|
46
|
+
set_board_info gdb,use_precord 1
|
47
|
+
|
48
|
+
# More time is needed
|
49
|
+
set_board_info gcc,timeout 800
|
50
|
+
set_board_info gdb,timeout 60
|
51
|
+
|
52
|
+
# Used by a few gcc.c-torture testcases to delimit how large the stack can
|
53
|
+
# be.
|
54
|
+
set_board_info gcc,stack_size 5000
|
55
|
+
|
@@ -1,3 +1,11 @@
|
|
1
|
+
Libffi change logs used to be maintained in separate ChangeLog files.
|
2
|
+
These days we generate them directly from the git commit messages.
|
3
|
+
The old ChangeLog files are saved here in order to maintain the historical
|
4
|
+
record.
|
5
|
+
|
6
|
+
=============================================================================
|
7
|
+
From the old ChangeLog.libffi-3.1 file...
|
8
|
+
|
1
9
|
2014-03-16 Josh Triplett <josh@joshtriplett.org>
|
2
10
|
|
3
11
|
* ChangeLog: Archive to ChangeLog.libffi-3.1 and delete. Future
|
@@ -5998,3 +6006,1402 @@ Thu Jul 8 14:28:42 1999 Anthony Green
|
|
5998
6006
|
* src/x86/ChangeLog: Removed.
|
5999
6007
|
|
6000
6008
|
* ChangeLog.v1: Created.
|
6009
|
+
|
6010
|
+
=============================================================================
|
6011
|
+
From the old ChangeLog.libffi file....
|
6012
|
+
|
6013
|
+
2011-02-08 Andreas Tobler <andreast@fgznet.ch>
|
6014
|
+
|
6015
|
+
* testsuite/lib/libffi.exp: Tweak for stand-alone mode.
|
6016
|
+
|
6017
|
+
2009-12-25 Samuli Suominen <ssuominen@gentoo.org>
|
6018
|
+
|
6019
|
+
* configure.ac: Undefine _AC_ARG_VAR_PRECIOUS for autoconf 2.64.
|
6020
|
+
* configure: Rebuilt.
|
6021
|
+
* fficonfig.h.in: Rebuilt.
|
6022
|
+
|
6023
|
+
2009-06-16 Andrew Haley <aph@redhat.com>
|
6024
|
+
|
6025
|
+
* testsuite/libffi.call/cls_align_sint64.c,
|
6026
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
6027
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
6028
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
6029
|
+
testsuite/libffi.call/return_ll1.c,
|
6030
|
+
testsuite/libffi.call/stret_medium2.c: Fix printf format
|
6031
|
+
specifiers.
|
6032
|
+
* testsuite/libffi.call/huge_struct.c: Ad x86 XFAILs.
|
6033
|
+
* testsuite/libffi.call/float2.c: Fix dg-excess-errors.
|
6034
|
+
* testsuite/libffi.call/ffitest.h,
|
6035
|
+
testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define.
|
6036
|
+
|
6037
|
+
2009-06-12 Andrew Haley <aph@redhat.com>
|
6038
|
+
|
6039
|
+
* testsuite/libffi.call/cls_align_sint64.c,
|
6040
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
6041
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
6042
|
+
testsuite/libffi.call/return_ll1.c,
|
6043
|
+
testsuite/libffi.call/stret_medium2.c: Fix printf format
|
6044
|
+
specifiers.
|
6045
|
+
testsuite/libffi.special/unwindtest.cc: include stdint.h.
|
6046
|
+
|
6047
|
+
2009-06-11 Timothy Wall <twall@users.sf.net>
|
6048
|
+
|
6049
|
+
* Makefile.am,
|
6050
|
+
configure.ac,
|
6051
|
+
include/ffi.h.in,
|
6052
|
+
include/ffi_common.h,
|
6053
|
+
src/closures.c,
|
6054
|
+
src/dlmalloc.c,
|
6055
|
+
src/x86/ffi.c,
|
6056
|
+
src/x86/ffitarget.h,
|
6057
|
+
src/x86/win64.S (new),
|
6058
|
+
README: Added win64 support (mingw or MSVC)
|
6059
|
+
* Makefile.in,
|
6060
|
+
include/Makefile.in,
|
6061
|
+
man/Makefile.in,
|
6062
|
+
testsuite/Makefile.in,
|
6063
|
+
configure,
|
6064
|
+
aclocal.m4: Regenerated
|
6065
|
+
* ltcf-c.sh: properly escape cygwin/w32 path
|
6066
|
+
* man/ffi_call.3: Clarify size requirements for return value.
|
6067
|
+
* src/x86/ffi64.c: Fix filename in comment.
|
6068
|
+
* src/x86/win32.S: Remove unused extern.
|
6069
|
+
|
6070
|
+
* testsuite/libffi.call/closure_fn0.c,
|
6071
|
+
testsuite/libffi.call/closure_fn1.c,
|
6072
|
+
testsuite/libffi.call/closure_fn2.c,
|
6073
|
+
testsuite/libffi.call/closure_fn3.c,
|
6074
|
+
testsuite/libffi.call/closure_fn4.c,
|
6075
|
+
testsuite/libffi.call/closure_fn5.c,
|
6076
|
+
testsuite/libffi.call/closure_fn6.c,
|
6077
|
+
testsuite/libffi.call/closure_stdcall.c,
|
6078
|
+
testsuite/libffi.call/cls_12byte.c,
|
6079
|
+
testsuite/libffi.call/cls_16byte.c,
|
6080
|
+
testsuite/libffi.call/cls_18byte.c,
|
6081
|
+
testsuite/libffi.call/cls_19byte.c,
|
6082
|
+
testsuite/libffi.call/cls_1_1byte.c,
|
6083
|
+
testsuite/libffi.call/cls_20byte.c,
|
6084
|
+
testsuite/libffi.call/cls_20byte1.c,
|
6085
|
+
testsuite/libffi.call/cls_24byte.c,
|
6086
|
+
testsuite/libffi.call/cls_2byte.c,
|
6087
|
+
testsuite/libffi.call/cls_3_1byte.c,
|
6088
|
+
testsuite/libffi.call/cls_3byte1.c,
|
6089
|
+
testsuite/libffi.call/cls_3byte2.c,
|
6090
|
+
testsuite/libffi.call/cls_4_1byte.c,
|
6091
|
+
testsuite/libffi.call/cls_4byte.c,
|
6092
|
+
testsuite/libffi.call/cls_5_1_byte.c,
|
6093
|
+
testsuite/libffi.call/cls_5byte.c,
|
6094
|
+
testsuite/libffi.call/cls_64byte.c,
|
6095
|
+
testsuite/libffi.call/cls_6_1_byte.c,
|
6096
|
+
testsuite/libffi.call/cls_6byte.c,
|
6097
|
+
testsuite/libffi.call/cls_7_1_byte.c,
|
6098
|
+
testsuite/libffi.call/cls_7byte.c,
|
6099
|
+
testsuite/libffi.call/cls_8byte.c,
|
6100
|
+
testsuite/libffi.call/cls_9byte1.c,
|
6101
|
+
testsuite/libffi.call/cls_9byte2.c,
|
6102
|
+
testsuite/libffi.call/cls_align_double.c,
|
6103
|
+
testsuite/libffi.call/cls_align_float.c,
|
6104
|
+
testsuite/libffi.call/cls_align_longdouble.c,
|
6105
|
+
testsuite/libffi.call/cls_align_longdouble_split.c,
|
6106
|
+
testsuite/libffi.call/cls_align_longdouble_split2.c,
|
6107
|
+
testsuite/libffi.call/cls_align_pointer.c,
|
6108
|
+
testsuite/libffi.call/cls_align_sint16.c,
|
6109
|
+
testsuite/libffi.call/cls_align_sint32.c,
|
6110
|
+
testsuite/libffi.call/cls_align_sint64.c,
|
6111
|
+
testsuite/libffi.call/cls_align_uint16.c,
|
6112
|
+
testsuite/libffi.call/cls_align_uint32.c,
|
6113
|
+
testsuite/libffi.call/cls_align_uint64.c,
|
6114
|
+
testsuite/libffi.call/cls_dbls_struct.c,
|
6115
|
+
testsuite/libffi.call/cls_double.c,
|
6116
|
+
testsuite/libffi.call/cls_double_va.c,
|
6117
|
+
testsuite/libffi.call/cls_float.c,
|
6118
|
+
testsuite/libffi.call/cls_longdouble.c,
|
6119
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
6120
|
+
testsuite/libffi.call/cls_multi_schar.c,
|
6121
|
+
testsuite/libffi.call/cls_multi_sshort.c,
|
6122
|
+
testsuite/libffi.call/cls_multi_sshortchar.c,
|
6123
|
+
testsuite/libffi.call/cls_multi_uchar.c,
|
6124
|
+
testsuite/libffi.call/cls_multi_ushort.c,
|
6125
|
+
testsuite/libffi.call/cls_multi_ushortchar.c,
|
6126
|
+
testsuite/libffi.call/cls_pointer.c,
|
6127
|
+
testsuite/libffi.call/cls_pointer_stack.c,
|
6128
|
+
testsuite/libffi.call/cls_schar.c,
|
6129
|
+
testsuite/libffi.call/cls_sint.c,
|
6130
|
+
testsuite/libffi.call/cls_sshort.c,
|
6131
|
+
testsuite/libffi.call/cls_uchar.c,
|
6132
|
+
testsuite/libffi.call/cls_uint.c,
|
6133
|
+
testsuite/libffi.call/cls_ulonglong.c,
|
6134
|
+
testsuite/libffi.call/cls_ushort.c,
|
6135
|
+
testsuite/libffi.call/err_bad_abi.c,
|
6136
|
+
testsuite/libffi.call/err_bad_typedef.c,
|
6137
|
+
testsuite/libffi.call/float2.c,
|
6138
|
+
testsuite/libffi.call/huge_struct.c,
|
6139
|
+
testsuite/libffi.call/nested_struct.c,
|
6140
|
+
testsuite/libffi.call/nested_struct1.c,
|
6141
|
+
testsuite/libffi.call/nested_struct10.c,
|
6142
|
+
testsuite/libffi.call/nested_struct2.c,
|
6143
|
+
testsuite/libffi.call/nested_struct3.c,
|
6144
|
+
testsuite/libffi.call/nested_struct4.c,
|
6145
|
+
testsuite/libffi.call/nested_struct5.c,
|
6146
|
+
testsuite/libffi.call/nested_struct6.c,
|
6147
|
+
testsuite/libffi.call/nested_struct7.c,
|
6148
|
+
testsuite/libffi.call/nested_struct8.c,
|
6149
|
+
testsuite/libffi.call/nested_struct9.c,
|
6150
|
+
testsuite/libffi.call/problem1.c,
|
6151
|
+
testsuite/libffi.call/return_ldl.c,
|
6152
|
+
testsuite/libffi.call/return_ll1.c,
|
6153
|
+
testsuite/libffi.call/stret_large.c,
|
6154
|
+
testsuite/libffi.call/stret_large2.c,
|
6155
|
+
testsuite/libffi.call/stret_medium.c,
|
6156
|
+
testsuite/libffi.call/stret_medium2.c,
|
6157
|
+
testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead
|
6158
|
+
of checking for MMAP. Use intptr_t instead of long casts.
|
6159
|
+
|
6160
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
6161
|
+
|
6162
|
+
* src/powerpc/ffitarget.h: Fix misapplied merge from gcc.
|
6163
|
+
|
6164
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
6165
|
+
|
6166
|
+
* src/mips/o32.S,
|
6167
|
+
src/mips/n32.S: Fix licence formatting.
|
6168
|
+
|
6169
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
6170
|
+
|
6171
|
+
* src/x86/darwin.S: Fix licence formatting.
|
6172
|
+
src/x86/win32.S: Likewise.
|
6173
|
+
src/sh64/sysv.S: Likewise.
|
6174
|
+
src/sh/sysv.S: Likewise.
|
6175
|
+
|
6176
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
6177
|
+
|
6178
|
+
* src/sh64/ffi.c: Remove lint directives. Was missing from merge
|
6179
|
+
of Andreas Tobler's patch from 2006-04-22.
|
6180
|
+
|
6181
|
+
2009-06-04 Andrew Haley <aph@redhat.com>
|
6182
|
+
|
6183
|
+
* src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of
|
6184
|
+
2007-03-07.
|
6185
|
+
|
6186
|
+
2008-12-26 Timothy Wall <twall@users.sf.net>
|
6187
|
+
|
6188
|
+
* testsuite/libffi.call/cls_longdouble.c,
|
6189
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
6190
|
+
testsuite/libffi.call/cls_align_longdouble.c,
|
6191
|
+
testsuite/libffi.call/cls_align_longdouble_split.c,
|
6192
|
+
testsuite/libffi.call/cls_align_longdouble_split2.c: mark expected
|
6193
|
+
failures on x86_64 cygwin/mingw.
|
6194
|
+
|
6195
|
+
2008-12-22 Timothy Wall <twall@users.sf.net>
|
6196
|
+
|
6197
|
+
* testsuite/libffi.call/closure_fn0.c,
|
6198
|
+
testsuite/libffi.call/closure_fn1.c,
|
6199
|
+
testsuite/libffi.call/closure_fn2.c,
|
6200
|
+
testsuite/libffi.call/closure_fn3.c,
|
6201
|
+
testsuite/libffi.call/closure_fn4.c,
|
6202
|
+
testsuite/libffi.call/closure_fn5.c,
|
6203
|
+
testsuite/libffi.call/closure_fn6.c,
|
6204
|
+
testsuite/libffi.call/closure_loc_fn0.c,
|
6205
|
+
testsuite/libffi.call/closure_stdcall.c,
|
6206
|
+
testsuite/libffi.call/cls_align_pointer.c,
|
6207
|
+
testsuite/libffi.call/cls_pointer.c,
|
6208
|
+
testsuite/libffi.call/cls_pointer_stack.c: use portable cast from
|
6209
|
+
pointer to integer (intptr_t).
|
6210
|
+
* testsuite/libffi.call/cls_longdouble.c: disable for win64.
|
6211
|
+
|
6212
|
+
2008-12-19 Anthony Green <green@redhat.com>
|
6213
|
+
|
6214
|
+
* configure.ac: Bump version to 3.0.8.
|
6215
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6216
|
+
* libtool-version: Increment revision.
|
6217
|
+
* README: Update for new release.
|
6218
|
+
|
6219
|
+
2008-11-11 Anthony Green <green@redhat.com>
|
6220
|
+
|
6221
|
+
* configure.ac: Bump version to 3.0.7.
|
6222
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6223
|
+
* libtool-version: Increment revision.
|
6224
|
+
* README: Update for new release.
|
6225
|
+
|
6226
|
+
2008-08-25 Andreas Tobler <a.tobler@schweiz.org>
|
6227
|
+
|
6228
|
+
* src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and
|
6229
|
+
FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum.
|
6230
|
+
Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT.
|
6231
|
+
Adjust copyright notice.
|
6232
|
+
* src/powerpc/ffi.c: Add two new flags to indicate if we have one
|
6233
|
+
register or two register to use for FFI_SYSV structs.
|
6234
|
+
(ffi_prep_cif_machdep): Pass the right register flag introduced above.
|
6235
|
+
(ffi_closure_helper_SYSV): Fix the return type for
|
6236
|
+
FFI_SYSV_TYPE_SMALL_STRUCT. Comment.
|
6237
|
+
Adjust copyright notice.
|
6238
|
+
|
6239
|
+
2008-07-24 Anthony Green <green@redhat.com>
|
6240
|
+
|
6241
|
+
* testsuite/libffi.call/cls_dbls_struct.c,
|
6242
|
+
testsuite/libffi.call/cls_double_va.c,
|
6243
|
+
testsuite/libffi.call/cls_longdouble.c,
|
6244
|
+
testsuite/libffi.call/cls_longdouble_va.c,
|
6245
|
+
testsuite/libffi.call/cls_pointer.c,
|
6246
|
+
testsuite/libffi.call/cls_pointer_stack.c,
|
6247
|
+
testsuite/libffi.call/err_bad_abi.c: Clean up failures from
|
6248
|
+
compiler warnings.
|
6249
|
+
|
6250
|
+
2008-07-17 Anthony Green <green@redhat.com>
|
6251
|
+
|
6252
|
+
* configure.ac: Bump version to 3.0.6.
|
6253
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6254
|
+
* libtool-version: Increment revision. Add documentation.
|
6255
|
+
* README: Update for new release.
|
6256
|
+
|
6257
|
+
2008-07-16 Kaz Kojima <kkojima@gcc.gnu.org>
|
6258
|
+
|
6259
|
+
* src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
|
6260
|
+
int.
|
6261
|
+
|
6262
|
+
2008-07-16 Kaz Kojima <kkojima@gcc.gnu.org>
|
6263
|
+
|
6264
|
+
* src/sh/sysv.S: Add .note.GNU-stack on Linux.
|
6265
|
+
* src/sh64/sysv.S: Likewise.
|
6266
|
+
|
6267
|
+
2008-04-03 Anthony Green <green@redhat.com>
|
6268
|
+
|
6269
|
+
* libffi.pc.in (Libs): Add -L${libdir}.
|
6270
|
+
* configure.ac: Bump version to 3.0.5.
|
6271
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6272
|
+
* libtool-version: Increment revision.
|
6273
|
+
* README: Update for new release.
|
6274
|
+
|
6275
|
+
2008-04-03 Anthony Green <green@redhat.com>
|
6276
|
+
Xerces Ranby <xerxes@zafena.se>
|
6277
|
+
|
6278
|
+
* include/ffi.h.in: Wrap definition of target architecture to
|
6279
|
+
protect from double definitions.
|
6280
|
+
|
6281
|
+
2008-03-22 Moriyoshi Koizumi <moriyoshi@gmail.com>
|
6282
|
+
|
6283
|
+
* src/x86/ffi.c (ffi_prep_closure_loc): Fix for bug revealed in
|
6284
|
+
closure_loc_fn0.c.
|
6285
|
+
* testsuite/libffi.call/closure_loc_fn0.c (closure_loc_test_fn0):
|
6286
|
+
New test.
|
6287
|
+
|
6288
|
+
2008-03-04 Anthony Green <green@redhat.com>
|
6289
|
+
Blake Chaffin
|
6290
|
+
hos@tamanegi.org
|
6291
|
+
|
6292
|
+
* testsuite/libffi.call/cls_align_longdouble_split2.c
|
6293
|
+
testsuite/libffi.call/cls_align_longdouble_split.c
|
6294
|
+
testsuite/libffi.call/cls_dbls_struct.c
|
6295
|
+
testsuite/libffi.call/cls_double_va.c
|
6296
|
+
testsuite/libffi.call/cls_longdouble.c
|
6297
|
+
testsuite/libffi.call/cls_longdouble_va.c
|
6298
|
+
testsuite/libffi.call/cls_pointer.c
|
6299
|
+
testsuite/libffi.call/cls_pointer_stack.c
|
6300
|
+
testsuite/libffi.call/err_bad_abi.c
|
6301
|
+
testsuite/libffi.call/err_bad_typedef.c
|
6302
|
+
testsuite/libffi.call/huge_struct.c
|
6303
|
+
testsuite/libffi.call/stret_large2.c
|
6304
|
+
testsuite/libffi.call/stret_large.c
|
6305
|
+
testsuite/libffi.call/stret_medium2.c
|
6306
|
+
testsuite/libffi.call/stret_medium.c: New tests from Apple.
|
6307
|
+
|
6308
|
+
2008-02-26 Jakub Jelinek <jakub@redhat.com>
|
6309
|
+
Anthony Green <green@redhat.com>
|
6310
|
+
|
6311
|
+
* src/alpha/osf.S: Add .note.GNU-stack on Linux.
|
6312
|
+
* src/s390/sysv.S: Likewise.
|
6313
|
+
* src/powerpc/linux64.S: Likewise.
|
6314
|
+
* src/powerpc/linux64_closure.S: Likewise.
|
6315
|
+
* src/powerpc/ppc_closure.S: Likewise.
|
6316
|
+
* src/powerpc/sysv.S: Likewise.
|
6317
|
+
* src/x86/unix64.S: Likewise.
|
6318
|
+
* src/x86/sysv.S: Likewise.
|
6319
|
+
* src/sparc/v8.S: Likewise.
|
6320
|
+
* src/sparc/v9.S: Likewise.
|
6321
|
+
* src/m68k/sysv.S: Likewise.
|
6322
|
+
* src/ia64/unix.S: Likewise.
|
6323
|
+
* src/arm/sysv.S: Likewise.
|
6324
|
+
|
6325
|
+
2008-02-26 Anthony Green <green@redhat.com>
|
6326
|
+
Thomas Heller <theller@ctypes.org>
|
6327
|
+
|
6328
|
+
* src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
|
6329
|
+
comment.
|
6330
|
+
|
6331
|
+
2008-02-26 Anthony Green <green@redhat.org>
|
6332
|
+
Thomas Heller <theller@ctypes.org>
|
6333
|
+
|
6334
|
+
* include/ffi.h.in: Change void (*)() to void (*)(void).
|
6335
|
+
|
6336
|
+
2008-02-26 Anthony Green <green@redhat.org>
|
6337
|
+
Thomas Heller <theller@ctypes.org>
|
6338
|
+
|
6339
|
+
* src/alpha/ffi.c: Change void (*)() to void (*)(void).
|
6340
|
+
src/alpha/osf.S, src/arm/ffi.c, src/frv/ffi.c, src/ia64/ffi.c,
|
6341
|
+
src/ia64/unix.S, src/java_raw_api.c, src/m32r/ffi.c,
|
6342
|
+
src/mips/ffi.c, src/pa/ffi.c, src/pa/hpux32.S, src/pa/linux.S,
|
6343
|
+
src/powerpc/ffi.c, src/powerpc/ffi_darwin.c, src/raw_api.c,
|
6344
|
+
src/s390/ffi.c, src/sh/ffi.c, src/sh64/ffi.c, src/sparc/ffi.c,
|
6345
|
+
src/x86/ffi.c, src/x86/unix64.S, src/x86/darwin64.S,
|
6346
|
+
src/x86/ffi64.c: Ditto.
|
6347
|
+
|
6348
|
+
2008-02-24 Anthony Green <green@redhat.org>
|
6349
|
+
|
6350
|
+
* configure.ac: Accept openbsd*, not just openbsd.
|
6351
|
+
Bump version to 3.0.4.
|
6352
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6353
|
+
* libtool-version: Increment revision.
|
6354
|
+
* README: Update for new release.
|
6355
|
+
|
6356
|
+
2008-02-22 Anthony Green <green@redhat.com>
|
6357
|
+
|
6358
|
+
* README: Clean up list of tested platforms.
|
6359
|
+
|
6360
|
+
2008-02-22 Anthony Green <green@redhat.com>
|
6361
|
+
|
6362
|
+
* configure.ac: Bump version to 3.0.3.
|
6363
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6364
|
+
* libtool-version: Increment revision.
|
6365
|
+
* README: Update for new release. Clean up test docs.
|
6366
|
+
|
6367
|
+
2008-02-22 Bjoern Koenig <bkoenig@alpha-tierchen.de>
|
6368
|
+
Andreas Tobler <a.tobler@schweiz.org>
|
6369
|
+
|
6370
|
+
* configure.ac: Add amd64-*-freebsd* target.
|
6371
|
+
* configure: Regenerate.
|
6372
|
+
|
6373
|
+
2008-02-22 Thomas Heller <theller@ctypes.org>
|
6374
|
+
|
6375
|
+
* configure.ac: Add x86 OpenBSD support.
|
6376
|
+
* configure: Rebuilt.
|
6377
|
+
|
6378
|
+
2008-02-21 Thomas Heller <theller@ctypes.org>
|
6379
|
+
|
6380
|
+
* README: Change "make test" to "make check".
|
6381
|
+
|
6382
|
+
2008-02-21 Anthony Green <green@redhat.com>
|
6383
|
+
|
6384
|
+
* configure.ac: Bump version to 3.0.2.
|
6385
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6386
|
+
* libtool-version: Increment revision.
|
6387
|
+
* README: Update for new release.
|
6388
|
+
|
6389
|
+
2008-02-21 Björn König <bkoenig@alpha-tierchen.de>
|
6390
|
+
|
6391
|
+
* src/x86/freebsd.S: New file.
|
6392
|
+
* configure.ac: Add x86 FreeBSD support.
|
6393
|
+
* Makefile.am: Ditto.
|
6394
|
+
|
6395
|
+
2008-02-15 Anthony Green <green@redhat.com>
|
6396
|
+
|
6397
|
+
* configure.ac: Bump version to 3.0.1.
|
6398
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6399
|
+
* libtool-version: Increment revision.
|
6400
|
+
* README: Update for new release.
|
6401
|
+
|
6402
|
+
2008-02-15 David Daney <ddaney@avtrex.com>
|
6403
|
+
|
6404
|
+
* src/mips/ffi.c: Remove extra '>' from include directive.
|
6405
|
+
(ffi_prep_closure_loc): Use clear_location instead of tramp.
|
6406
|
+
|
6407
|
+
2008-02-15 Anthony Green <green@redhat.com>
|
6408
|
+
|
6409
|
+
* configure.ac: Bump version to 3.0.0.
|
6410
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6411
|
+
|
6412
|
+
2008-02-15 David Daney <ddaney@avtrex.com>
|
6413
|
+
|
6414
|
+
* src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
|
6415
|
+
Define (conditionally), and use it to include cachectl.h.
|
6416
|
+
(ffi_prep_closure_loc): Fix cache flushing.
|
6417
|
+
* src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define.
|
6418
|
+
|
6419
|
+
2008-02-15 Anthony Green <green@redhat.com>
|
6420
|
+
|
6421
|
+
* man/ffi_call.3, man/ffi_prep_cif.3, man/ffi.3:
|
6422
|
+
Update dates and remove all references to ffi_prep_closure.
|
6423
|
+
* configure.ac: Bump version to 2.99.9.
|
6424
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6425
|
+
|
6426
|
+
2008-02-15 Anthony Green <green@redhat.com>
|
6427
|
+
|
6428
|
+
* man/ffi_prep_closure.3: Delete.
|
6429
|
+
* man/Makefile.am (EXTRA_DIST): Remove ffi_prep_closure.3.
|
6430
|
+
(man_MANS): Ditto.
|
6431
|
+
* man/Makefile.in: Rebuilt.
|
6432
|
+
* configure.ac: Bump version to 2.99.8.
|
6433
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6434
|
+
|
6435
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6436
|
+
|
6437
|
+
* configure.ac: Bump version to 2.99.7.
|
6438
|
+
* configure, doc/stamp-vti, doc/version.texi: Rebuilt.
|
6439
|
+
* include/ffi.h.in LICENSE src/debug.c src/closures.c
|
6440
|
+
src/ffitest.c src/s390/sysv.S src/s390/ffitarget.h
|
6441
|
+
src/types.c src/m68k/ffitarget.h src/raw_api.c src/frv/ffi.c
|
6442
|
+
src/frv/ffitarget.h src/sh/ffi.c src/sh/sysv.S
|
6443
|
+
src/sh/ffitarget.h src/powerpc/ffitarget.h src/pa/ffi.c
|
6444
|
+
src/pa/ffitarget.h src/pa/linux.S src/java_raw_api.c
|
6445
|
+
src/cris/ffitarget.h src/x86/ffi.c src/x86/sysv.S
|
6446
|
+
src/x86/unix64.S src/x86/win32.S src/x86/ffitarget.h
|
6447
|
+
src/x86/ffi64.c src/x86/darwin.S src/ia64/ffi.c
|
6448
|
+
src/ia64/ffitarget.h src/ia64/ia64_flags.h src/ia64/unix.S
|
6449
|
+
src/sparc/ffi.c src/sparc/v9.S src/sparc/ffitarget.h
|
6450
|
+
src/sparc/v8.S src/alpha/ffi.c src/alpha/ffitarget.h
|
6451
|
+
src/alpha/osf.S src/sh64/ffi.c src/sh64/sysv.S
|
6452
|
+
src/sh64/ffitarget.h src/mips/ffi.c src/mips/ffitarget.h
|
6453
|
+
src/mips/n32.S src/mips/o32.S src/arm/ffi.c src/arm/sysv.S
|
6454
|
+
src/arm/ffitarget.h src/prep_cif.c: Update license text.
|
6455
|
+
|
6456
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6457
|
+
|
6458
|
+
* README: Update tested platforms.
|
6459
|
+
* configure.ac: Bump version to 2.99.6.
|
6460
|
+
* configure: Rebuilt.
|
6461
|
+
|
6462
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6463
|
+
|
6464
|
+
* configure.ac: Bump version to 2.99.5.
|
6465
|
+
* configure: Rebuilt.
|
6466
|
+
* Makefile.am (EXTRA_DIST): Add darwin64.S
|
6467
|
+
* Makefile.in: Rebuilt.
|
6468
|
+
* testsuite/lib/libffi-dg.exp: Remove libstdc++ bits from GCC tree.
|
6469
|
+
* LICENSE: Update WARRANTY.
|
6470
|
+
|
6471
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6472
|
+
|
6473
|
+
* libffi.pc.in (libdir): Fix libdir definition.
|
6474
|
+
* configure.ac: Bump version to 2.99.4.
|
6475
|
+
* configure: Rebuilt.
|
6476
|
+
|
6477
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6478
|
+
|
6479
|
+
* README: Update.
|
6480
|
+
* libffi.info: New file.
|
6481
|
+
* doc/stamp-vti: New file.
|
6482
|
+
* configure.ac: Bump version to 2.99.3.
|
6483
|
+
* configure: Rebuilt.
|
6484
|
+
|
6485
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6486
|
+
|
6487
|
+
* Makefile.am (SUBDIRS): Add man dir.
|
6488
|
+
* Makefile.in: Rebuilt.
|
6489
|
+
* configure.ac: Create Makefile.
|
6490
|
+
* configure: Rebuilt.
|
6491
|
+
* man/ffi_call.3 man/ffi_prep_cif.3 man/ffi_prep_closure.3
|
6492
|
+
man/Makefile.am man/Makefile.in: New files.
|
6493
|
+
|
6494
|
+
2008-02-14 Tom Tromey <tromey@redhat.com>
|
6495
|
+
|
6496
|
+
* aclocal.m4, Makefile.in, configure, fficonfig.h.in: Rebuilt.
|
6497
|
+
* mdate-sh, texinfo.tex: New files.
|
6498
|
+
* Makefile.am (info_TEXINFOS): New variable.
|
6499
|
+
* doc/libffi.texi: New file.
|
6500
|
+
* doc/version.texi: Likewise.
|
6501
|
+
|
6502
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6503
|
+
|
6504
|
+
* Makefile.am (AM_CFLAGS): Don't compile with -D$(TARGET).
|
6505
|
+
(lib_LTLIBRARIES): Define.
|
6506
|
+
(toolexeclib_LIBRARIES): Undefine.
|
6507
|
+
* Makefile.in: Rebuilt.
|
6508
|
+
* configure.ac: Reset version to 2.99.1.
|
6509
|
+
* configure.in: Rebuilt.
|
6510
|
+
|
6511
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6512
|
+
|
6513
|
+
* libffi.pc.in: Use @PACKAGE_NAME@ and @PACKAGE_VERSION@.
|
6514
|
+
* configure.ac: Reset version to 2.99.1.
|
6515
|
+
* configure.in: Rebuilt.
|
6516
|
+
* Makefile.am (EXTRA_DIST): Add ChangeLog.libffi.
|
6517
|
+
* Makefile.in: Rebuilt.
|
6518
|
+
* LICENSE: Update copyright notice.
|
6519
|
+
|
6520
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6521
|
+
|
6522
|
+
* include/Makefile.am (nodist_includes_HEADERS): Define. Don't
|
6523
|
+
distribute ffitarget.h or ffi.h from the build include dir.
|
6524
|
+
* Makefile.in: Rebuilt.
|
6525
|
+
|
6526
|
+
2008-02-14 Anthony Green <green@redhat.com>
|
6527
|
+
|
6528
|
+
* include/Makefile.am (includesdir): Install headers under libdir.
|
6529
|
+
(pkgconfigdir): Define. Install libffi.pc.
|
6530
|
+
* include/Makefile.in: Rebuilt.
|
6531
|
+
* libffi.pc.in: Create.
|
6532
|
+
* libtool-version: Increment CURRENT
|
6533
|
+
* configure.ac: Add libffi.pc.in
|
6534
|
+
* configure: Rebuilt.
|
6535
|
+
|
6536
|
+
2008-02-03 Anthony Green <green@redhat.com>
|
6537
|
+
|
6538
|
+
* include/Makefile.am (includesdir): Fix header install with
|
6539
|
+
DESTDIR.
|
6540
|
+
* include/Makefile.in: Rebuilt.
|
6541
|
+
|
6542
|
+
2008-02-03 Timothy Wall <twall@users.sf.net>
|
6543
|
+
|
6544
|
+
* src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
|
6545
|
+
offset based on code pointer, not data pointer.
|
6546
|
+
|
6547
|
+
2008-02-01 Anthony Green <green@redhat.com>
|
6548
|
+
|
6549
|
+
* include/Makefile.am: Fix header installs.
|
6550
|
+
* Makefile.am: Ditto.
|
6551
|
+
* include/Makefile.in: Rebuilt.
|
6552
|
+
* Makefile.in: Ditto.
|
6553
|
+
|
6554
|
+
2008-02-01 Anthony Green <green@redhat.com>
|
6555
|
+
|
6556
|
+
* src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL,
|
6557
|
+
FFI_INIT_TRAMPOLINE): Revert my broken changes to twall's last
|
6558
|
+
patch.
|
6559
|
+
|
6560
|
+
2008-01-31 Anthony Green <green@redhat.com>
|
6561
|
+
|
6562
|
+
* Makefile.am (EXTRA_DIST): Add missing files.
|
6563
|
+
* testsuite/Makefile.am: Ditto.
|
6564
|
+
* Makefile.in, testsuite/Makefile.in: Rebuilt.
|
6565
|
+
|
6566
|
+
2008-01-31 Timothy Wall <twall@users.sf.net>
|
6567
|
+
|
6568
|
+
* testsuite/libffi.call/closure_stdcall.c: Add test for stdcall
|
6569
|
+
closures.
|
6570
|
+
* src/x86/ffitarget.h: Increase size of trampoline for stdcall
|
6571
|
+
closures.
|
6572
|
+
* src/x86/win32.S: Add assembly for stdcall closure.
|
6573
|
+
* src/x86/ffi.c: Initialize stdcall closure trampoline.
|
6574
|
+
|
6575
|
+
2008-01-30 H.J. Lu <hongjiu.lu@intel.com>
|
6576
|
+
|
6577
|
+
PR libffi/34612
|
6578
|
+
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
|
6579
|
+
returning struct.
|
6580
|
+
|
6581
|
+
* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
|
6582
|
+
tests.
|
6583
|
+
|
6584
|
+
2008-01-30 Anthony Green <green@redhat.com>
|
6585
|
+
|
6586
|
+
* Makefile.am, include/Makefile.am: Move headers to
|
6587
|
+
libffi_la_SOURCES for new automake.
|
6588
|
+
* Makefile.in, include/Makefile.in: Rebuilt.
|
6589
|
+
|
6590
|
+
* testsuite/lib/wrapper.exp: Copied from gcc tree to allow for
|
6591
|
+
execution outside of gcc tree.
|
6592
|
+
* testsuite/lib/target-libpath.exp: Ditto.
|
6593
|
+
|
6594
|
+
* testsuite/lib/libffi-dg.exp: Many changes to allow for execution
|
6595
|
+
outside of gcc tree.
|
6596
|
+
|
6597
|
+
|
6598
|
+
=============================================================================
|
6599
|
+
From the old ChangeLog.libgcj file....
|
6600
|
+
|
6601
|
+
2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
|
6602
|
+
|
6603
|
+
* configure.in: Add in AC_PREREQ(2.13)
|
6604
|
+
|
6605
|
+
2003-02-20 Alexandre Oliva <aoliva@redhat.com>
|
6606
|
+
|
6607
|
+
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
|
6608
|
+
config.status.
|
6609
|
+
* configure: Rebuilt.
|
6610
|
+
|
6611
|
+
2002-01-27 Alexandre Oliva <aoliva@redhat.com>
|
6612
|
+
|
6613
|
+
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
|
6614
|
+
Remove USE_LIBDIR conditional.
|
6615
|
+
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
|
6616
|
+
* Makefile.in, configure: Rebuilt.
|
6617
|
+
|
6618
|
+
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
6619
|
+
|
6620
|
+
* include/Makefile.in: Rebuilt.
|
6621
|
+
* Makefile.in: Rebuilt
|
6622
|
+
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
|
6623
|
+
builds.
|
6624
|
+
Use USE_LIBDIR.
|
6625
|
+
|
6626
|
+
* configure: Rebuilt.
|
6627
|
+
* configure.in (USE_LIBDIR): Define for native builds.
|
6628
|
+
Use lowercase in configure --help explanations.
|
6629
|
+
|
6630
|
+
1999-08-08 Anthony Green <green@cygnus.com>
|
6631
|
+
|
6632
|
+
* include/ffi.h.in (FFI_FN): Remove `...'.
|
6633
|
+
|
6634
|
+
1999-08-08 Anthony Green <green@cygnus.com>
|
6635
|
+
|
6636
|
+
* Makefile.in: Rebuilt.
|
6637
|
+
* Makefile.am (AM_CFLAGS): Compile with -fexceptions.
|
6638
|
+
|
6639
|
+
* src/x86/sysv.S: Add exception handling metadata.
|
6640
|
+
|
6641
|
+
|
6642
|
+
=============================================================================
|
6643
|
+
|
6644
|
+
The libffi version 1 ChangeLog archive.
|
6645
|
+
|
6646
|
+
Version 1 of libffi had per-directory ChangeLogs. Current and future
|
6647
|
+
versions have a single ChangeLog file in the root directory. The
|
6648
|
+
version 1 ChangeLogs have all been concatenated into this file for
|
6649
|
+
future reference only.
|
6650
|
+
|
6651
|
+
--- libffi ----------------------------------------------------------------
|
6652
|
+
|
6653
|
+
Mon Oct 5 02:17:50 1998 Anthony Green <green@cygnus.com>
|
6654
|
+
|
6655
|
+
* configure.in: Boosted rev.
|
6656
|
+
* configure, Makefile.in, aclocal.m4: Rebuilt.
|
6657
|
+
* README: Boosted rev and updated release notes.
|
6658
|
+
|
6659
|
+
Mon Oct 5 01:03:03 1998 Anthony Green <green@cygnus.com>
|
6660
|
+
|
6661
|
+
* configure.in: Boosted rev.
|
6662
|
+
* configure, Makefile.in, aclocal.m4: Rebuilt.
|
6663
|
+
* README: Boosted rev and updated release notes.
|
6664
|
+
|
6665
|
+
1998-07-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
6666
|
+
|
6667
|
+
* m68k/ffi.c (ffi_prep_cif_machdep): Use bitmask for cif->flags.
|
6668
|
+
Correctly handle small structures.
|
6669
|
+
(ffi_prep_args): Also handle small structures.
|
6670
|
+
(ffi_call): Pass size of return type to ffi_call_SYSV.
|
6671
|
+
* m68k/sysv.S: Adjust for above changes. Correctly align small
|
6672
|
+
structures in the return value.
|
6673
|
+
|
6674
|
+
* types.c (uint64, sint64) [M68K]: Change alignment to 4.
|
6675
|
+
|
6676
|
+
Fri Apr 17 17:26:58 1998 Anthony Green <green@hoser.cygnus.com>
|
6677
|
+
|
6678
|
+
* configure.in: Boosted rev.
|
6679
|
+
* configure,Makefile.in,aclocal.m4: Rebuilt.
|
6680
|
+
* README: Boosted rev and added release notes.
|
6681
|
+
|
6682
|
+
Sun Feb 22 00:50:41 1998 Geoff Keating <geoffk@ozemail.com.au>
|
6683
|
+
|
6684
|
+
* configure.in: Add PowerPC config bits.
|
6685
|
+
|
6686
|
+
1998-02-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
6687
|
+
|
6688
|
+
* configure.in: Add m68k config bits. Change AC_CANONICAL_SYSTEM
|
6689
|
+
to AC_CANONICAL_HOST, this is not a compiler. Use $host instead
|
6690
|
+
of $target. Remove AC_CHECK_SIZEOF(char), we already know the
|
6691
|
+
result. Fix argument of AC_ARG_ENABLE.
|
6692
|
+
* configure, fficonfig.h.in: Rebuilt.
|
6693
|
+
|
6694
|
+
Tue Feb 10 20:53:40 1998 Richard Henderson <rth@cygnus.com>
|
6695
|
+
|
6696
|
+
* configure.in: Add Alpha config bits.
|
6697
|
+
|
6698
|
+
Tue May 13 13:39:20 1997 Anthony Green <green@hoser.cygnus.com>
|
6699
|
+
|
6700
|
+
* README: Updated dates and reworded Irix comments.
|
6701
|
+
|
6702
|
+
* configure.in: Removed AC_PROG_RANLIB.
|
6703
|
+
|
6704
|
+
* Makefile.in, aclocal.m4, config.guess, config.sub, configure,
|
6705
|
+
ltmain.sh, */Makefile.in: libtoolized again and rebuilt with
|
6706
|
+
automake and autoconf.
|
6707
|
+
|
6708
|
+
Sat May 10 18:44:50 1997 Tom Tromey <tromey@cygnus.com>
|
6709
|
+
|
6710
|
+
* configure, aclocal.m4: Rebuilt.
|
6711
|
+
* configure.in: Don't compute EXTRADIST; now handled in
|
6712
|
+
src/Makefile.in. Removed macros implied by AM_INIT_AUTOMAKE.
|
6713
|
+
Don't run AM_MAINTAINER_MODE.
|
6714
|
+
|
6715
|
+
Thu May 8 14:34:05 1997 Anthony Green <green@hoser.cygnus.com>
|
6716
|
+
|
6717
|
+
* missing, ltmain.sh, ltconfig.sh: Created. These are new files
|
6718
|
+
required by automake and libtool.
|
6719
|
+
|
6720
|
+
* README: Boosted rev to 1.14. Added notes.
|
6721
|
+
|
6722
|
+
* acconfig.h: Moved PACKAGE and VERSION for new automake.
|
6723
|
+
|
6724
|
+
* configure.in: Changes for libtool.
|
6725
|
+
|
6726
|
+
* Makefile.am (check): make test now make check. Uses libtool now.
|
6727
|
+
|
6728
|
+
* Makefile.in, configure.in, aclocal.h, fficonfig.h.in: Rebuilt.
|
6729
|
+
|
6730
|
+
Thu May 1 16:27:07 1997 Anthony Green <green@hoser.cygnus.com>
|
6731
|
+
|
6732
|
+
* missing: Added file required by new automake.
|
6733
|
+
|
6734
|
+
Tue Nov 26 14:10:42 1996 Anthony Green <green@csk3.cygnus.com>
|
6735
|
+
|
6736
|
+
* acconfig.h: Added USING_PURIFY flag. This is defined when
|
6737
|
+
--enable-purify-safety was used at configure time.
|
6738
|
+
|
6739
|
+
* configure.in (allsources): Added --enable-purify-safety switch.
|
6740
|
+
(VERSION): Boosted rev to 1.13.
|
6741
|
+
* configure: Rebuilt.
|
6742
|
+
|
6743
|
+
Fri Nov 22 06:46:12 1996 Anthony Green <green@rtl.cygnus.com>
|
6744
|
+
|
6745
|
+
* configure.in (VERSION): Boosted rev to 1.12.
|
6746
|
+
Removed special CFLAGS hack for gcc.
|
6747
|
+
* configure: Rebuilt.
|
6748
|
+
|
6749
|
+
* README: Boosted rev to 1.12. Added notes.
|
6750
|
+
|
6751
|
+
* Many files: Cygnus Support changed to Cygnus Solutions.
|
6752
|
+
|
6753
|
+
Wed Oct 30 11:15:25 1996 Anthony Green <green@rtl.cygnus.com>
|
6754
|
+
|
6755
|
+
* configure.in (VERSION): Boosted rev to 1.11.
|
6756
|
+
* configure: Rebuilt.
|
6757
|
+
|
6758
|
+
* README: Boosted rev to 1.11. Added notes about GNU make.
|
6759
|
+
|
6760
|
+
Tue Oct 29 12:25:12 1996 Anthony Green <green@rtl.cygnus.com>
|
6761
|
+
|
6762
|
+
* configure.in: Fixed -Wall trick.
|
6763
|
+
(VERSION): Boosted rev.
|
6764
|
+
* configure: Rebuilt
|
6765
|
+
|
6766
|
+
* acconfig.h: Needed for --enable-debug configure switch.
|
6767
|
+
|
6768
|
+
* README: Boosted rev to 1.09. Added more notes on building
|
6769
|
+
libffi, and LCLint.
|
6770
|
+
|
6771
|
+
* configure.in: Added --enable-debug switch. Boosted rev to
|
6772
|
+
1.09.
|
6773
|
+
* configure: Rebuilt
|
6774
|
+
|
6775
|
+
Tue Oct 15 13:11:28 1996 Anthony Green <green@hoser.cygnus.com>
|
6776
|
+
|
6777
|
+
* configure.in (VERSION): Boosted rev to 1.08
|
6778
|
+
* configure: Rebuilt.
|
6779
|
+
|
6780
|
+
* README: Added n32 bug fix notes.
|
6781
|
+
|
6782
|
+
* Makefile.am: Added "make lint" production.
|
6783
|
+
* Makefile.in: Rebuilt.
|
6784
|
+
|
6785
|
+
Mon Oct 14 10:54:46 1996 Anthony Green <green@rtl.cygnus.com>
|
6786
|
+
|
6787
|
+
* README: Added web page reference.
|
6788
|
+
|
6789
|
+
* configure.in, README: Boosted rev to 1.05
|
6790
|
+
* configure: Rebuilt.
|
6791
|
+
|
6792
|
+
* README: Fixed n32 sample code.
|
6793
|
+
|
6794
|
+
Fri Oct 11 17:09:28 1996 Anthony Green <green@rtl.cygnus.com>
|
6795
|
+
|
6796
|
+
* README: Added sparc notes.
|
6797
|
+
|
6798
|
+
* configure.in, README: Boosted rev to 1.04.
|
6799
|
+
* configure: Rebuilt.
|
6800
|
+
|
6801
|
+
Thu Oct 10 10:31:03 1996 Anthony Green <green@rtl.cygnus.com>
|
6802
|
+
|
6803
|
+
* configure.in, README: Boosted rev to 1.03.
|
6804
|
+
* configure: Rebuilt.
|
6805
|
+
|
6806
|
+
* README: Added struct notes.
|
6807
|
+
|
6808
|
+
* Makefile.am (EXTRA_DIST): Added LICENSE to distribution.
|
6809
|
+
* Makefile.in: Rebuilt.
|
6810
|
+
|
6811
|
+
* README: Removed Linux section. No special notes now
|
6812
|
+
because aggregates arg/return types work.
|
6813
|
+
|
6814
|
+
Wed Oct 9 16:16:42 1996 Anthony Green <green@rtl.cygnus.com>
|
6815
|
+
|
6816
|
+
* README, configure.in (VERSION): Boosted rev to 1.02
|
6817
|
+
* configure: Rebuilt.
|
6818
|
+
|
6819
|
+
Tue Oct 8 11:56:33 1996 Anthony Green <green@rtl.cygnus.com>
|
6820
|
+
|
6821
|
+
* README (NOTE): Added n32 notes.
|
6822
|
+
|
6823
|
+
* Makefile.am: Added test production.
|
6824
|
+
* Makefile: Rebuilt
|
6825
|
+
|
6826
|
+
* README: spell checked!
|
6827
|
+
|
6828
|
+
* configure.in (VERSION): Boosted rev to 1.01
|
6829
|
+
* configure: Rebuilt.
|
6830
|
+
|
6831
|
+
Mon Oct 7 15:50:22 1996 Anthony Green <green@rtl.cygnus.com>
|
6832
|
+
|
6833
|
+
* configure.in: Added nasty bit to support SGI tools.
|
6834
|
+
* configure: Rebuilt.
|
6835
|
+
|
6836
|
+
* README: Added SGI notes. Added note about automake bug.
|
6837
|
+
|
6838
|
+
Mon Oct 7 11:00:28 1996 Anthony Green <green@hoser.cygnus.com>
|
6839
|
+
|
6840
|
+
* README: Rewrote intro, and fixed examples.
|
6841
|
+
|
6842
|
+
Fri Oct 4 10:19:55 1996 Anthony Green <green@hoser.cygnus.com>
|
6843
|
+
|
6844
|
+
* configure.in: -D$TARGET is no longer used as a compiler switch.
|
6845
|
+
It is now inserted into ffi.h at configure time.
|
6846
|
+
* configure: Rebuilt.
|
6847
|
+
|
6848
|
+
* FFI_ABI and FFI_STATUS are now ffi_abi and ffi_status.
|
6849
|
+
|
6850
|
+
Thu Oct 3 13:47:34 1996 Anthony Green <green@hoser.cygnus.com>
|
6851
|
+
|
6852
|
+
* README, LICENSE: Created. Wrote some docs.
|
6853
|
+
|
6854
|
+
* configure.in: Don't barf on i586-unknown-linuxaout.
|
6855
|
+
Added EXTRADIST code for "make dist".
|
6856
|
+
* configure: Rebuilt.
|
6857
|
+
|
6858
|
+
* */Makefile.in: Rebuilt with patched automake.
|
6859
|
+
|
6860
|
+
Tue Oct 1 17:12:25 1996 Anthony Green <green@rtl.cygnus.com>
|
6861
|
+
|
6862
|
+
* Makefile.am, aclocal.m4, config.guess, config.sub,
|
6863
|
+
configure.in, fficonfig.h.in, install-sh, mkinstalldirs,
|
6864
|
+
stamp-h.in: Created
|
6865
|
+
* Makefile.in, configure: Generated
|
6866
|
+
|
6867
|
+
--- libffi/include --------------------------------------------------------
|
6868
|
+
|
6869
|
+
Tue Feb 24 13:09:36 1998 Anthony Green <green@gerbil.cygnus.com>
|
6870
|
+
|
6871
|
+
* ffi_mips.h: Updated FFI_TYPE_STRUCT_* values based on
|
6872
|
+
ffi.h.in changes. This is a work-around for SGI's "simple"
|
6873
|
+
assembler.
|
6874
|
+
|
6875
|
+
Sun Feb 22 00:51:55 1998 Geoff Keating <geoffk@ozemail.com.au>
|
6876
|
+
|
6877
|
+
* ffi.h.in: PowerPC support.
|
6878
|
+
|
6879
|
+
1998-02-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
6880
|
+
|
6881
|
+
* ffi.h.in: Add m68k support.
|
6882
|
+
(FFI_TYPE_LONGDOUBLE): Make it a separate value.
|
6883
|
+
|
6884
|
+
Tue Feb 10 20:55:16 1998 Richard Henderson <rth@cygnus.com>
|
6885
|
+
|
6886
|
+
* ffi.h.in (SIZEOF_ARG): Use a pointer type by default.
|
6887
|
+
|
6888
|
+
* ffi.h.in: Alpha support.
|
6889
|
+
|
6890
|
+
Fri Nov 22 06:48:45 1996 Anthony Green <green@rtl.cygnus.com>
|
6891
|
+
|
6892
|
+
* ffi.h.in, ffi_common.h: Cygnus Support -> Cygnus Solutions.
|
6893
|
+
|
6894
|
+
Wed Nov 20 22:31:01 1996 Anthony Green <green@hoser.cygnus.com>
|
6895
|
+
|
6896
|
+
* ffi.h.in: Added ffi_type_void definition.
|
6897
|
+
|
6898
|
+
Tue Oct 29 12:22:40 1996 Anthony Green <green@rtl.cygnus.com>
|
6899
|
+
|
6900
|
+
* Makefile.am (hack_DATA): Always install ffi_mips.h.
|
6901
|
+
|
6902
|
+
* ffi.h.in: Removed FFI_DEBUG. It's now in the correct
|
6903
|
+
place (acconfig.h).
|
6904
|
+
Added #include <stddef.h> for size_t definition.
|
6905
|
+
|
6906
|
+
Tue Oct 15 17:23:35 1996 Anthony Green <green@hoser.cygnus.com>
|
6907
|
+
|
6908
|
+
* ffi.h.in, ffi_common.h, ffi_mips.h: More clean up.
|
6909
|
+
Commented out #define of FFI_DEBUG.
|
6910
|
+
|
6911
|
+
Tue Oct 15 13:01:06 1996 Anthony Green <green@rtl.cygnus.com>
|
6912
|
+
|
6913
|
+
* ffi_common.h: Added bool definition.
|
6914
|
+
|
6915
|
+
* ffi.h.in, ffi_common.h: Clean up based on LCLint output.
|
6916
|
+
Added funny /*@...@*/ comments to annotate source.
|
6917
|
+
|
6918
|
+
Mon Oct 14 12:29:23 1996 Anthony Green <green@rtl.cygnus.com>
|
6919
|
+
|
6920
|
+
* ffi.h.in: Interface changes based on feedback from Jim
|
6921
|
+
Blandy.
|
6922
|
+
|
6923
|
+
Fri Oct 11 16:49:35 1996 Anthony Green <green@rtl.cygnus.com>
|
6924
|
+
|
6925
|
+
* ffi.h.in: Small change for sparc support.
|
6926
|
+
|
6927
|
+
Thu Oct 10 14:53:37 1996 Anthony Green <green@rtl.cygnus.com>
|
6928
|
+
|
6929
|
+
* ffi_mips.h: Added FFI_TYPE_STRUCT_* definitions for
|
6930
|
+
special structure return types.
|
6931
|
+
|
6932
|
+
Wed Oct 9 13:55:57 1996 Anthony Green <green@rtl.cygnus.com>
|
6933
|
+
|
6934
|
+
* ffi.h.in: Added SIZEOF_ARG definition for X86
|
6935
|
+
|
6936
|
+
Tue Oct 8 11:40:36 1996 Anthony Green <green@rtl.cygnus.com>
|
6937
|
+
|
6938
|
+
* ffi.h.in (FFI_FN): Added macro for eliminating compiler warnings.
|
6939
|
+
Use it to case your function pointers to the proper type.
|
6940
|
+
|
6941
|
+
* ffi_mips.h (SIZEOF_ARG): Added magic to fix type promotion bug.
|
6942
|
+
|
6943
|
+
* Makefile.am (EXTRA_DIST): Added ffi_mips.h to EXTRA_DIST.
|
6944
|
+
* Makefile: Rebuilt.
|
6945
|
+
|
6946
|
+
* ffi_mips.h: Created. Moved all common mips definitions here.
|
6947
|
+
|
6948
|
+
Mon Oct 7 10:58:12 1996 Anthony Green <green@hoser.cygnus.com>
|
6949
|
+
|
6950
|
+
* ffi.h.in: The SGI assember is very picky about parens. Redefined
|
6951
|
+
some macros to avoid problems.
|
6952
|
+
|
6953
|
+
* ffi.h.in: Added FFI_DEFAULT_ABI definitions. Also added
|
6954
|
+
externs for pointer, and 64bit integral ffi_types.
|
6955
|
+
|
6956
|
+
Fri Oct 4 09:51:37 1996 Anthony Green <green@hoser.cygnus.com>
|
6957
|
+
|
6958
|
+
* ffi.h.in: Added FFI_ABI member to ffi_cif and changed
|
6959
|
+
function prototypes accordingly.
|
6960
|
+
Added #define @TARGET@. Now programs including ffi.h don't
|
6961
|
+
have to specify this themselves.
|
6962
|
+
|
6963
|
+
Thu Oct 3 15:36:44 1996 Anthony Green <green@hoser.cygnus.com>
|
6964
|
+
|
6965
|
+
* ffi.h.in: Changed ffi_prep_cif's values from void* to void**
|
6966
|
+
|
6967
|
+
* Makefile.am (EXTRA_DIST): Added EXTRA_DIST for "make dist"
|
6968
|
+
to work.
|
6969
|
+
* Makefile.in: Regenerated.
|
6970
|
+
|
6971
|
+
Wed Oct 2 10:16:59 1996 Anthony Green <green@hoser.cygnus.com>
|
6972
|
+
|
6973
|
+
* Makefile.am: Created
|
6974
|
+
* Makefile.in: Generated
|
6975
|
+
|
6976
|
+
* ffi_common.h: Added rcsid comment
|
6977
|
+
|
6978
|
+
Tue Oct 1 17:13:51 1996 Anthony Green <green@rtl.cygnus.com>
|
6979
|
+
|
6980
|
+
* ffi.h.in, ffi_common.h: Created
|
6981
|
+
|
6982
|
+
--- libffi/src ------------------------------------------------------------
|
6983
|
+
|
6984
|
+
Mon Oct 5 02:17:50 1998 Anthony Green <green@cygnus.com>
|
6985
|
+
|
6986
|
+
* arm/ffi.c, arm/sysv.S: Created.
|
6987
|
+
|
6988
|
+
* Makefile.am: Added arm files.
|
6989
|
+
* Makefile.in: Rebuilt.
|
6990
|
+
|
6991
|
+
Mon Oct 5 01:41:38 1998 Anthony Green <green@rtl.cygnus.com>
|
6992
|
+
|
6993
|
+
* Makefile.am (libffi_la_LDFLAGS): Incremented revision.
|
6994
|
+
|
6995
|
+
Sun Oct 4 16:27:17 1998 Anthony Green <green@cygnus.com>
|
6996
|
+
|
6997
|
+
* alpha/osf.S (ffi_call_osf): Patch for DU assembler.
|
6998
|
+
|
6999
|
+
* ffitest.c (main): long long and long double return values work
|
7000
|
+
for x86.
|
7001
|
+
|
7002
|
+
Fri Apr 17 11:50:58 1998 Anthony Green <green@hoser.cygnus.com>
|
7003
|
+
|
7004
|
+
* Makefile.in: Rebuilt.
|
7005
|
+
|
7006
|
+
* ffitest.c (main): Floating point tests not executed for systems
|
7007
|
+
with broken lond double (SunOS 4 w/ GCC).
|
7008
|
+
|
7009
|
+
* types.c: Fixed x86 alignment info for long long types.
|
7010
|
+
|
7011
|
+
Thu Apr 16 07:15:28 1998 Anthony Green <green@ada.cygnus.com>
|
7012
|
+
|
7013
|
+
* ffitest.c: Added more notes about GCC bugs under Irix 6.
|
7014
|
+
|
7015
|
+
Wed Apr 15 08:42:22 1998 Anthony Green <green@hoser.cygnus.com>
|
7016
|
+
|
7017
|
+
* ffitest.c (struct5): New test function.
|
7018
|
+
(main): New test with struct5.
|
7019
|
+
|
7020
|
+
Thu Mar 5 10:48:11 1998 Anthony Green <green@tootie.to.cygnus.com>
|
7021
|
+
|
7022
|
+
* prep_cif.c (initialize_aggregate): Fix assertion for
|
7023
|
+
nested structures.
|
7024
|
+
|
7025
|
+
Tue Feb 24 16:33:41 1998 Anthony Green <green@hoser.cygnus.com>
|
7026
|
+
|
7027
|
+
* prep_cif.c (ffi_prep_cif): Added long double support for sparc.
|
7028
|
+
|
7029
|
+
Sun Feb 22 00:52:18 1998 Geoff Keating <geoffk@ozemail.com.au>
|
7030
|
+
|
7031
|
+
* powerpc/asm.h: New file.
|
7032
|
+
* powerpc/ffi.c: New file.
|
7033
|
+
* powerpc/sysv.S: New file.
|
7034
|
+
* Makefile.am: PowerPC port.
|
7035
|
+
* ffitest.c (main): Allow all tests to run even in presence of gcc
|
7036
|
+
bug on PowerPC.
|
7037
|
+
|
7038
|
+
1998-02-17 Anthony Green <green@hoser.cygnus.com>
|
7039
|
+
|
7040
|
+
* mips/ffi.c: Fixed comment typo.
|
7041
|
+
|
7042
|
+
* x86/ffi.c (ffi_prep_cif_machdep), x86/sysv.S (retfloat):
|
7043
|
+
Fixed x86 long double return handling.
|
7044
|
+
|
7045
|
+
* types.c: Fixed x86 long double alignment info.
|
7046
|
+
|
7047
|
+
1998-02-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
7048
|
+
|
7049
|
+
* types.c: Add m68k support.
|
7050
|
+
|
7051
|
+
* ffitest.c (floating): Add long double parameter.
|
7052
|
+
(return_ll, ldblit): New functions to test long long and long
|
7053
|
+
double return value.
|
7054
|
+
(main): Fix type error in assignment of ts[1-4]_type.elements.
|
7055
|
+
Add tests for long long and long double arguments and return
|
7056
|
+
values.
|
7057
|
+
|
7058
|
+
* prep_cif.c (ffi_prep_cif) [M68K]: Don't allocate argument for
|
7059
|
+
struct value pointer.
|
7060
|
+
|
7061
|
+
* m68k/ffi.c, m68k/sysv.S: New files.
|
7062
|
+
* Makefile.am: Add bits for m68k port. Add kludge to work around
|
7063
|
+
automake deficiency.
|
7064
|
+
(test): Don't require "." in $PATH.
|
7065
|
+
* Makefile.in: Rebuilt.
|
7066
|
+
|
7067
|
+
Wed Feb 11 07:36:50 1998 Anthony Green <green@hoser.cygnus.com>
|
7068
|
+
|
7069
|
+
* Makefile.in: Rebuilt.
|
7070
|
+
|
7071
|
+
Tue Feb 10 20:56:00 1998 Richard Henderson <rth@cygnus.com>
|
7072
|
+
|
7073
|
+
* alpha/ffi.c, alpha/osf.S: New files.
|
7074
|
+
* Makefile.am: Alpha port.
|
7075
|
+
|
7076
|
+
Tue Nov 18 14:12:07 1997 Anthony Green <green@hoser.cygnus.com>
|
7077
|
+
|
7078
|
+
* mips/ffi.c (ffi_prep_cif_machdep): Initialize rstruct_flag
|
7079
|
+
for n32.
|
7080
|
+
|
7081
|
+
Tue Jun 3 17:18:20 1997 Anthony Green <green@hoser.cygnus.com>
|
7082
|
+
|
7083
|
+
* ffitest.c (main): Added hack to get structure tests working
|
7084
|
+
correctly.
|
7085
|
+
|
7086
|
+
Sat May 10 19:06:42 1997 Tom Tromey <tromey@cygnus.com>
|
7087
|
+
|
7088
|
+
* Makefile.in: Rebuilt.
|
7089
|
+
* Makefile.am (EXTRA_DIST): Explicitly list all distributable
|
7090
|
+
files in subdirs.
|
7091
|
+
(VERSION, CC): Removed.
|
7092
|
+
|
7093
|
+
Thu May 8 17:19:01 1997 Anthony Green <green@hoser.cygnus.com>
|
7094
|
+
|
7095
|
+
* Makefile.am: Many changes for new automake and libtool.
|
7096
|
+
* Makefile.in: Rebuilt.
|
7097
|
+
|
7098
|
+
Fri Nov 22 06:57:56 1996 Anthony Green <green@rtl.cygnus.com>
|
7099
|
+
|
7100
|
+
* ffitest.c (main): Fixed test case for non mips machines.
|
7101
|
+
|
7102
|
+
Wed Nov 20 22:31:59 1996 Anthony Green <green@hoser.cygnus.com>
|
7103
|
+
|
7104
|
+
* types.c: Added ffi_type_void declaration.
|
7105
|
+
|
7106
|
+
Tue Oct 29 13:07:19 1996 Anthony Green <green@rtl.cygnus.com>
|
7107
|
+
|
7108
|
+
* ffitest.c (main): Fixed character constants.
|
7109
|
+
(main): Emit warning for structure test 3 failure on Sun.
|
7110
|
+
|
7111
|
+
* Makefile.am (VPATH): Fixed VPATH def'n so automake won't
|
7112
|
+
strip it out.
|
7113
|
+
Moved distdir hack from libffi to automake.
|
7114
|
+
(ffitest): Added missing -c for $(COMPILE) (change in automake).
|
7115
|
+
* Makefile.in: Rebuilt.
|
7116
|
+
|
7117
|
+
Tue Oct 15 13:08:20 1996 Anthony Green <green@hoser.cygnus.com>
|
7118
|
+
|
7119
|
+
* Makefile.am: Added "make lint" production.
|
7120
|
+
* Makefile.in: Rebuilt.
|
7121
|
+
|
7122
|
+
* prep_cif.c (STACK_ARG_SIZE): Improved STACK_ARG_SIZE macro.
|
7123
|
+
Clean up based on LCLint output. Added funny /*@...@*/ comments to
|
7124
|
+
annotate source.
|
7125
|
+
|
7126
|
+
* ffitest.c, debug.c: Cleaned up code.
|
7127
|
+
|
7128
|
+
Mon Oct 14 12:26:56 1996 Anthony Green <green@rtl.cygnus.com>
|
7129
|
+
|
7130
|
+
* ffitest.c: Changes based on interface changes.
|
7131
|
+
|
7132
|
+
* prep_cif.c (ffi_prep_cif): Cleaned up interface based on
|
7133
|
+
feedback from Jim Blandy.
|
7134
|
+
|
7135
|
+
Fri Oct 11 15:53:18 1996 Anthony Green <green@rtl.cygnus.com>
|
7136
|
+
|
7137
|
+
* ffitest.c: Reordered tests while porting to sparc.
|
7138
|
+
Made changes to handle lame structure passing for sparc.
|
7139
|
+
Removed calls to fflush().
|
7140
|
+
|
7141
|
+
* prep_cif.c (ffi_prep_cif): Added special case for sparc
|
7142
|
+
aggregate type arguments.
|
7143
|
+
|
7144
|
+
Thu Oct 10 09:56:51 1996 Anthony Green <green@rtl.cygnus.com>
|
7145
|
+
|
7146
|
+
* ffitest.c (main): Added structure passing/returning tests.
|
7147
|
+
|
7148
|
+
* prep_cif.c (ffi_prep_cif): Perform proper initialization
|
7149
|
+
of structure return types if needed.
|
7150
|
+
(initialize_aggregate): Bug fix
|
7151
|
+
|
7152
|
+
Wed Oct 9 16:04:20 1996 Anthony Green <green@rtl.cygnus.com>
|
7153
|
+
|
7154
|
+
* types.c: Added special definitions for x86 (double doesn't
|
7155
|
+
need double word alignment).
|
7156
|
+
|
7157
|
+
* ffitest.c: Added many tests
|
7158
|
+
|
7159
|
+
Tue Oct 8 09:19:22 1996 Anthony Green <green@rtl.cygnus.com>
|
7160
|
+
|
7161
|
+
* prep_cif.c (ffi_prep_cif): Fixed assertion.
|
7162
|
+
|
7163
|
+
* debug.c (ffi_assert): Must return a non void now.
|
7164
|
+
|
7165
|
+
* Makefile.am: Added test production.
|
7166
|
+
* Makefile: Rebuilt.
|
7167
|
+
|
7168
|
+
* ffitest.c (main): Created.
|
7169
|
+
|
7170
|
+
* types.c: Created. Stripped common code out of */ffi.c.
|
7171
|
+
|
7172
|
+
* prep_cif.c: Added missing stdlib.h include.
|
7173
|
+
|
7174
|
+
* debug.c (ffi_type_test): Used "a" to eliminate compiler
|
7175
|
+
warnings in non-debug builds. Included ffi_common.h.
|
7176
|
+
|
7177
|
+
Mon Oct 7 15:36:42 1996 Anthony Green <green@rtl.cygnus.com>
|
7178
|
+
|
7179
|
+
* Makefile.am: Added a rule for .s -> .o
|
7180
|
+
This is required by the SGI compiler.
|
7181
|
+
* Makefile: Rebuilt.
|
7182
|
+
|
7183
|
+
Fri Oct 4 09:51:08 1996 Anthony Green <green@hoser.cygnus.com>
|
7184
|
+
|
7185
|
+
* prep_cif.c (initialize_aggregate): Moved abi specification
|
7186
|
+
to ffi_prep_cif().
|
7187
|
+
|
7188
|
+
Thu Oct 3 15:37:37 1996 Anthony Green <green@hoser.cygnus.com>
|
7189
|
+
|
7190
|
+
* prep_cif.c (ffi_prep_cif): Changed values from void* to void**.
|
7191
|
+
(initialize_aggregate): Fixed aggregate type initialization.
|
7192
|
+
|
7193
|
+
* Makefile.am (EXTRA_DIST): Added support code for "make dist".
|
7194
|
+
* Makefile.in: Regenerated.
|
7195
|
+
|
7196
|
+
Wed Oct 2 11:41:57 1996 Anthony Green <green@hoser.cygnus.com>
|
7197
|
+
|
7198
|
+
* debug.c, prep_cif: Created.
|
7199
|
+
|
7200
|
+
* Makefile.am: Added debug.o and prep_cif.o to OBJ.
|
7201
|
+
* Makefile.in: Regenerated.
|
7202
|
+
|
7203
|
+
* Makefile.am (INCLUDES): Added missing -I../include
|
7204
|
+
* Makefile.in: Regenerated.
|
7205
|
+
|
7206
|
+
Tue Oct 1 17:11:51 1996 Anthony Green <green@rtl.cygnus.com>
|
7207
|
+
|
7208
|
+
* error.c, Makefile.am: Created.
|
7209
|
+
* Makefile.in: Generated.
|
7210
|
+
|
7211
|
+
--- libffi/src/x86 --------------------------------------------------------
|
7212
|
+
|
7213
|
+
Sun Oct 4 16:27:17 1998 Anthony Green <green@cygnus.com>
|
7214
|
+
|
7215
|
+
* sysv.S (retlongdouble): Fixed long long return value support.
|
7216
|
+
* ffi.c (ffi_prep_cif_machdep): Ditto.
|
7217
|
+
|
7218
|
+
Wed May 13 04:30:33 1998 Anthony Green <green@raft.ppp.tsoft.net>
|
7219
|
+
|
7220
|
+
* ffi.c (ffi_prep_cif_machdep): Fixed long double return value
|
7221
|
+
support.
|
7222
|
+
|
7223
|
+
Wed Apr 15 08:43:20 1998 Anthony Green <green@hoser.cygnus.com>
|
7224
|
+
|
7225
|
+
* ffi.c (ffi_prep_args): small struct support was missing.
|
7226
|
+
|
7227
|
+
Thu May 8 16:53:58 1997 Anthony Green <green@hoser.cygnus.com>
|
7228
|
+
|
7229
|
+
* objects.mak: Removed.
|
7230
|
+
|
7231
|
+
Mon Dec 2 15:12:58 1996 Tom Tromey <tromey@cygnus.com>
|
7232
|
+
|
7233
|
+
* sysv.S: Use .balign, for a.out Linux boxes.
|
7234
|
+
|
7235
|
+
Tue Oct 15 13:06:50 1996 Anthony Green <green@hoser.cygnus.com>
|
7236
|
+
|
7237
|
+
* ffi.c: Clean up based on LCLint output.
|
7238
|
+
Added funny /*@...@*/ comments to annotate source.
|
7239
|
+
|
7240
|
+
Fri Oct 11 16:43:38 1996 Anthony Green <green@rtl.cygnus.com>
|
7241
|
+
|
7242
|
+
* ffi.c (ffi_call): Added assertion for bad ABIs.
|
7243
|
+
|
7244
|
+
Wed Oct 9 13:57:27 1996 Anthony Green <green@rtl.cygnus.com>
|
7245
|
+
|
7246
|
+
* sysv.S (retdouble): Fixed double return problems.
|
7247
|
+
|
7248
|
+
* ffi.c (ffi_call): Corrected fn arg definition.
|
7249
|
+
(ffi_prep_cif_machdep): Fixed double return problems
|
7250
|
+
|
7251
|
+
Tue Oct 8 12:12:49 1996 Anthony Green <green@rtl.cygnus.com>
|
7252
|
+
|
7253
|
+
* ffi.c: Moved ffi_type definitions to types.c.
|
7254
|
+
(ffi_prep_args): Fixed type promotion bug.
|
7255
|
+
|
7256
|
+
Mon Oct 7 15:53:06 1996 Anthony Green <green@rtl.cygnus.com>
|
7257
|
+
|
7258
|
+
* ffi.c (FFI_*_TYPEDEF): Removed redundant ';'
|
7259
|
+
|
7260
|
+
Fri Oct 4 09:54:53 1996 Anthony Green <green@hoser.cygnus.com>
|
7261
|
+
|
7262
|
+
* ffi.c (ffi_call): Removed FFI_ABI arg, and swapped
|
7263
|
+
remaining args.
|
7264
|
+
|
7265
|
+
Wed Oct 2 10:07:05 1996 Anthony Green <green@hoser.cygnus.com>
|
7266
|
+
|
7267
|
+
* ffi.c, sysv.S, objects.mak: Created.
|
7268
|
+
(ffi_prep_cif): cif->rvalue no longer initialized to NULL.
|
7269
|
+
(ffi_prep_cif_machdep): Moved machine independent cif processing
|
7270
|
+
to src/prep_cif.c. Introduced ffi_prep_cif_machdep().
|
7271
|
+
|
7272
|
+
--- libffi/src/mips -------------------------------------------------------
|
7273
|
+
|
7274
|
+
Tue Feb 17 17:18:07 1998 Anthony Green <green@hoser.cygnus.com>
|
7275
|
+
|
7276
|
+
* o32.S: Fixed typo in comment.
|
7277
|
+
|
7278
|
+
* ffi.c (ffi_prep_cif_machdep): Fixed argument processing.
|
7279
|
+
|
7280
|
+
Thu May 8 16:53:58 1997 Anthony Green <green@hoser.cygnus.com>
|
7281
|
+
|
7282
|
+
* o32.s, n32.s: Wrappers for SGI tool support.
|
7283
|
+
|
7284
|
+
* objects.mak: Removed.
|
7285
|
+
|
7286
|
+
Tue Oct 29 14:37:45 1996 Anthony Green <green@rtl.cygnus.com>
|
7287
|
+
|
7288
|
+
* ffi.c (ffi_prep_args): Changed int z to size_t z.
|
7289
|
+
|
7290
|
+
Tue Oct 15 13:17:25 1996 Anthony Green <green@hoser.cygnus.com>
|
7291
|
+
|
7292
|
+
* n32.S: Fixed bad stack munging.
|
7293
|
+
|
7294
|
+
* ffi.c: Moved prototypes for ffi_call_?32() to here from
|
7295
|
+
ffi_mips.h because extended_cif is not defined in ffi_mips.h.
|
7296
|
+
|
7297
|
+
Mon Oct 14 12:42:02 1996 Anthony Green <green@rtl.cygnus.com>
|
7298
|
+
|
7299
|
+
* ffi.c: Interface changes based on feedback from Jim Blandy.
|
7300
|
+
|
7301
|
+
Thu Oct 10 11:22:16 1996 Anthony Green <green@rtl.cygnus.com>
|
7302
|
+
|
7303
|
+
* n32.S, ffi.c: Lots of changes to support passing and
|
7304
|
+
returning structures with the n32 calling convention.
|
7305
|
+
|
7306
|
+
* n32.S: Fixed fn pointer bug.
|
7307
|
+
|
7308
|
+
* ffi.c (ffi_prep_cif_machdep): Fix for o32 structure
|
7309
|
+
return values.
|
7310
|
+
(ffi_prep_args): Fixed n32 structure passing when structures
|
7311
|
+
partially fit in registers.
|
7312
|
+
|
7313
|
+
Wed Oct 9 13:49:25 1996 Anthony Green <green@rtl.cygnus.com>
|
7314
|
+
|
7315
|
+
* objects.mak: Added n32.o.
|
7316
|
+
|
7317
|
+
* n32.S: Created.
|
7318
|
+
|
7319
|
+
* ffi.c (ffi_prep_args): Added magic to support proper
|
7320
|
+
n32 processing.
|
7321
|
+
|
7322
|
+
Tue Oct 8 10:37:35 1996 Anthony Green <green@rtl.cygnus.com>
|
7323
|
+
|
7324
|
+
* ffi.c: Moved ffi_type definitions to types.c.
|
7325
|
+
(ffi_prep_args): Fixed type promotion bug.
|
7326
|
+
|
7327
|
+
* o32.S: This code is only built for o32 compiles.
|
7328
|
+
A lot of the #define cruft has moved to ffi_mips.h.
|
7329
|
+
|
7330
|
+
* ffi.c (ffi_prep_cif_machdep): Fixed arg flags. Second arg
|
7331
|
+
is only processed if the first is either a float or double.
|
7332
|
+
|
7333
|
+
Mon Oct 7 15:33:59 1996 Anthony Green <green@rtl.cygnus.com>
|
7334
|
+
|
7335
|
+
* o32.S: Modified to compile under each of o32, n32 and n64.
|
7336
|
+
|
7337
|
+
* ffi.c (FFI_*_TYPEDEF): Removed redundant ';'
|
7338
|
+
|
7339
|
+
Fri Oct 4 09:53:25 1996 Anthony Green <green@hoser.cygnus.com>
|
7340
|
+
|
7341
|
+
* ffi.c (ffi_call): Removed FFI_ABI arg, and swapped
|
7342
|
+
remaining args.
|
7343
|
+
|
7344
|
+
Wed Oct 2 17:41:22 1996 Anthony Green <green@rtl.cygnus.com>
|
7345
|
+
|
7346
|
+
* o32.S: Removed crufty definitions.
|
7347
|
+
|
7348
|
+
Wed Oct 2 12:53:42 1996 Anthony Green <green@hoser.cygnus.com>
|
7349
|
+
|
7350
|
+
* ffi.c (ffi_prep_cif): cif->rvalue no longer initialized to NULL.
|
7351
|
+
(ffi_prep_cif_machdep): Moved all machine independent cif processing
|
7352
|
+
to src/prep_cif.c. Introduced ffi_prep_cif_machdep. Return types
|
7353
|
+
of FFI_TYPE_STRUCT are no different than FFI_TYPE_INT.
|
7354
|
+
|
7355
|
+
Tue Oct 1 17:11:02 1996 Anthony Green <green@rtl.cygnus.com>
|
7356
|
+
|
7357
|
+
* ffi.c, o32.S, object.mak: Created
|
7358
|
+
|
7359
|
+
--- libffi/src/sparc ------------------------------------------------------
|
7360
|
+
|
7361
|
+
Tue Feb 24 16:33:18 1998 Anthony Green <green@hoser.cygnus.com>
|
7362
|
+
|
7363
|
+
* ffi.c (ffi_prep_args): Added long double support.
|
7364
|
+
|
7365
|
+
Thu May 8 16:53:58 1997 Anthony Green <green@hoser.cygnus.com>
|
7366
|
+
|
7367
|
+
* objects.mak: Removed.
|
7368
|
+
|
7369
|
+
Thu May 1 16:07:56 1997 Anthony Green <green@hoser.cygnus.com>
|
7370
|
+
|
7371
|
+
* v8.S: Fixed minor portability problem reported by
|
7372
|
+
Russ McManus <mcmanr@eq.gs.com>.
|
7373
|
+
|
7374
|
+
Tue Nov 26 14:12:43 1996 Anthony Green <green@csk3.cygnus.com>
|
7375
|
+
|
7376
|
+
* v8.S: Used STACKFRAME define elsewhere.
|
7377
|
+
|
7378
|
+
* ffi.c (ffi_prep_args): Zero out space when USING_PURIFY
|
7379
|
+
is set.
|
7380
|
+
(ffi_prep_cif_machdep): Allocate the correct stack frame
|
7381
|
+
space for functions with < 6 args.
|
7382
|
+
|
7383
|
+
Tue Oct 29 15:08:55 1996 Anthony Green <green@rtl.cygnus.com>
|
7384
|
+
|
7385
|
+
* ffi.c (ffi_prep_args): int z is now size_t z.
|
7386
|
+
|
7387
|
+
Mon Oct 14 13:31:24 1996 Anthony Green <green@rtl.cygnus.com>
|
7388
|
+
|
7389
|
+
* v8.S (ffi_call_V8): Gordon rewrites this again. It looks
|
7390
|
+
great now.
|
7391
|
+
|
7392
|
+
* ffi.c (ffi_call): The comment about hijacked registers
|
7393
|
+
is no longer valid after gordoni hacked v8.S.
|
7394
|
+
|
7395
|
+
* v8.S (ffi_call_V8): Rewrote with gordoni. Much simpler.
|
7396
|
+
|
7397
|
+
* v8.S, ffi.c: ffi_call() had changed to accept more than
|
7398
|
+
two args, so v8.S had to change (because it hijacks incoming
|
7399
|
+
arg registers).
|
7400
|
+
|
7401
|
+
* ffi.c: Interface changes based on feedback from Jim Blandy.
|
7402
|
+
|
7403
|
+
Thu Oct 10 17:48:16 1996 Anthony Green <green@rtl.cygnus.com>
|
7404
|
+
|
7405
|
+
* ffi.c, v8.S, objects.mak: Created.
|
7406
|
+
|
7407
|
+
|