summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2012-10-17 16:11:19 -0700
committerChris Zankel <chris@zankel.net>2012-11-03 12:57:45 -0700
commited0d4c1b843350646a62d936db043d0a6592413c (patch)
treefb0067546b8fd6a5d776ba62454a1d046d075587 /libc/sysdeps/linux
parentcc46380d0cf51bffd86e38670d7eb7d939499cb8 (diff)
xtensa: fix a misnumbered register in sigsetjmp
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/xtensa/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/xtensa/setjmp.S b/libc/sysdeps/linux/xtensa/setjmp.S
index cd74caf6e..0cbee0b8e 100644
--- a/libc/sysdeps/linux/xtensa/setjmp.S
+++ b/libc/sysdeps/linux/xtensa/setjmp.S
@@ -86,7 +86,7 @@ ENTRY (__sigsetjmp)
/* Copy 0-8 words from the register overflow area. */
extui a3, a0, 30, 2
blti a3, 2, .Lendsj
- l32i a7, a1, 4
+ l32i a7, a5, 4
slli a4, a3, 4
sub a5, a7, a4
addi a6, a2, 16