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
aclocal.m4
compile
config.*
configure
depcomp
doc/libffi.info
+1 -1
View File
@@ -1,2 +1,2 @@
#!/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
case "$target" in
*arm*-apple-darwin* | aarch64-apple-darwin*)
*arm*-apple-* | aarch64-apple-*)
FFI_EXEC_TRAMPOLINE_TABLE=1
AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1,
[Cannot use PROT_EXEC on this target, so, we revert to
alternative means])
;;
*-apple-darwin* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
*-apple-* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
[Cannot use malloc on this target, so, we revert to
alternative means])
+1 -1
View File
@@ -92,7 +92,7 @@ case "${host}" in
fi
;;
i?86-*-darwin* | x86_64-*-darwin*)
i?86-*-darwin* | x86_64-*-darwin* | i?86-*-ios | x86_64-*-ios)
TARGETDIR=x86
if test $ac_cv_sizeof_size_t = 4; then
TARGET=X86_DARWIN