diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-09 00:59:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-09 00:59:30 -0400 |
commit | be48e22b424b6f858da0151a0b3b68bdb96b41ca (patch) | |
tree | 400c21872450596bbc38920fbf84b00137eabcf0 | |
parent | 21419914c530c505cb450733b724257be703d9db (diff) | |
download | musl-be48e22b424b6f858da0151a0b3b68bdb96b41ca.tar.gz musl-be48e22b424b6f858da0151a0b3b68bdb96b41ca.tar.xz musl-be48e22b424b6f858da0151a0b3b68bdb96b41ca.zip |
fix mips syscall_cp_asm code (saved register usage)
-rw-r--r-- | src/thread/mips/syscall_cp.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/mips/syscall_cp.s b/src/thread/mips/syscall_cp.s index 9a796bd6..8dd4c442 100644 --- 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: |