aboutsummaryrefslogtreecommitdiff
path: root/libffi/configure
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2009-05-22 16:22:53 +0000
committerDave Korn <davek@gcc.gnu.org>2009-05-22 16:22:53 +0000
commit8353cd27a414d07e1ee6806c0742081f1b3ee899 (patch)
treef8970032a5fabd58011412456344d32254bece0f /libffi/configure
parentfe2978fba2ed2c3be0d1cd6ca3e1de30bd07bf93 (diff)
downloadgcc-8353cd27a414d07e1ee6806c0742081f1b3ee899.zip
gcc-8353cd27a414d07e1ee6806c0742081f1b3ee899.tar.gz
gcc-8353cd27a414d07e1ee6806c0742081f1b3ee899.tar.bz2
configure.ac: Also check if assembler supports pc-relative relocs on X86_WIN32 targets.
* configure.ac: Also check if assembler supports pc-relative relocs on X86_WIN32 targets. * configure: Regenerate. * src/x86/win32.S (ffi_prep_args): Declare extern, not global. (_ffi_call_SYSV): Add missing function type symbol .def and add EH markup labels. (_ffi_call_STDCALL): Likewise. (_ffi_closure_SYSV): Likewise. (_ffi_closure_raw_SYSV): Likewise. (.eh_frame): Add hand-crafted EH data. From-SVN: r147800
Diffstat (limited to 'libffi/configure')
-rwxr-xr-xlibffi/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/libffi/configure b/libffi/configure
index a1ec40b..4141f3a 100755
--- a/libffi/configure
+++ b/libffi/configure
@@ -13263,7 +13263,7 @@ _ACEOF
fi
fi
-if test x$TARGET = xX86 || test x$TARGET = xX86_64; then
+if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then
echo "$as_me:$LINENO: checking assembler supports pc related relocs" >&5
echo $ECHO_N "checking assembler supports pc related relocs... $ECHO_C" >&6
if test "${libffi_cv_as_x86_pcrel+set}" = set; then
@@ -14175,6 +14175,9 @@ ac_configure_args="${multilib_arg} ${ac_configure_args}"
multi_basedir="$multi_basedir"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
CC="$CC"
+CXX="$CXX"
+GFORTRAN="$GFORTRAN"
+GCJ="$GCJ"
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"