OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea697ec
)
Fix Thumb-2 setjmp.
author
Joseph Myers
<joseph@codesourcery.com>
Tue, 30 Jun 2009 21:20:26 +0000
(21:20 +0000)
committer
Joseph Myers
<joseph@codesourcery.com>
Tue, 30 Jun 2009 21:20:26 +0000
(21:20 +0000)
Many Thumb-2 instructions cannot use sp or pc as operands, and the
assembler now diagnoses these. setjmp had one such instruction, movs;
this patch changes it to mov.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
libc/sysdeps/linux/arm/setjmp.S
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/arm/setjmp.S
b/libc/sysdeps/linux/arm/setjmp.S
index
2df7d55
..
76d1790
100644
(file)
--- a/
libc/sysdeps/linux/arm/setjmp.S
+++ b/
libc/sysdeps/linux/arm/setjmp.S
@@
-47,7
+47,7
@@
__sigsetjmp:
mov ip, r0
#if defined(__thumb2__)
stmia ip!, {v1-v6, sl, fp}
- mov
s
r2, sp
+ mov
r2, sp
stmia ip!, {r2, lr}
#else
/* Save registers */