about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/dl-machine.h
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/dl-machine.h
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/dl-machine.h')
-rw-r--r--sysdeps/powerpc/powerpc32/dl-machine.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h
index 6f8d0f506e..5351d9691d 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.h
+++ b/sysdeps/powerpc/powerpc32/dl-machine.h
@@ -41,16 +41,13 @@ static inline Elf32_Addr * __attribute__ ((const))
 ppc_got (void)
 {
   Elf32_Addr *got;
-#ifdef HAVE_ASM_PPC_REL16
+
   asm ("bcl 20,31,1f\n"
        "1:	mflr %0\n"
        "	addis %0,%0,_GLOBAL_OFFSET_TABLE_-1b@ha\n"
        "	addi %0,%0,_GLOBAL_OFFSET_TABLE_-1b@l\n"
        : "=b" (got) : : "lr");
-#else
-  asm (" bl _GLOBAL_OFFSET_TABLE_-4@local"
-       : "=l" (got));
-#endif
+
   return got;
 }