From: Ulrich Drepper Date: Sat, 16 Aug 2003 18:19:50 +0000 (+0000) Subject: Add a nop after __libc_start_main branch. X-Git-Tag: cvs/glibc-2_3_3~360 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c84ce4f164961da2e6b031e009327e9b8501ffc3;p=thirdparty%2Fglibc.git Add a nop after __libc_start_main branch. --- diff --git a/sysdeps/powerpc/powerpc64/elf/start.S b/sysdeps/powerpc/powerpc64/elf/start.S index 4d7fc0dac43..2b7db86d61e 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)