about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/configure
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2010-02-12 07:55:01 -0800
committerUlrich Drepper <drepper@redhat.com>2010-02-12 07:55:01 -0800
commit41288fbb784716ee01e4b6d84299a71081431ccb (patch)
tree43fee4a1f91798adeff662c0b793cad75ed49d42 /sysdeps/powerpc/powerpc32/configure
parentc62cf60c6b37850ee68ea824666eadab99ff718f (diff)
downloadglibc-41288fbb784716ee01e4b6d84299a71081431ccb.tar.gz
glibc-41288fbb784716ee01e4b6d84299a71081431ccb.tar.xz
glibc-41288fbb784716ee01e4b6d84299a71081431ccb.zip
Cleanup old obsolete PPC_REL16 checks
Diffstat (limited to 'sysdeps/powerpc/powerpc32/configure')
-rw-r--r--sysdeps/powerpc/powerpc32/configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/powerpc/powerpc32/configure b/sysdeps/powerpc/powerpc32/configure
index 9b76c57886..da8ec0b87c 100644
--- a/sysdeps/powerpc/powerpc32/configure
+++ b/sysdeps/powerpc/powerpc32/configure
@@ -25,11 +25,10 @@ rm -f conftest*
 fi
 { $as_echo "$as_me:$LINENO: result: $libc_cv_ppc_rel16" >&5
 $as_echo "$libc_cv_ppc_rel16" >&6; }
-if test $libc_cv_ppc_rel16 = yes; then
-  cat >>confdefs.h <<\_ACEOF
-#define HAVE_ASM_PPC_REL16 1
-_ACEOF
-
+if test $libc_cv_ppc_rel16 = no; then
+  { { $as_echo "$as_me:$LINENO: error: R_PPC_REL16 is not supported. Binutils is too old." >&5
+$as_echo "$as_me: error: R_PPC_REL16 is not supported. Binutils is too old." >&2;}
+   { (exit 1); exit 1; }; }
 fi
 
 # See whether GCC uses -msecure-plt.