]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add a nop after __libc_start_main branch.
authorUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 2003 18:19:50 +0000 (18:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 2003 18:19:50 +0000 (18:19 +0000)
sysdeps/powerpc/powerpc64/elf/start.S

index 4d7fc0dac43c00fd79ee36d01fc4bf6b0c1f68bd..2b7db86d61e38c99177818dd31065b942750d37a 100644 (file)
@@ -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)