about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/dl-trampoline.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-16 22:40:23 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-05-18 12:00:22 +0200
commit37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9 (patch)
tree2f4e60a73db2f095737638b41869fe9335ce3ed4 /sysdeps/powerpc/powerpc64/dl-trampoline.S
parentb53ef01aa25acc4c4f0b41dd120e90d6eb69e370 (diff)
downloadglibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.tar.gz
glibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.tar.xz
glibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.zip
Avoid runtime GOT relocations in ld.so on powerpc
Diffstat (limited to 'sysdeps/powerpc/powerpc64/dl-trampoline.S')
-rw-r--r--sysdeps/powerpc/powerpc64/dl-trampoline.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc64/dl-trampoline.S b/sysdeps/powerpc/powerpc64/dl-trampoline.S
index 266efe38fe..7bdabe0171 100644
--- a/sysdeps/powerpc/powerpc64/dl-trampoline.S
+++ b/sysdeps/powerpc/powerpc64/dl-trampoline.S
@@ -1,5 +1,5 @@
 /* PLT trampolines.  PPC64 version.
-   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2005-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -169,7 +169,7 @@ END(_dl_runtime_resolve)
 	.section	".toc","aw"
 .LC__dl_hwcap:
 # ifdef SHARED
-	.tc _rtld_global_ro[TC],_rtld_global_ro
+	.tc _rtld_local_ro[TC],_rtld_local_ro
 # else
 	.tc _dl_hwcap[TC],_dl_hwcap
 # endif
@@ -217,7 +217,7 @@ EALIGN(_dl_profile_resolve, 4, 0)
 	std	r0,FRAME_SIZE+8(r1)
 	ld	r12,.LC__dl_hwcap@toc(r2)
 #ifdef SHARED
-	/* Load _rtld-global._dl_hwcap.  */
+	/* Load _rtld_local_ro._dl_hwcap.  */
 	ld	r12,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r12)
 #else
 	ld	r12,0(r12) /* Load extern _dl_hwcap.  */