summaryrefslogtreecommitdiff
path: root/src/signal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-19 21:49:54 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-19 21:49:54 -0400
commit51fc77c7c03fa0b300e9a609b18f11f0e4db065a (patch)
tree292d49f61c2428d5b0ae59a671396ce8165f9311 /src/signal
parentcf1a9d9d16a79322df15b344a2617b79ebb12705 (diff)
downloadmusl-51fc77c7c03fa0b300e9a609b18f11f0e4db065a.tar.gz
musl-51fc77c7c03fa0b300e9a609b18f11f0e4db065a.tar.bz2
musl-51fc77c7c03fa0b300e9a609b18f11f0e4db065a.tar.xz
musl-51fc77c7c03fa0b300e9a609b18f11f0e4db065a.zip
remove invalid PLT calls from or1k asm
analogous to commit 646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 for sh.
Diffstat (limited to 'src/signal')
-rw-r--r--src/signal/or1k/sigsetjmp.s7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/signal/or1k/sigsetjmp.s b/src/signal/or1k/sigsetjmp.s
index 350c00e2..b9bcdae1 100644
--- a/src/signal/or1k/sigsetjmp.s
+++ b/src/signal/or1k/sigsetjmp.s
@@ -5,12 +5,13 @@
sigsetjmp:
__sigsetjmp:
l.sfeq r4, r0
- l.bf plt(setjmp)
+.hidden ___setjmp
+ l.bf ___setjmp
l.sw 52(r3), r9
l.sw 52+4+8(r3), r20
- l.jal plt(setjmp)
+ l.jal ___setjmp
l.ori r20, r3, 0
l.ori r4, r11, 0
@@ -19,5 +20,5 @@ __sigsetjmp:
l.lwz r9, 52(r3)
.hidden __sigsetjmp_tail
- l.j plt(__sigsetjmp_tail)
+ l.j __sigsetjmp_tail
l.lwz r20, 52+4+8(r3)