Lines 276-285
fi
Link Here
|
276 |
if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then |
276 |
if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then |
277 |
AC_CACHE_CHECK([assembler supports pc related relocs], |
277 |
AC_CACHE_CHECK([assembler supports pc related relocs], |
278 |
libffi_cv_as_x86_pcrel, [ |
278 |
libffi_cv_as_x86_pcrel, [ |
279 |
libffi_cv_as_x86_pcrel=yes |
279 |
libffi_cv_as_x86_pcrel=no |
280 |
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s |
280 |
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s |
281 |
if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then |
281 |
if $CC $CFLAGS -c conftest.s > /dev/null; then |
282 |
libffi_cv_as_x86_pcrel=no |
282 |
libffi_cv_as_x86_pcrel=yes |
283 |
fi |
283 |
fi |
284 |
]) |
284 |
]) |
285 |
if test "x$libffi_cv_as_x86_pcrel" = xyes; then |
285 |
if test "x$libffi_cv_as_x86_pcrel" = xyes; then |
286 |
-------------000904010404030601050307-- |
|
|