projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f79eaa
)
fix crashing sigsetjmp on s390x
author
Bobby Bingham
<koorogi@koorogi.info>
Sun, 27 Nov 2016 18:18:10 +0000
(12:18 -0600)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 17 Dec 2016 03:39:19 +0000
(22:39 -0500)
the bz instruction that was wrongly used only admits a small immediate
displacement and cannot be used with external symbols; apparently the
linker fails to diagnose the overflow.
src/signal/s390x/sigsetjmp.s
patch
|
blob
|
history
diff --git
a/src/signal/s390x/sigsetjmp.s
b/src/signal/s390x/sigsetjmp.s
index 72dfc25dd2d4c6c782e8ea95b23e35206ba35672..41b1bd9a16835c2df02266f65f72e70eae1ffbfe 100644
(file)
--- a/
src/signal/s390x/sigsetjmp.s
+++ b/
src/signal/s390x/sigsetjmp.s
@@
-6,7
+6,7
@@
sigsetjmp:
__sigsetjmp:
ltgr %r3, %r3
-
b
z ___setjmp
+
j
z ___setjmp
stg %r14, 18*8(%r2)
stg %r6, 20*8(%r2)