diff --git a/ChangeLog b/ChangeLog index 9bdff02e28..de3de3e46e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-18 Andreas Schwab + + * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on + 64-bit targets. + * configure: Regenerated. + 2012-11-17 David S. Miller [BZ #14811] diff --git a/configure b/configure index 980f25fffe..1927ce81c6 100755 --- a/configure +++ b/configure @@ -4217,7 +4217,7 @@ $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; } if ${libc_cv_ld_gnu_indirect_function+:} false; then : $as_echo_n "(cached) " >&6 else - cat > conftest.s < conftest.S <&5 2>&5; then + -o conftest conftest.S 1>&5 2>&5; then # Do a link to see if the backend supports IFUNC relocs. $READELF -r conftest 1>&5 LC_ALL=C $READELF -r conftest | grep 'no relocations' >/dev/null || { diff --git a/configure.in b/configure.in index 7c059039a6..9decd7d24b 100644 --- a/configure.in +++ b/configure.in @@ -577,7 +577,7 @@ fi # For the multi-arch option we need support in the assembler & linker. AC_CACHE_CHECK([for assembler and linker STT_GNU_IFUNC support], libc_cv_ld_gnu_indirect_function, [dnl -cat > conftest.s < conftest.S <&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then + -o conftest conftest.S 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then # Do a link to see if the backend supports IFUNC relocs. $READELF -r conftest 1>&AS_MESSAGE_LOG_FD LC_ALL=C $READELF -r conftest | grep 'no relocations' >/dev/null || {