about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/configure.ac
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-10 06:09:22 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-10 06:09:22 -0500
commitbc0cdc49817f6d6736bfd85479231d6f44c8f288 (patch)
tree218158bf6e03029df3b2520a70dd951b816ed235 /sysdeps/powerpc/powerpc32/configure.ac
parent83658961f00dce5e4d8a3e52cd7268ea191a96eb (diff)
downloadglibc-bc0cdc49817f6d6736bfd85479231d6f44c8f288.tar.gz
glibc-bc0cdc49817f6d6736bfd85479231d6f44c8f288.tar.xz
glibc-bc0cdc49817f6d6736bfd85479231d6f44c8f288.zip
powerpc: drop R_PPC_REL16 check
Current minimum support binutils (2.22) supports R_PPC_REL16 as default,
so no need to extra configure checks.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/configure.ac')
-rw-r--r--sysdeps/powerpc/powerpc32/configure.ac16
1 files changed, 0 insertions, 16 deletions
diff --git a/sysdeps/powerpc/powerpc32/configure.ac b/sysdeps/powerpc/powerpc32/configure.ac
index 21d3f5ee5b..5d3a9b509d 100644
--- a/sysdeps/powerpc/powerpc32/configure.ac
+++ b/sysdeps/powerpc/powerpc32/configure.ac
@@ -1,22 +1,6 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/powerpc/powerpc32.
 
-# See whether gas has R_PPC_REL16 relocs.
-AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
-cat > conftest.s <<\EOF
-	.text
-	addis 11,30,_GLOBAL_OFFSET_TABLE_-.@ha
-EOF
-if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
-  libc_cv_ppc_rel16=yes
-else
-  libc_cv_ppc_rel16=no
-fi
-rm -f conftest*])
-if test $libc_cv_ppc_rel16 = no; then
-  AC_MSG_ERROR(R_PPC_REL16 is not supported. Binutils is too old.)
-fi
-
 # See whether GCC uses -msecure-plt.
 AC_CACHE_CHECK(for -msecure-plt by default, libc_cv_ppc_secure_plt, [dnl
 echo 'int foo (void) { extern int bar; return bar; }' > conftest.c