projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2141991
)
fix mips syscall_cp_asm code (saved register usage)
author
Rich Felker
<dalias@aerifal.cx>
Sun, 9 Sep 2012 04:59:30 +0000
(
00:59
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 9 Sep 2012 04:59:30 +0000
(
00:59
-0400)
src/thread/mips/syscall_cp.s
patch
|
blob
|
history
diff --git
a/src/thread/mips/syscall_cp.s
b/src/thread/mips/syscall_cp.s
index 9a796bd683a3e220c2e3f9894fae261dd34efe1a..8dd4c442198b31814f2986c9f311260467a2592a 100644
(file)
--- a/
src/thread/mips/syscall_cp.s
+++ b/
src/thread/mips/syscall_cp.s
@@
-7,7
+7,7
@@
__syscall_cp_asm:
__cp_begin:
lw $4, 0($4)
bne $4, $0, 2f
- move $
10
, $5
+ move $
25
, $5
move $4, $6
move $5, $7
lw $6, 16($sp)
@@
-17,7
+17,7
@@
__cp_begin:
subu $sp, $sp, 32
sw $8, 16($sp)
sw $9, 20($sp)
- move $2, $
10
+ move $2, $
25
syscall
.global __cp_end
__cp_end: