summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uClibc-0.9.30.3-xtensa-014-setjump.S.patch
blob: 720b44b581ccf25ca1a4228c93a174b8dca35ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- uClibc-0.9.30/libc/sysdeps/linux/xtensa/setjmp.S.orig	2009-05-01 16:57:16.195893000 -0700
+++ uClibc-0.9.30/libc/sysdeps/linux/xtensa/setjmp.S	2009-05-01 16:58:03.885160000 -0700
@@ -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