summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-06-11 07:58:57 +0000
committerChris Zankel <chris@zankel.net>2008-06-11 07:58:57 +0000
commit0a226405812fcb5bb5f8e92b765665762850dd8c (patch)
treeaac33a80186526d3b14992084981499e3d0ee076 /libc/sysdeps/linux/xtensa
parent5b83f5ffe12c513b852235b01de0a723cf39945b (diff)
xtensa: Fix spill routine.
The spill routine to flush all windowed registers was missing a 'mov' instruction. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'libc/sysdeps/linux/xtensa')
-rw-r--r--libc/sysdeps/linux/xtensa/windowspill.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/windowspill.S b/libc/sysdeps/linux/xtensa/windowspill.S
index 950c27b1b..a63771756 100644
--- a/libc/sysdeps/linux/xtensa/windowspill.S
+++ b/libc/sysdeps/linux/xtensa/windowspill.S
@@ -42,6 +42,7 @@ __window_spill:
mov a8, a0
retw
#else
+ mov a12, a0
_entry a1, 48 // touch NUM_REGS-36 (x/x/28)
mov a12, a0
_entry a1, 48 // touch NUM_REGS-48 (x/x/16)