diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-23 14:34:59 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-23 14:34:59 -0500 |
commit | ac562aa1ef4012f617583f474a8d8e5c972ed6ee (patch) | |
tree | d115713389bb1f3f6f76b53807ee15c07fd30ec6 | |
parent | a50136dfe186a3ea3d78a4264187915ad16ab861 (diff) | |
download | musl-ac562aa1ef4012f617583f474a8d8e5c972ed6ee.tar.gz musl-ac562aa1ef4012f617583f474a8d8e5c972ed6ee.tar.xz musl-ac562aa1ef4012f617583f474a8d8e5c972ed6ee.zip |
fix powerpc sigsetjmp asm to match the new jmp_buf size/offsets
-rw-r--r-- | src/signal/powerpc/sigsetjmp.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal/powerpc/sigsetjmp.s b/src/signal/powerpc/sigsetjmp.s index a23463d2..d7d1af3b 100644 --- a/src/signal/powerpc/sigsetjmp.s +++ b/src/signal/powerpc/sigsetjmp.s @@ -4,7 +4,7 @@ sigsetjmp: #int sigsetjmp(sigjmp_buf buf, int save) # r3 r4 #0) store save into buf->__fl - stw 4, 256(3) + stw 4, 448(3) #1) compare save with 0 cmpwi cr7, 4, 0 #2) if its 0, goto setjmp code @@ -18,7 +18,7 @@ sigsetjmp: mflr 31 # put pointer to ss buf into r5 (3rd arg) - addi 5, 3, 260 + addi 5, 3, 452 # put "2" i.e. SIG_SETMASK in r3 li 3, 2 li 4, 0 |