diff options
author | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 2000-03-27 21:04:13 +0000 |
---|---|---|
committer | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 2000-03-27 21:04:13 +0000 |
commit | 6d3833d0e05897177ca0bc8ac5d80ff63d445c6c (patch) | |
tree | 6da41c85cf13775882012b11782014b5b3ef20c7 /arch/mips64 | |
parent | 491acd850793819653244277144163706275eb7e (diff) |
Fix strace for 4+ arguments
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/kernel/scall_o32.S | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/mips64/kernel/scall_o32.S b/arch/mips64/kernel/scall_o32.S index bae526c1f..927ba6838 100644 --- a/arch/mips64/kernel/scall_o32.S +++ b/arch/mips64/kernel/scall_o32.S @@ -1,4 +1,4 @@ -/* $Id: scall_o32.S,v 1.16 2000/03/23 00:30:53 ulfc Exp $ +/* $Id: scall_o32.S,v 1.17 2000/03/24 00:07:29 ulfc Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -111,6 +111,9 @@ o32_reschedule: trace_a_syscall: SAVE_STATIC + sd a4, PT_R8(sp) + sd a5, PT_R9(sp) + sd t2,PT_R1(sp) jal syscall_trace ld t2,PT_R1(sp) @@ -119,6 +122,9 @@ trace_a_syscall: ld a1, PT_R5(sp) ld a2, PT_R6(sp) ld a3, PT_R7(sp) + ld a4, PT_R8(sp) + ld a5, PT_R9(sp) + jalr t2 li t0, -EMAXERRNO - 1 # error? @@ -131,7 +137,7 @@ trace_a_syscall: 1: sd v0, PT_R2(sp) # result jal syscall_trace - j ret_from_sys_call + j o32_ret_from_sys_call /* ------------------------------------------------------------------------ */ |