remove invalid PLT calls from microblaze asm
authorRich Felker <dalias@aerifal.cx>
Mon, 20 Apr 2015 00:56:20 +0000 (20:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 20 Apr 2015 00:56:20 +0000 (20:56 -0400)
analogous to commit 646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 for sh.

src/setjmp/microblaze/setjmp.s
src/signal/microblaze/sigsetjmp.s

index 40afcc0de04ad6c201015d80b1771ed3aed76082..605ab20e4bdd1eba9b822e8d641f428c85474bf1 100644 (file)
@@ -1,9 +1,12 @@
+.global ___setjmp
+.hidden ___setjmp
 .global __setjmp
 .global _setjmp
 .global setjmp
 .type __setjmp,@function
 .type _setjmp,@function
 .type setjmp,@function
+___setjmp:
 __setjmp:
 _setjmp:
 setjmp:
index 8430c9c4bffc6d0cf436c9963bc26c28b08f0abe..d1dd24c02962c41216ae3018ed2541145cf8f5ec 100644 (file)
@@ -4,12 +4,13 @@
 .type __sigsetjmp,@function
 sigsetjmp:
 __sigsetjmp:
-       beqi r6, setjmp@PLT
+.hidden ___setjmp
+       beqi r6, ___setjmp
 
        swi r15,r5,72
        swi r19,r5,72+4+8
 
-       brlid r15,setjmp@PLT
+       brlid r15,___setjmp
         ori r19,r5,0
 
        ori r6,r3,0