about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-16 18:19:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-16 18:19:50 +0000
commitc84ce4f164961da2e6b031e009327e9b8501ffc3 (patch)
tree959f0b3399c621a0a6a9f970779b0687d7fb2158 /sysdeps
parent878edcefb8ae74fb0c1647ccd6dc9538f7bd44c9 (diff)
downloadglibc-c84ce4f164961da2e6b031e009327e9b8501ffc3.tar.gz
glibc-c84ce4f164961da2e6b031e009327e9b8501ffc3.tar.xz
glibc-c84ce4f164961da2e6b031e009327e9b8501ffc3.zip
Add a nop after __libc_start_main branch.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc64/elf/start.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/elf/start.S b/sysdeps/powerpc/powerpc64/elf/start.S
index 4d7fc0dac4..2b7db86d61 100644
--- a/sysdeps/powerpc/powerpc64/elf/start.S
+++ b/sysdeps/powerpc/powerpc64/elf/start.S
@@ -56,6 +56,9 @@ ENTRY(_start)
 
  /* and continue in libc-start, in glibc.  */
 	b	JUMPTARGET(BP_SYM(__libc_start_main))
+/* The linker needs this nop to recognize that it's OK to call via a
+   TOC adjusting stub.  */
+	nop
 
 END(_start)