about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/ppc-mcount.S
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-09-07 22:02:42 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-07 22:02:42 -0400
commit24f579d86e13131beb3f4823e944cc447633a2c1 (patch)
tree5c59cfce65f79055e2db19597ff47ebe2d0c064d /sysdeps/powerpc/powerpc32/ppc-mcount.S
parent2270037782b05f2973372fe12f6e8d2a8c413188 (diff)
downloadglibc-24f579d86e13131beb3f4823e944cc447633a2c1.tar.gz
glibc-24f579d86e13131beb3f4823e944cc447633a2c1.tar.xz
glibc-24f579d86e13131beb3f4823e944cc447633a2c1.zip
Fix profiling on powerpc32 secure-plt shared libs and PIEs
Diffstat (limited to 'sysdeps/powerpc/powerpc32/ppc-mcount.S')
-rw-r--r--sysdeps/powerpc/powerpc32/ppc-mcount.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/ppc-mcount.S b/sysdeps/powerpc/powerpc32/ppc-mcount.S
index 7e39acb55b..c7720a15bc 100644
--- a/sysdeps/powerpc/powerpc32/ppc-mcount.S
+++ b/sysdeps/powerpc/powerpc32/ppc-mcount.S
@@ -58,8 +58,7 @@ ENTRY(_mcount)
 	stw	r4, 44(r1)
 	cfi_offset (lr, -4)
 	stw	r5,  8(r1)
-	bl	__mcount_internal@local
-	nop
+	bl	JUMPTARGET(__mcount_internal)
  /* Restore the registers...  */
 	lwz     r6,  8(r1)
 	lwz	r0, 44(r1)