ffi 1.9.24 → 1.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +348 -0
- data/Gemfile +4 -5
- data/README.md +44 -17
- data/Rakefile +74 -148
- data/ext/ffi_c/AbstractMemory.c +89 -70
- data/ext/ffi_c/AbstractMemory.h +3 -2
- data/ext/ffi_c/ArrayType.c +49 -13
- data/ext/ffi_c/ArrayType.h +1 -0
- data/ext/ffi_c/Buffer.c +90 -38
- data/ext/ffi_c/Call.c +55 -56
- data/ext/ffi_c/Call.h +12 -6
- data/ext/ffi_c/ClosurePool.c +333 -0
- data/ext/ffi_c/{Closure.h → ClosurePool.h} +25 -13
- data/ext/ffi_c/DynamicLibrary.c +91 -33
- data/ext/ffi_c/Function.c +306 -235
- data/ext/ffi_c/Function.h +3 -5
- data/ext/ffi_c/FunctionInfo.c +87 -32
- data/ext/ffi_c/LastError.c +74 -15
- data/ext/ffi_c/LongDouble.c +12 -10
- data/ext/ffi_c/LongDouble.h +0 -4
- data/ext/ffi_c/MappedType.c +66 -23
- data/ext/ffi_c/MappedType.h +0 -2
- data/ext/ffi_c/MemoryPointer.c +37 -15
- data/ext/ffi_c/MemoryPointer.h +0 -4
- data/ext/ffi_c/MethodHandle.c +265 -38
- data/ext/ffi_c/MethodHandle.h +3 -2
- data/ext/ffi_c/Platform.c +5 -56
- data/ext/ffi_c/Pointer.c +93 -55
- data/ext/ffi_c/Pointer.h +1 -4
- data/ext/ffi_c/Struct.c +202 -134
- data/ext/ffi_c/Struct.h +18 -9
- data/ext/ffi_c/StructByValue.c +50 -23
- data/ext/ffi_c/StructLayout.c +135 -64
- data/ext/ffi_c/Thread.c +4 -228
- data/ext/ffi_c/Thread.h +1 -20
- data/ext/ffi_c/Type.c +105 -55
- data/ext/ffi_c/Type.h +3 -2
- data/ext/ffi_c/Types.c +8 -9
- data/ext/ffi_c/Types.h +3 -4
- data/ext/ffi_c/Variadic.c +88 -47
- data/ext/ffi_c/compat.h +26 -22
- data/ext/ffi_c/extconf.rb +75 -32
- data/ext/ffi_c/ffi.c +9 -10
- data/ext/ffi_c/libffi/.appveyor/site.exp +16 -0
- data/ext/ffi_c/libffi/.appveyor/unix-noexec.exp +7 -0
- data/ext/ffi_c/libffi/.appveyor.yml +53 -19
- data/ext/ffi_c/libffi/.ci/bfin-sim.exp +58 -0
- data/ext/ffi_c/libffi/.ci/build-cross-in-container.sh +18 -0
- data/ext/ffi_c/libffi/.ci/build-in-container.sh +10 -0
- data/ext/ffi_c/libffi/.ci/build.sh +124 -0
- data/ext/ffi_c/libffi/.ci/install.sh +78 -0
- data/ext/ffi_c/libffi/.ci/m32r-sim.exp +58 -0
- data/ext/ffi_c/libffi/{.travis → .ci}/moxie-sim.exp +1 -1
- data/ext/ffi_c/libffi/.ci/msvs-detect +1103 -0
- data/ext/ffi_c/libffi/.ci/or1k-sim.exp +58 -0
- data/ext/ffi_c/libffi/.ci/powerpc-eabisim.exp +58 -0
- data/ext/ffi_c/libffi/.ci/site.exp +29 -0
- data/ext/ffi_c/libffi/.ci/wine-sim.exp +55 -0
- data/ext/ffi_c/libffi/.circleci/config.yml +156 -0
- data/ext/ffi_c/libffi/.gitattributes +4 -0
- data/ext/ffi_c/libffi/.github/workflows/build.yml +460 -0
- data/ext/ffi_c/libffi/.github/workflows/emscripten.yml +171 -0
- data/ext/ffi_c/libffi/.gitignore +10 -2
- 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/LICENSE-BUILDTOOLS +5 -4
- data/ext/ffi_c/libffi/Makefile.am +64 -73
- data/ext/ffi_c/libffi/Makefile.in +553 -235
- data/ext/ffi_c/libffi/README.md +165 -100
- data/ext/ffi_c/libffi/acinclude.m4 +10 -112
- data/ext/ffi_c/libffi/compile +348 -0
- data/ext/ffi_c/libffi/config.guess +950 -662
- data/ext/ffi_c/libffi/config.sub +1362 -1306
- data/ext/ffi_c/libffi/configure +4909 -4096
- data/ext/ffi_c/libffi/configure.ac +93 -32
- data/ext/ffi_c/libffi/configure.host +76 -28
- data/ext/ffi_c/libffi/doc/Makefile.in +15 -8
- data/ext/ffi_c/libffi/doc/libffi.texi +107 -46
- data/ext/ffi_c/libffi/doc/version.texi +4 -4
- data/ext/ffi_c/libffi/fficonfig.h.in +22 -44
- data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +165 -56
- data/ext/ffi_c/libffi/include/Makefile.am +1 -1
- data/ext/ffi_c/libffi/include/Makefile.in +17 -12
- data/ext/ffi_c/libffi/include/ffi.h.in +64 -48
- data/ext/ffi_c/libffi/include/ffi_cfi.h +21 -0
- data/ext/ffi_c/libffi/include/ffi_common.h +34 -1
- data/ext/ffi_c/libffi/include/tramp.h +45 -0
- data/ext/ffi_c/libffi/install-sh +107 -74
- 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 +2 -2
- data/ext/ffi_c/libffi/ltmain.sh +576 -284
- data/ext/ffi_c/libffi/m4/asmcfi.m4 +1 -1
- data/ext/ffi_c/libffi/m4/ax_append_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +18 -14
- data/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +108 -72
- data/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +76 -44
- 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/m4/ax_prepend_flag.m4 +51 -0
- data/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/ext/ffi_c/libffi/man/Makefile.in +15 -8
- data/ext/ffi_c/libffi/missing +8 -8
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
- data/ext/ffi_c/libffi/msvcc.sh +39 -14
- data/ext/ffi_c/libffi/src/aarch64/ffi.c +286 -98
- data/ext/ffi_c/libffi/src/aarch64/ffitarget.h +19 -3
- data/ext/ffi_c/libffi/src/aarch64/internal.h +33 -0
- data/ext/ffi_c/libffi/src/aarch64/sysv.S +142 -37
- data/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/ext/ffi_c/libffi/src/arc/arcompact.S +169 -94
- data/ext/ffi_c/libffi/src/arc/ffi.c +325 -148
- data/ext/ffi_c/libffi/src/arc/ffitarget.h +14 -0
- data/ext/ffi_c/libffi/src/arm/ffi.c +112 -10
- data/ext/ffi_c/libffi/src/arm/ffitarget.h +8 -1
- data/ext/ffi_c/libffi/src/arm/internal.h +10 -0
- data/ext/ffi_c/libffi/src/arm/sysv.S +117 -44
- data/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/ext/ffi_c/libffi/src/closures.c +189 -48
- data/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/ext/ffi_c/libffi/src/dlmalloc.c +6 -1
- data/ext/ffi_c/libffi/src/frv/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/ia64/ffi.c +12 -0
- data/ext/ffi_c/libffi/src/ia64/unix.S +20 -2
- data/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/ext/ffi_c/libffi/src/loongarch64/ffi.c +621 -0
- data/ext/ffi_c/libffi/src/loongarch64/ffitarget.h +82 -0
- data/ext/ffi_c/libffi/src/loongarch64/sysv.S +327 -0
- data/ext/ffi_c/libffi/src/m32r/ffi.c +31 -14
- data/ext/ffi_c/libffi/src/metag/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/mips/ffi.c +245 -66
- data/ext/ffi_c/libffi/src/mips/ffitarget.h +8 -1
- data/ext/ffi_c/libffi/src/mips/n32.S +137 -28
- data/ext/ffi_c/libffi/src/mips/o32.S +63 -4
- data/ext/ffi_c/libffi/src/moxie/ffi.c +48 -23
- data/ext/ffi_c/libffi/src/or1k/ffi.c +25 -12
- data/ext/ffi_c/libffi/src/pa/ffi.c +62 -108
- data/ext/ffi_c/libffi/src/pa/ffi64.c +614 -0
- data/ext/ffi_c/libffi/src/pa/ffitarget.h +20 -11
- data/ext/ffi_c/libffi/src/pa/hpux32.S +87 -38
- data/ext/ffi_c/libffi/src/pa/hpux64.S +681 -0
- data/ext/ffi_c/libffi/src/pa/linux.S +109 -39
- data/ext/ffi_c/libffi/src/powerpc/ffi.c +6 -4
- data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +13 -1
- data/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +211 -32
- 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 +93 -28
- data/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +83 -5
- data/ext/ffi_c/libffi/src/powerpc/sysv.S +5 -7
- data/ext/ffi_c/libffi/src/powerpc/t-aix +5 -0
- data/ext/ffi_c/libffi/src/prep_cif.c +26 -4
- data/ext/ffi_c/libffi/src/riscv/ffi.c +79 -10
- data/ext/ffi_c/libffi/src/riscv/ffitarget.h +1 -0
- data/ext/ffi_c/libffi/src/riscv/sysv.S +86 -7
- data/ext/ffi_c/libffi/src/sparc/ffi64.c +16 -0
- data/ext/ffi_c/libffi/src/tramp.c +716 -0
- data/ext/ffi_c/libffi/src/wasm32/ffi.c +934 -0
- data/ext/ffi_c/libffi/src/wasm32/ffitarget.h +62 -0
- data/ext/ffi_c/libffi/src/x86/ffi.c +128 -49
- data/ext/ffi_c/libffi/src/x86/ffi64.c +89 -23
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +21 -4
- data/ext/ffi_c/libffi/src/x86/ffiw64.c +63 -10
- data/ext/ffi_c/libffi/src/x86/internal.h +14 -0
- data/ext/ffi_c/libffi/src/x86/internal64.h +14 -0
- data/ext/ffi_c/libffi/src/x86/sysv.S +274 -45
- data/ext/ffi_c/libffi/src/x86/sysv_intel.S +998 -0
- data/ext/ffi_c/libffi/src/x86/unix64.S +190 -4
- data/ext/ffi_c/libffi/src/x86/win64.S +32 -10
- data/ext/ffi_c/libffi/src/x86/win64_intel.S +3 -2
- data/ext/ffi_c/libffi/src/xtensa/ffi.c +16 -8
- data/ext/ffi_c/libffi/src/xtensa/ffitarget.h +4 -0
- data/ext/ffi_c/libffi/src/xtensa/sysv.S +26 -16
- data/ext/ffi_c/libffi/testsuite/Makefile.am +127 -109
- data/ext/ffi_c/libffi/testsuite/Makefile.in +144 -88
- data/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh +54 -0
- data/ext/ffi_c/libffi/testsuite/emscripten/build.sh +63 -0
- data/ext/ffi_c/libffi/testsuite/emscripten/conftest.py +80 -0
- data/ext/ffi_c/libffi/testsuite/emscripten/node-tests.sh +48 -0
- data/ext/ffi_c/libffi/testsuite/emscripten/test.html +7 -0
- data/ext/ffi_c/libffi/testsuite/emscripten/test_libffi.py +51 -0
- data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +71 -25
- data/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +7 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +5 -4
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +5 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/bpo_38748.c +41 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +12 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +28 -3
- data/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +9 -8
- data/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +3 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +5 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +4 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +4 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/s55.c +60 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +8 -9
- data/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_2.c +63 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3.c +65 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3f.c +65 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4.c +67 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4f.c +67 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_big.c +93 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_small.c +61 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_2H.c +63 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_8H.c +90 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +1 -119
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_2.c +220 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_3.c +154 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +13 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +11 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +15 -0
- 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 +3 -2
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn1.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn2.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn3.c +21 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn4.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn5.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn6.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_loc_fn0.c +7 -6
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_simple.c +6 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_12byte.c +18 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_16byte.c +22 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_18byte.c +24 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_19byte.c +29 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_1_1byte.c +4 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte1.c +21 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_24byte.c +35 -3
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_2byte.c +13 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3_1byte.c +19 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte1.c +13 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte2.c +13 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3float.c +18 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4_1byte.c +22 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4byte.c +13 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5_1_byte.c +29 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5byte.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_64byte.c +24 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6_1_byte.c +28 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6byte.c +24 -2
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7_1_byte.c +39 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7byte.c +25 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_8byte.c +14 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte1.c +14 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte2.c +14 -2
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_double.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_float.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble.c +20 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split.c +40 -25
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split2.c +40 -3
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_pointer.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint16.c +18 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint32.c +18 -3
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint64.c +18 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint16.c +18 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint32.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint64.c +19 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_dbls_struct.c +3 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_double_va.c +9 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_float.c +4 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble.c +11 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble_va.c +22 -3
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_schar.c +5 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshort.c +6 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshortchar.c +9 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_uchar.c +9 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushort.c +6 -2
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushortchar.c +9 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer.c +5 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer_stack.c +10 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_schar.c +3 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sint.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sshort.c +3 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_struct_va1.c +11 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uchar.c +3 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint.c +4 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint_va.c +4 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulong_va.c +4 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulonglong.c +2 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ushort.c +3 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +1 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/huge_struct.c +24 -22
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct.c +32 -9
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct1.c +1 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct10.c +12 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct11.c +21 -5
- data/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct12.c +86 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct13.c +115 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct2.c +10 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct3.c +10 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct4.c +9 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct5.c +9 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct6.c +11 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct7.c +9 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct8.c +11 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct9.c +11 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs1.c +86 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs2.c +102 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs3.c +101 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium.c +1 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium2.c +1 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/testclosure.c +6 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest.cc +2 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest_ffi_call.cc +1 -0
- data/ext/ffi_c/libffi.bsd.mk +2 -2
- data/ext/ffi_c/libffi.darwin.mk +1 -1
- data/ext/ffi_c/libffi.gnu.mk +2 -2
- data/ext/ffi_c/rbffi.h +1 -3
- data/ffi.gemspec +15 -9
- data/lib/ffi/abstract_memory.rb +44 -0
- data/lib/ffi/autopointer.rb +8 -23
- data/lib/ffi/compat.rb +43 -0
- data/lib/ffi/data_converter.rb +67 -0
- data/lib/ffi/dynamic_library.rb +89 -0
- data/lib/ffi/enum.rb +18 -11
- data/lib/ffi/ffi.rb +6 -0
- data/lib/ffi/function.rb +71 -0
- data/lib/ffi/io.rb +3 -3
- data/lib/ffi/library.rb +65 -77
- data/lib/ffi/library_path.rb +109 -0
- data/lib/ffi/managedstruct.rb +3 -3
- data/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/lib/ffi/platform/aarch64-linux/types.conf +81 -81
- data/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/lib/ffi/platform/aarch64-windows/types.conf +52 -0
- data/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/lib/ffi/platform/arm-linux/types.conf +110 -82
- data/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
- data/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
- data/lib/ffi/platform/i386-cygwin/types.conf +1 -1
- data/lib/ffi/platform/i386-darwin/types.conf +63 -63
- data/lib/ffi/platform/i386-freebsd/types.conf +89 -89
- data/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/lib/ffi/platform/i386-gnu/types.conf +84 -84
- data/lib/ffi/platform/i386-linux/types.conf +77 -77
- data/lib/ffi/platform/i386-netbsd/types.conf +87 -87
- data/lib/ffi/platform/i386-openbsd/types.conf +89 -89
- data/lib/ffi/platform/i386-solaris/types.conf +96 -96
- data/lib/ffi/platform/i386-windows/types.conf +43 -96
- data/lib/ffi/platform/ia64-linux/types.conf +79 -79
- data/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
- data/lib/ffi/platform/mips-linux/types.conf +79 -79
- data/lib/ffi/platform/mips64-linux/types.conf +81 -81
- data/lib/ffi/platform/mips64el-linux/types.conf +81 -81
- data/lib/ffi/platform/mipsel-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa32r6-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa32r6el-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa64r6-linux/types.conf +81 -81
- data/lib/ffi/platform/mipsisa64r6el-linux/types.conf +81 -81
- data/lib/ffi/platform/powerpc-aix/types.conf +155 -155
- data/lib/ffi/platform/powerpc-darwin/types.conf +63 -63
- data/lib/ffi/platform/powerpc-linux/types.conf +108 -78
- data/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/lib/ffi/platform/powerpc64-linux/types.conf +81 -81
- data/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/lib/ffi/platform/s390-linux/types.conf +79 -79
- data/lib/ffi/platform/s390x-linux/types.conf +79 -79
- data/lib/ffi/platform/sparc-linux/types.conf +79 -79
- data/lib/ffi/platform/sparc-solaris/types.conf +103 -103
- data/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/lib/ffi/platform/sparcv9-solaris/types.conf +103 -103
- data/lib/ffi/platform/sw_64-linux/types.conf +141 -0
- data/lib/ffi/platform/x86_64-cygwin/types.conf +1 -1
- data/lib/ffi/platform/x86_64-darwin/types.conf +88 -84
- data/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/lib/ffi/platform/x86_64-freebsd/types.conf +90 -90
- data/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/lib/ffi/platform/x86_64-linux/types.conf +107 -77
- data/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/lib/ffi/platform/x86_64-netbsd/types.conf +89 -89
- data/lib/ffi/platform/x86_64-openbsd/types.conf +86 -86
- data/lib/ffi/platform/x86_64-solaris/types.conf +96 -96
- data/lib/ffi/platform/x86_64-windows/types.conf +42 -110
- data/lib/ffi/platform.rb +43 -20
- data/lib/ffi/pointer.rb +26 -20
- data/lib/ffi/struct.rb +14 -68
- data/lib/ffi/struct_by_reference.rb +72 -0
- data/lib/ffi/struct_layout.rb +96 -0
- data/lib/ffi/struct_layout_builder.rb +1 -1
- data/lib/ffi/tools/const_generator.rb +11 -8
- data/lib/ffi/tools/generator.rb +47 -2
- data/lib/ffi/tools/generator_task.rb +13 -17
- data/lib/ffi/tools/struct_generator.rb +6 -5
- data/lib/ffi/tools/types_generator.rb +7 -4
- data/lib/ffi/types.rb +33 -7
- data/lib/ffi/variadic.rb +20 -18
- data/lib/ffi/version.rb +1 -1
- data/lib/ffi.rb +10 -3
- data/rakelib/ffi_gem_helper.rb +65 -0
- 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/hello_ractor.rb +11 -0
- data/samples/inotify.rb +1 -1
- data/samples/pty.rb +1 -2
- data/samples/qsort.rb +0 -1
- data/samples/qsort_ractor.rb +28 -0
- data.tar.gz.sig +0 -0
- metadata +252 -153
- metadata.gz.sig +0 -0
- data/.gitignore +0 -22
- data/.gitmodules +0 -3
- data/.travis.yml +0 -52
- data/.yardopts +0 -5
- data/appveyor.yml +0 -22
- data/ext/ffi_c/Closure.c +0 -54
- data/ext/ffi_c/DataConverter.c +0 -91
- data/ext/ffi_c/StructByReference.c +0 -190
- data/ext/ffi_c/StructByReference.h +0 -50
- data/ext/ffi_c/libffi/.travis/build.sh +0 -34
- data/ext/ffi_c/libffi/.travis/install.sh +0 -22
- data/ext/ffi_c/libffi/.travis/site.exp +0 -18
- data/ext/ffi_c/libffi/.travis.yml +0 -34
- 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/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +0 -44
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +0 -44
- data/ext/ffi_c/win32/stdbool.h +0 -8
- data/ext/ffi_c/win32/stdint.h +0 -201
- data/samples/sample_helper.rb +0 -6
- data/ext/ffi_c/libffi/{.travis → .ci}/ar-lib +0 -0
- data/ext/ffi_c/libffi/{.travis → .ci}/compile +0 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/{pyobjc-tc.c → pyobjc_tc.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_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}/err_bad_abi.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/lib/ffi/platform/{sparc64-linux → sparcv9-linux}/types.conf +79 -79
@@ -6,112 +6,130 @@ EXTRA_DEJAGNU_SITE_CONFIG=../local.exp
|
|
6
6
|
|
7
7
|
CLEANFILES = *.exe core* *.log *.sum
|
8
8
|
|
9
|
-
EXTRA_DIST =
|
10
|
-
libffi.
|
11
|
-
libffi.
|
12
|
-
libffi.call
|
13
|
-
libffi.
|
14
|
-
libffi.call/
|
15
|
-
libffi.call/
|
16
|
-
libffi.call/
|
17
|
-
libffi.call/
|
18
|
-
libffi.call/
|
19
|
-
libffi.call/
|
20
|
-
libffi.call/
|
21
|
-
libffi.call/
|
22
|
-
libffi.call/
|
23
|
-
libffi.call/
|
24
|
-
libffi.call/
|
25
|
-
libffi.call/
|
26
|
-
libffi.call/
|
27
|
-
libffi.call/
|
28
|
-
libffi.call/
|
29
|
-
libffi.call/
|
30
|
-
libffi.call/
|
31
|
-
libffi.call/
|
32
|
-
libffi.call/
|
33
|
-
libffi.call/
|
34
|
-
libffi.call/
|
35
|
-
libffi.call/
|
36
|
-
libffi.call/
|
37
|
-
libffi.call/
|
38
|
-
libffi.call/
|
39
|
-
libffi.call/
|
40
|
-
libffi.call/
|
41
|
-
libffi.call/
|
42
|
-
libffi.call/
|
43
|
-
libffi.call/
|
44
|
-
libffi.
|
45
|
-
libffi.
|
46
|
-
libffi.
|
47
|
-
libffi.
|
48
|
-
libffi.
|
49
|
-
libffi.
|
50
|
-
libffi.
|
51
|
-
libffi.
|
52
|
-
libffi.
|
53
|
-
libffi.
|
54
|
-
libffi.
|
55
|
-
libffi.
|
56
|
-
libffi.
|
57
|
-
libffi.
|
58
|
-
libffi.
|
59
|
-
libffi.
|
60
|
-
libffi.
|
61
|
-
libffi.
|
62
|
-
libffi.
|
63
|
-
libffi.
|
64
|
-
libffi.
|
65
|
-
libffi.
|
66
|
-
libffi.
|
67
|
-
libffi.
|
68
|
-
libffi.
|
69
|
-
libffi.
|
70
|
-
libffi.
|
71
|
-
libffi.
|
72
|
-
libffi.
|
73
|
-
libffi.
|
74
|
-
libffi.
|
75
|
-
libffi.
|
76
|
-
libffi.
|
77
|
-
libffi.
|
78
|
-
libffi.
|
79
|
-
libffi.
|
80
|
-
libffi.
|
81
|
-
libffi.
|
82
|
-
libffi.
|
83
|
-
libffi.
|
84
|
-
libffi.
|
85
|
-
libffi.
|
86
|
-
libffi.
|
87
|
-
libffi.
|
88
|
-
libffi.
|
89
|
-
libffi.
|
90
|
-
libffi.
|
91
|
-
libffi.
|
92
|
-
libffi.
|
93
|
-
libffi.
|
94
|
-
libffi.
|
95
|
-
libffi.
|
96
|
-
libffi.
|
97
|
-
libffi.
|
98
|
-
libffi.
|
99
|
-
libffi.complex/
|
100
|
-
libffi.complex/
|
101
|
-
libffi.complex/
|
102
|
-
libffi.complex/
|
103
|
-
libffi.complex/
|
104
|
-
libffi.complex/
|
105
|
-
libffi.complex/
|
106
|
-
libffi.complex/
|
107
|
-
libffi.complex/
|
108
|
-
libffi.complex/
|
109
|
-
libffi.complex/
|
110
|
-
libffi.complex/
|
111
|
-
libffi.complex/
|
112
|
-
libffi.complex/
|
113
|
-
libffi.
|
114
|
-
libffi.
|
115
|
-
libffi.
|
116
|
-
libffi.
|
117
|
-
libffi.
|
9
|
+
EXTRA_DIST = config/default.exp lib/libffi.exp lib/target-libpath.exp \
|
10
|
+
lib/wrapper.exp libffi.bhaible/Makefile libffi.bhaible/README \
|
11
|
+
libffi.bhaible/alignof.h libffi.bhaible/bhaible.exp \
|
12
|
+
libffi.bhaible/test-call.c libffi.bhaible/test-callback.c \
|
13
|
+
libffi.bhaible/testcases.c libffi.call/align_mixed.c \
|
14
|
+
libffi.call/align_stdcall.c libffi.call/call.exp \
|
15
|
+
libffi.call/err_bad_typedef.c libffi.call/ffitest.h \
|
16
|
+
libffi.call/float.c libffi.call/float1.c libffi.call/float2.c \
|
17
|
+
libffi.call/float3.c libffi.call/float4.c libffi.call/float_va.c \
|
18
|
+
libffi.call/many.c libffi.call/many2.c libffi.call/many_double.c \
|
19
|
+
libffi.call/many_mixed.c libffi.call/negint.c libffi.call/offsets.c \
|
20
|
+
libffi.call/pr1172638.c libffi.call/promotion.c \
|
21
|
+
libffi.call/pyobjc_tc.c libffi.call/return_dbl.c \
|
22
|
+
libffi.call/return_dbl1.c libffi.call/return_dbl2.c \
|
23
|
+
libffi.call/return_fl.c libffi.call/return_fl1.c \
|
24
|
+
libffi.call/return_fl2.c libffi.call/return_fl3.c \
|
25
|
+
libffi.call/return_ldl.c libffi.call/return_ll.c \
|
26
|
+
libffi.call/return_ll1.c libffi.call/return_sc.c \
|
27
|
+
libffi.call/return_sl.c libffi.call/return_uc.c \
|
28
|
+
libffi.call/return_ul.c libffi.call/struct1.c libffi.call/struct10.c \
|
29
|
+
libffi.call/struct2.c libffi.call/struct3.c libffi.call/struct4.c \
|
30
|
+
libffi.call/struct5.c libffi.call/struct6.c libffi.call/struct7.c \
|
31
|
+
libffi.call/struct8.c libffi.call/struct9.c \
|
32
|
+
libffi.call/uninitialized.c libffi.call/va_1.c libffi.call/va_2.c \
|
33
|
+
libffi.call/va_3.c libffi.call/va_struct1.c libffi.call/va_struct2.c \
|
34
|
+
libffi.call/va_struct3.c libffi.call/struct_by_value_big.c \
|
35
|
+
libffi.call/struct_return_8H.c libffi.call/struct_return_2H.c \
|
36
|
+
libffi.call/struct_by_value_2.c libffi.call/struct_by_value_3.c \
|
37
|
+
libffi.call/struct_by_value_4.c libffi.call/struct_by_value_small.c \
|
38
|
+
libffi.call/strlen2.c libffi.call/strlen3.c libffi.call/strlen4.c \
|
39
|
+
libffi.call/strlen.c libffi.call/va_3.c \
|
40
|
+
libffi.call/struct_by_value_2.c libffi.call/struct_by_value_3.c \
|
41
|
+
libffi.call/struct_by_value_4.c libffi.closures/closure.exp \
|
42
|
+
libffi.call/struct_by_value_3f.c libffi.call/struct_by_value_4f.c \
|
43
|
+
libffi.call/s55.c libffi.call/bpo-38748.c \
|
44
|
+
libffi.closures/closure_fn0.c libffi.closures/closure_fn1.c \
|
45
|
+
libffi.closures/closure_fn2.c libffi.closures/closure_fn3.c \
|
46
|
+
libffi.closures/closure_fn4.c libffi.closures/closure_fn5.c \
|
47
|
+
libffi.closures/closure_fn6.c libffi.closures/closure_loc_fn0.c \
|
48
|
+
libffi.closures/closure_simple.c libffi.closures/cls_12byte.c \
|
49
|
+
libffi.closures/cls_16byte.c libffi.closures/cls_18byte.c \
|
50
|
+
libffi.closures/cls_19byte.c libffi.closures/cls_1_1byte.c \
|
51
|
+
libffi.closures/cls_20byte.c libffi.closures/cls_20byte1.c \
|
52
|
+
libffi.closures/cls_24byte.c libffi.closures/cls_2byte.c \
|
53
|
+
libffi.closures/cls_3_1byte.c libffi.closures/cls_3byte1.c \
|
54
|
+
libffi.closures/cls_3byte2.c libffi.closures/cls_3float.c \
|
55
|
+
libffi.closures/cls_4_1byte.c libffi.closures/cls_4byte.c \
|
56
|
+
libffi.closures/cls_5_1_byte.c libffi.closures/cls_5byte.c \
|
57
|
+
libffi.closures/cls_64byte.c libffi.closures/cls_6_1_byte.c \
|
58
|
+
libffi.closures/cls_6byte.c libffi.closures/cls_7_1_byte.c \
|
59
|
+
libffi.closures/cls_7byte.c libffi.closures/cls_8byte.c \
|
60
|
+
libffi.closures/cls_9byte1.c libffi.closures/cls_9byte2.c \
|
61
|
+
libffi.closures/cls_align_double.c libffi.closures/cls_align_float.c \
|
62
|
+
libffi.closures/cls_align_longdouble.c \
|
63
|
+
libffi.closures/cls_align_pointer.c \
|
64
|
+
libffi.closures/cls_align_sint16.c libffi.closures/cls_align_sint32.c \
|
65
|
+
libffi.closures/cls_align_sint64.c libffi.closures/cls_align_uint16.c \
|
66
|
+
libffi.closures/cls_align_uint32.c libffi.closures/cls_align_uint64.c \
|
67
|
+
libffi.closures/cls_dbls_struct.c libffi.closures/cls_double.c \
|
68
|
+
libffi.closures/cls_double_va.c libffi.closures/cls_float.c \
|
69
|
+
libffi.closures/cls_longdouble_va.c \
|
70
|
+
libffi.closures/cls_many_mixed_args.c \
|
71
|
+
libffi.closures/cls_many_mixed_float_double.c \
|
72
|
+
libffi.closures/cls_multi_schar.c libffi.closures/cls_multi_sshort.c \
|
73
|
+
libffi.closures/cls_multi_sshortchar.c \
|
74
|
+
libffi.closures/cls_multi_uchar.c libffi.closures/cls_multi_ushort.c \
|
75
|
+
libffi.closures/cls_multi_ushortchar.c libffi.closures/cls_pointer.c \
|
76
|
+
libffi.closures/cls_pointer_stack.c libffi.closures/cls_schar.c \
|
77
|
+
libffi.closures/cls_sint.c libffi.closures/cls_sshort.c \
|
78
|
+
libffi.closures/cls_struct_va1.c libffi.closures/cls_uchar.c \
|
79
|
+
libffi.closures/cls_uint.c libffi.closures/cls_uint_va.c \
|
80
|
+
libffi.closures/cls_ulong_va.c libffi.closures/cls_ulonglong.c \
|
81
|
+
libffi.closures/cls_ushort.c libffi.closures/err_bad_abi.c \
|
82
|
+
libffi.closures/ffitest.h libffi.closures/nested_struct.c \
|
83
|
+
libffi.closures/nested_struct1.c libffi.closures/nested_struct10.c \
|
84
|
+
libffi.closures/nested_struct11.c libffi.closures/nested_struct12.c \
|
85
|
+
libffi.closures/nested_struct13.c libffi.closures/nested_struct2.c \
|
86
|
+
libffi.closures/nested_struct3.c libffi.closures/nested_struct4.c \
|
87
|
+
libffi.closures/nested_struct5.c libffi.closures/nested_struct6.c \
|
88
|
+
libffi.closures/nested_struct7.c libffi.closures/nested_struct8.c \
|
89
|
+
libffi.closures/nested_struct9.c libffi.closures/problem1.c \
|
90
|
+
libffi.closures/single_entry_structs1.c \
|
91
|
+
libffi.closures/single_entry_structs2.c \
|
92
|
+
libffi.closures/single_entry_structs3.c libffi.closures/stret_large.c \
|
93
|
+
libffi.closures/stret_large2.c libffi.closures/stret_medium.c \
|
94
|
+
libffi.closures/stret_medium2.c libffi.closures/testclosure.c \
|
95
|
+
libffi.closures/unwindtest.cc libffi.closures/unwindtest_ffi_call.cc \
|
96
|
+
libffi.closures/cls_align_longdouble_split.c \
|
97
|
+
libffi.closures/cls_align_longdouble_split2.c \
|
98
|
+
libffi.closures/cls_longdouble.c libffi.closures/huge_struct.c \
|
99
|
+
libffi.complex/cls_align_complex.inc \
|
100
|
+
libffi.complex/cls_align_complex_double.c \
|
101
|
+
libffi.complex/cls_align_complex_float.c \
|
102
|
+
libffi.complex/cls_align_complex_longdouble.c \
|
103
|
+
libffi.complex/cls_complex.inc libffi.complex/cls_complex_double.c \
|
104
|
+
libffi.complex/cls_complex_float.c \
|
105
|
+
libffi.complex/cls_complex_longdouble.c \
|
106
|
+
libffi.complex/cls_complex_struct.inc \
|
107
|
+
libffi.complex/cls_complex_struct_double.c \
|
108
|
+
libffi.complex/cls_complex_struct_float.c \
|
109
|
+
libffi.complex/cls_complex_struct_longdouble.c \
|
110
|
+
libffi.complex/cls_complex_va.inc \
|
111
|
+
libffi.complex/cls_complex_va_double.c \
|
112
|
+
libffi.complex/cls_complex_va_float.c \
|
113
|
+
libffi.complex/cls_complex_va_longdouble.c libffi.complex/complex.exp \
|
114
|
+
libffi.complex/complex.inc libffi.complex/complex_defs_double.inc \
|
115
|
+
libffi.complex/complex_defs_float.inc \
|
116
|
+
libffi.complex/complex_defs_longdouble.inc \
|
117
|
+
libffi.complex/complex_double.c libffi.complex/complex_float.c \
|
118
|
+
libffi.complex/complex_int.c libffi.complex/complex_longdouble.c \
|
119
|
+
libffi.complex/ffitest.h libffi.complex/many_complex.inc \
|
120
|
+
libffi.complex/many_complex_double.c \
|
121
|
+
libffi.complex/many_complex_float.c \
|
122
|
+
libffi.complex/many_complex_longdouble.c \
|
123
|
+
libffi.complex/return_complex.inc libffi.complex/return_complex1.inc \
|
124
|
+
libffi.complex/return_complex1_double.c \
|
125
|
+
libffi.complex/return_complex1_float.c \
|
126
|
+
libffi.complex/return_complex1_longdouble.c \
|
127
|
+
libffi.complex/return_complex2.inc \
|
128
|
+
libffi.complex/return_complex2_double.c \
|
129
|
+
libffi.complex/return_complex2_float.c \
|
130
|
+
libffi.complex/return_complex2_longdouble.c \
|
131
|
+
libffi.complex/return_complex_double.c \
|
132
|
+
libffi.complex/return_complex_float.c \
|
133
|
+
libffi.complex/return_complex_longdouble.c libffi.go/aa-direct.c \
|
134
|
+
libffi.go/closure1.c libffi.go/ffitest.h libffi.go/go.exp \
|
135
|
+
libffi.go/static-chain.h
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.16.5 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -91,7 +91,6 @@ target_triplet = @target@
|
|
91
91
|
subdir = testsuite
|
92
92
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
93
93
|
am__aclocal_m4_deps = $(top_srcdir)/m4/asmcfi.m4 \
|
94
|
-
$(top_srcdir)/m4/ax_append_flag.m4 \
|
95
94
|
$(top_srcdir)/m4/ax_cc_maxopt.m4 \
|
96
95
|
$(top_srcdir)/m4/ax_cflags_warn_all.m4 \
|
97
96
|
$(top_srcdir)/m4/ax_check_compile_flag.m4 \
|
@@ -100,6 +99,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/asmcfi.m4 \
|
|
100
99
|
$(top_srcdir)/m4/ax_enable_builddir.m4 \
|
101
100
|
$(top_srcdir)/m4/ax_gcc_archflag.m4 \
|
102
101
|
$(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \
|
102
|
+
$(top_srcdir)/m4/ax_prepend_flag.m4 \
|
103
|
+
$(top_srcdir)/m4/ax_require_defined.m4 \
|
103
104
|
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
104
105
|
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
105
106
|
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
|
@@ -138,7 +139,6 @@ RUNTEST = runtest
|
|
138
139
|
am__DIST_COMMON = $(srcdir)/Makefile.in
|
139
140
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
140
141
|
ACLOCAL = @ACLOCAL@
|
141
|
-
ALLOCA = @ALLOCA@
|
142
142
|
AMTAR = @AMTAR@
|
143
143
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
144
144
|
AM_LTLDFLAGS = @AM_LTLDFLAGS@
|
@@ -154,8 +154,9 @@ CCASDEPMODE = @CCASDEPMODE@
|
|
154
154
|
CCASFLAGS = @CCASFLAGS@
|
155
155
|
CCDEPMODE = @CCDEPMODE@
|
156
156
|
CFLAGS = @CFLAGS@
|
157
|
-
CPP = @CPP@
|
158
157
|
CPPFLAGS = @CPPFLAGS@
|
158
|
+
CSCOPE = @CSCOPE@
|
159
|
+
CTAGS = @CTAGS@
|
159
160
|
CXX = @CXX@
|
160
161
|
CXXCPP = @CXXCPP@
|
161
162
|
CXXDEPMODE = @CXXDEPMODE@
|
@@ -170,9 +171,11 @@ ECHO_C = @ECHO_C@
|
|
170
171
|
ECHO_N = @ECHO_N@
|
171
172
|
ECHO_T = @ECHO_T@
|
172
173
|
EGREP = @EGREP@
|
174
|
+
ETAGS = @ETAGS@
|
173
175
|
EXEEXT = @EXEEXT@
|
174
176
|
FFI_EXEC_TRAMPOLINE_TABLE = @FFI_EXEC_TRAMPOLINE_TABLE@
|
175
177
|
FGREP = @FGREP@
|
178
|
+
FILECMD = @FILECMD@
|
176
179
|
GREP = @GREP@
|
177
180
|
HAVE_LONG_DOUBLE = @HAVE_LONG_DOUBLE@
|
178
181
|
HAVE_LONG_DOUBLE_VARIANT = @HAVE_LONG_DOUBLE_VARIANT@
|
@@ -211,6 +214,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
211
214
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
212
215
|
PRTDIAG = @PRTDIAG@
|
213
216
|
RANLIB = @RANLIB@
|
217
|
+
READELF = @READELF@
|
214
218
|
SECTION_LDFLAGS = @SECTION_LDFLAGS@
|
215
219
|
SED = @SED@
|
216
220
|
SET_MAKE = @SET_MAKE@
|
@@ -277,6 +281,7 @@ target_alias = @target_alias@
|
|
277
281
|
target_cpu = @target_cpu@
|
278
282
|
target_os = @target_os@
|
279
283
|
target_vendor = @target_vendor@
|
284
|
+
tmake_file = @tmake_file@
|
280
285
|
toolexecdir = @toolexecdir@
|
281
286
|
toolexeclibdir = @toolexeclibdir@
|
282
287
|
top_build_prefix = @top_build_prefix@
|
@@ -285,84 +290,133 @@ top_srcdir = @top_srcdir@
|
|
285
290
|
AUTOMAKE_OPTIONS = foreign dejagnu
|
286
291
|
EXTRA_DEJAGNU_SITE_CONFIG = ../local.exp
|
287
292
|
CLEANFILES = *.exe core* *.log *.sum
|
288
|
-
EXTRA_DIST = config/default.exp libffi.
|
289
|
-
libffi.
|
290
|
-
libffi.
|
291
|
-
libffi.call/
|
292
|
-
libffi.
|
293
|
-
libffi.call/
|
294
|
-
libffi.call/
|
295
|
-
libffi.call/
|
296
|
-
libffi.call/
|
297
|
-
libffi.call/
|
298
|
-
libffi.call/
|
299
|
-
libffi.call/
|
300
|
-
libffi.call/
|
301
|
-
libffi.call/
|
302
|
-
libffi.call/
|
303
|
-
libffi.call/
|
304
|
-
libffi.call/
|
305
|
-
libffi.call/
|
306
|
-
libffi.call/
|
307
|
-
libffi.call/
|
308
|
-
libffi.call/
|
309
|
-
libffi.call/
|
310
|
-
libffi.call/
|
311
|
-
libffi.call/
|
312
|
-
libffi.call/
|
313
|
-
libffi.call/
|
314
|
-
libffi.call/
|
315
|
-
libffi.call/
|
316
|
-
libffi.call/
|
317
|
-
libffi.call/
|
318
|
-
libffi.call/
|
319
|
-
libffi.call/
|
320
|
-
libffi.call/
|
321
|
-
libffi.call/
|
322
|
-
libffi.call/
|
323
|
-
libffi.
|
324
|
-
libffi.
|
325
|
-
libffi.
|
326
|
-
libffi.
|
327
|
-
libffi.
|
328
|
-
libffi.
|
329
|
-
libffi.
|
330
|
-
libffi.
|
331
|
-
libffi.
|
332
|
-
libffi.
|
333
|
-
libffi.
|
334
|
-
libffi.
|
335
|
-
libffi.
|
336
|
-
libffi.
|
337
|
-
libffi.
|
338
|
-
libffi.
|
339
|
-
libffi.
|
340
|
-
libffi.
|
341
|
-
libffi.
|
342
|
-
libffi.
|
343
|
-
libffi.
|
344
|
-
libffi.
|
345
|
-
libffi.
|
346
|
-
libffi.
|
347
|
-
libffi.
|
348
|
-
libffi.
|
349
|
-
libffi.
|
350
|
-
libffi.
|
351
|
-
libffi.
|
352
|
-
libffi.
|
353
|
-
libffi.
|
354
|
-
libffi.
|
355
|
-
|
356
|
-
|
357
|
-
libffi.
|
358
|
-
libffi.
|
359
|
-
libffi.
|
360
|
-
libffi.
|
361
|
-
libffi.
|
362
|
-
libffi.
|
363
|
-
libffi.
|
364
|
-
libffi.
|
365
|
-
libffi.
|
293
|
+
EXTRA_DIST = config/default.exp lib/libffi.exp lib/target-libpath.exp \
|
294
|
+
lib/wrapper.exp libffi.bhaible/Makefile libffi.bhaible/README \
|
295
|
+
libffi.bhaible/alignof.h libffi.bhaible/bhaible.exp \
|
296
|
+
libffi.bhaible/test-call.c libffi.bhaible/test-callback.c \
|
297
|
+
libffi.bhaible/testcases.c libffi.call/align_mixed.c \
|
298
|
+
libffi.call/align_stdcall.c libffi.call/call.exp \
|
299
|
+
libffi.call/err_bad_typedef.c libffi.call/ffitest.h \
|
300
|
+
libffi.call/float.c libffi.call/float1.c libffi.call/float2.c \
|
301
|
+
libffi.call/float3.c libffi.call/float4.c libffi.call/float_va.c \
|
302
|
+
libffi.call/many.c libffi.call/many2.c libffi.call/many_double.c \
|
303
|
+
libffi.call/many_mixed.c libffi.call/negint.c libffi.call/offsets.c \
|
304
|
+
libffi.call/pr1172638.c libffi.call/promotion.c \
|
305
|
+
libffi.call/pyobjc_tc.c libffi.call/return_dbl.c \
|
306
|
+
libffi.call/return_dbl1.c libffi.call/return_dbl2.c \
|
307
|
+
libffi.call/return_fl.c libffi.call/return_fl1.c \
|
308
|
+
libffi.call/return_fl2.c libffi.call/return_fl3.c \
|
309
|
+
libffi.call/return_ldl.c libffi.call/return_ll.c \
|
310
|
+
libffi.call/return_ll1.c libffi.call/return_sc.c \
|
311
|
+
libffi.call/return_sl.c libffi.call/return_uc.c \
|
312
|
+
libffi.call/return_ul.c libffi.call/struct1.c libffi.call/struct10.c \
|
313
|
+
libffi.call/struct2.c libffi.call/struct3.c libffi.call/struct4.c \
|
314
|
+
libffi.call/struct5.c libffi.call/struct6.c libffi.call/struct7.c \
|
315
|
+
libffi.call/struct8.c libffi.call/struct9.c \
|
316
|
+
libffi.call/uninitialized.c libffi.call/va_1.c libffi.call/va_2.c \
|
317
|
+
libffi.call/va_3.c libffi.call/va_struct1.c libffi.call/va_struct2.c \
|
318
|
+
libffi.call/va_struct3.c libffi.call/struct_by_value_big.c \
|
319
|
+
libffi.call/struct_return_8H.c libffi.call/struct_return_2H.c \
|
320
|
+
libffi.call/struct_by_value_2.c libffi.call/struct_by_value_3.c \
|
321
|
+
libffi.call/struct_by_value_4.c libffi.call/struct_by_value_small.c \
|
322
|
+
libffi.call/strlen2.c libffi.call/strlen3.c libffi.call/strlen4.c \
|
323
|
+
libffi.call/strlen.c libffi.call/va_3.c \
|
324
|
+
libffi.call/struct_by_value_2.c libffi.call/struct_by_value_3.c \
|
325
|
+
libffi.call/struct_by_value_4.c libffi.closures/closure.exp \
|
326
|
+
libffi.call/struct_by_value_3f.c libffi.call/struct_by_value_4f.c \
|
327
|
+
libffi.call/s55.c libffi.call/bpo-38748.c \
|
328
|
+
libffi.closures/closure_fn0.c libffi.closures/closure_fn1.c \
|
329
|
+
libffi.closures/closure_fn2.c libffi.closures/closure_fn3.c \
|
330
|
+
libffi.closures/closure_fn4.c libffi.closures/closure_fn5.c \
|
331
|
+
libffi.closures/closure_fn6.c libffi.closures/closure_loc_fn0.c \
|
332
|
+
libffi.closures/closure_simple.c libffi.closures/cls_12byte.c \
|
333
|
+
libffi.closures/cls_16byte.c libffi.closures/cls_18byte.c \
|
334
|
+
libffi.closures/cls_19byte.c libffi.closures/cls_1_1byte.c \
|
335
|
+
libffi.closures/cls_20byte.c libffi.closures/cls_20byte1.c \
|
336
|
+
libffi.closures/cls_24byte.c libffi.closures/cls_2byte.c \
|
337
|
+
libffi.closures/cls_3_1byte.c libffi.closures/cls_3byte1.c \
|
338
|
+
libffi.closures/cls_3byte2.c libffi.closures/cls_3float.c \
|
339
|
+
libffi.closures/cls_4_1byte.c libffi.closures/cls_4byte.c \
|
340
|
+
libffi.closures/cls_5_1_byte.c libffi.closures/cls_5byte.c \
|
341
|
+
libffi.closures/cls_64byte.c libffi.closures/cls_6_1_byte.c \
|
342
|
+
libffi.closures/cls_6byte.c libffi.closures/cls_7_1_byte.c \
|
343
|
+
libffi.closures/cls_7byte.c libffi.closures/cls_8byte.c \
|
344
|
+
libffi.closures/cls_9byte1.c libffi.closures/cls_9byte2.c \
|
345
|
+
libffi.closures/cls_align_double.c libffi.closures/cls_align_float.c \
|
346
|
+
libffi.closures/cls_align_longdouble.c \
|
347
|
+
libffi.closures/cls_align_pointer.c \
|
348
|
+
libffi.closures/cls_align_sint16.c libffi.closures/cls_align_sint32.c \
|
349
|
+
libffi.closures/cls_align_sint64.c libffi.closures/cls_align_uint16.c \
|
350
|
+
libffi.closures/cls_align_uint32.c libffi.closures/cls_align_uint64.c \
|
351
|
+
libffi.closures/cls_dbls_struct.c libffi.closures/cls_double.c \
|
352
|
+
libffi.closures/cls_double_va.c libffi.closures/cls_float.c \
|
353
|
+
libffi.closures/cls_longdouble_va.c \
|
354
|
+
libffi.closures/cls_many_mixed_args.c \
|
355
|
+
libffi.closures/cls_many_mixed_float_double.c \
|
356
|
+
libffi.closures/cls_multi_schar.c libffi.closures/cls_multi_sshort.c \
|
357
|
+
libffi.closures/cls_multi_sshortchar.c \
|
358
|
+
libffi.closures/cls_multi_uchar.c libffi.closures/cls_multi_ushort.c \
|
359
|
+
libffi.closures/cls_multi_ushortchar.c libffi.closures/cls_pointer.c \
|
360
|
+
libffi.closures/cls_pointer_stack.c libffi.closures/cls_schar.c \
|
361
|
+
libffi.closures/cls_sint.c libffi.closures/cls_sshort.c \
|
362
|
+
libffi.closures/cls_struct_va1.c libffi.closures/cls_uchar.c \
|
363
|
+
libffi.closures/cls_uint.c libffi.closures/cls_uint_va.c \
|
364
|
+
libffi.closures/cls_ulong_va.c libffi.closures/cls_ulonglong.c \
|
365
|
+
libffi.closures/cls_ushort.c libffi.closures/err_bad_abi.c \
|
366
|
+
libffi.closures/ffitest.h libffi.closures/nested_struct.c \
|
367
|
+
libffi.closures/nested_struct1.c libffi.closures/nested_struct10.c \
|
368
|
+
libffi.closures/nested_struct11.c libffi.closures/nested_struct12.c \
|
369
|
+
libffi.closures/nested_struct13.c libffi.closures/nested_struct2.c \
|
370
|
+
libffi.closures/nested_struct3.c libffi.closures/nested_struct4.c \
|
371
|
+
libffi.closures/nested_struct5.c libffi.closures/nested_struct6.c \
|
372
|
+
libffi.closures/nested_struct7.c libffi.closures/nested_struct8.c \
|
373
|
+
libffi.closures/nested_struct9.c libffi.closures/problem1.c \
|
374
|
+
libffi.closures/single_entry_structs1.c \
|
375
|
+
libffi.closures/single_entry_structs2.c \
|
376
|
+
libffi.closures/single_entry_structs3.c libffi.closures/stret_large.c \
|
377
|
+
libffi.closures/stret_large2.c libffi.closures/stret_medium.c \
|
378
|
+
libffi.closures/stret_medium2.c libffi.closures/testclosure.c \
|
379
|
+
libffi.closures/unwindtest.cc libffi.closures/unwindtest_ffi_call.cc \
|
380
|
+
libffi.closures/cls_align_longdouble_split.c \
|
381
|
+
libffi.closures/cls_align_longdouble_split2.c \
|
382
|
+
libffi.closures/cls_longdouble.c libffi.closures/huge_struct.c \
|
383
|
+
libffi.complex/cls_align_complex.inc \
|
384
|
+
libffi.complex/cls_align_complex_double.c \
|
385
|
+
libffi.complex/cls_align_complex_float.c \
|
386
|
+
libffi.complex/cls_align_complex_longdouble.c \
|
387
|
+
libffi.complex/cls_complex.inc libffi.complex/cls_complex_double.c \
|
388
|
+
libffi.complex/cls_complex_float.c \
|
389
|
+
libffi.complex/cls_complex_longdouble.c \
|
390
|
+
libffi.complex/cls_complex_struct.inc \
|
391
|
+
libffi.complex/cls_complex_struct_double.c \
|
392
|
+
libffi.complex/cls_complex_struct_float.c \
|
393
|
+
libffi.complex/cls_complex_struct_longdouble.c \
|
394
|
+
libffi.complex/cls_complex_va.inc \
|
395
|
+
libffi.complex/cls_complex_va_double.c \
|
396
|
+
libffi.complex/cls_complex_va_float.c \
|
397
|
+
libffi.complex/cls_complex_va_longdouble.c libffi.complex/complex.exp \
|
398
|
+
libffi.complex/complex.inc libffi.complex/complex_defs_double.inc \
|
399
|
+
libffi.complex/complex_defs_float.inc \
|
400
|
+
libffi.complex/complex_defs_longdouble.inc \
|
401
|
+
libffi.complex/complex_double.c libffi.complex/complex_float.c \
|
402
|
+
libffi.complex/complex_int.c libffi.complex/complex_longdouble.c \
|
403
|
+
libffi.complex/ffitest.h libffi.complex/many_complex.inc \
|
404
|
+
libffi.complex/many_complex_double.c \
|
405
|
+
libffi.complex/many_complex_float.c \
|
406
|
+
libffi.complex/many_complex_longdouble.c \
|
407
|
+
libffi.complex/return_complex.inc libffi.complex/return_complex1.inc \
|
408
|
+
libffi.complex/return_complex1_double.c \
|
409
|
+
libffi.complex/return_complex1_float.c \
|
410
|
+
libffi.complex/return_complex1_longdouble.c \
|
411
|
+
libffi.complex/return_complex2.inc \
|
412
|
+
libffi.complex/return_complex2_double.c \
|
413
|
+
libffi.complex/return_complex2_float.c \
|
414
|
+
libffi.complex/return_complex2_longdouble.c \
|
415
|
+
libffi.complex/return_complex_double.c \
|
416
|
+
libffi.complex/return_complex_float.c \
|
417
|
+
libffi.complex/return_complex_longdouble.c libffi.go/aa-direct.c \
|
418
|
+
libffi.go/closure1.c libffi.go/ffitest.h libffi.go/go.exp \
|
419
|
+
libffi.go/static-chain.h
|
366
420
|
|
367
421
|
all: all-am
|
368
422
|
|
@@ -384,8 +438,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
384
438
|
*config.status*) \
|
385
439
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
386
440
|
*) \
|
387
|
-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
388
|
-
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
441
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
442
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
389
443
|
esac;
|
390
444
|
|
391
445
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
@@ -414,7 +468,7 @@ check-DEJAGNU: site.exp
|
|
414
468
|
EXPECT=$(EXPECT); export EXPECT; \
|
415
469
|
if $(SHELL) -c "$(RUNTEST) --version" > /dev/null 2>&1; then \
|
416
470
|
exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \
|
417
|
-
if $(RUNTEST) $(
|
471
|
+
if $(RUNTEST) $(RUNTESTDEFAULTFLAGS) $(AM_RUNTESTFLAGS) $(RUNTESTFLAGS); \
|
418
472
|
then :; else exit_status=1; fi; \
|
419
473
|
done; \
|
420
474
|
else echo "WARNING: could not find '$(RUNTEST)'" 1>&2; :;\
|
@@ -426,7 +480,7 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
|
|
426
480
|
@echo '# Do not edit here. If you wish to override these values' >>site.tmp
|
427
481
|
@echo '# edit the last section' >>site.tmp
|
428
482
|
@echo 'set srcdir "$(srcdir)"' >>site.tmp
|
429
|
-
@echo "set objdir `pwd
|
483
|
+
@echo "set objdir \"`pwd`\"" >>site.tmp
|
430
484
|
@echo 'set build_alias "$(build_alias)"' >>site.tmp
|
431
485
|
@echo 'set build_triplet $(build_triplet)' >>site.tmp
|
432
486
|
@echo 'set host_alias "$(host_alias)"' >>site.tmp
|
@@ -452,8 +506,10 @@ distclean-DEJAGNU:
|
|
452
506
|
-l='$(DEJATOOL)'; for tool in $$l; do \
|
453
507
|
rm -f $$tool.sum $$tool.log; \
|
454
508
|
done
|
509
|
+
distdir: $(BUILT_SOURCES)
|
510
|
+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
455
511
|
|
456
|
-
distdir: $(DISTFILES)
|
512
|
+
distdir-am: $(DISTFILES)
|
457
513
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
458
514
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
459
515
|
list='$(DISTFILES)'; \
|