summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-19 20:56:20 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-19 20:56:20 -0400
commita880e6ceb9c2e6f38a6b50f8aafab90256c04be1 (patch)
tree012cfb5d6f71fd788db7f2c3fddd2c12b7eb40d0
parent646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 (diff)
downloadmusl-a880e6ceb9c2e6f38a6b50f8aafab90256c04be1.tar.gz
musl-a880e6ceb9c2e6f38a6b50f8aafab90256c04be1.tar.bz2
musl-a880e6ceb9c2e6f38a6b50f8aafab90256c04be1.tar.xz
musl-a880e6ceb9c2e6f38a6b50f8aafab90256c04be1.zip
remove invalid PLT calls from microblaze asm
analogous to commit 646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 for sh.
-rw-r--r--src/setjmp/microblaze/setjmp.s3
-rw-r--r--src/signal/microblaze/sigsetjmp.s5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/setjmp/microblaze/setjmp.s b/src/setjmp/microblaze/setjmp.s
index 40afcc0d..605ab20e 100644
--- a/src/setjmp/microblaze/setjmp.s
+++ b/src/setjmp/microblaze/setjmp.s
@@ -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:
diff --git a/src/signal/microblaze/sigsetjmp.s b/src/signal/microblaze/sigsetjmp.s
index 8430c9c4..d1dd24c0 100644
--- a/src/signal/microblaze/sigsetjmp.s
+++ b/src/signal/microblaze/sigsetjmp.s
@@ -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