x86 pcrel test

This commit is contained in:
Anthony Green
2011-02-08 10:10:07 -05:00
parent 0e5843995f
commit ed2c518d96
8 changed files with 22446 additions and 6 deletions
Vendored
+3 -3
View File
@@ -14517,10 +14517,10 @@ if test "${libffi_cv_as_x86_pcrel+set}" = set; then
$as_echo_n "(cached) " >&6
else
libffi_cv_as_x86_pcrel=yes
libffi_cv_as_x86_pcrel=no
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
libffi_cv_as_x86_pcrel=no
if $CC $CFLAGS -c conftest.s > /dev/null; then
libffi_cv_as_x86_pcrel=yes
fi
fi