Merge pull request #307 from zw3rk/master

Support -ios triple
This commit is contained in:
Anthony Green
2017-09-27 20:53:50 -04:00
committed by GitHub
6 changed files with 3306 additions and 5 deletions
-1
View File
@@ -8,7 +8,6 @@ Makefile
Makefile.in Makefile.in
aclocal.m4 aclocal.m4
compile compile
config.*
configure configure
depcomp depcomp
doc/libffi.info doc/libffi.info
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
exec autoreconf -v -f -i exec autoreconf -v -i
+1466
View File
File diff suppressed because it is too large Load Diff
Vendored
+1836
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -191,13 +191,13 @@ fi
FFI_EXEC_TRAMPOLINE_TABLE=0 FFI_EXEC_TRAMPOLINE_TABLE=0
case "$target" in case "$target" in
*arm*-apple-darwin* | aarch64-apple-darwin*) *arm*-apple-* | aarch64-apple-*)
FFI_EXEC_TRAMPOLINE_TABLE=1 FFI_EXEC_TRAMPOLINE_TABLE=1
AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1, AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1,
[Cannot use PROT_EXEC on this target, so, we revert to [Cannot use PROT_EXEC on this target, so, we revert to
alternative means]) alternative means])
;; ;;
*-apple-darwin* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*) *-apple-* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1, AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
[Cannot use malloc on this target, so, we revert to [Cannot use malloc on this target, so, we revert to
alternative means]) alternative means])
+1 -1
View File
@@ -92,7 +92,7 @@ case "${host}" in
fi fi
;; ;;
i?86-*-darwin* | x86_64-*-darwin*) i?86-*-darwin* | x86_64-*-darwin* | i?86-*-ios | x86_64-*-ios)
TARGETDIR=x86 TARGETDIR=x86
if test $ac_cv_sizeof_size_t = 4; then if test $ac_cv_sizeof_size_t = 4; then
TARGET=X86_DARWIN TARGET=X86_DARWIN