]> granicus.if.org Git - strace/commitdiff
mips n32: fix preadv/pwritev offset decoding
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 3 Mar 2015 01:36:29 +0000 (01:36 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 3 Mar 2015 01:36:29 +0000 (01:36 +0000)
In mips n32 abi, like in most of 32-bit architectures, offset
is passed to preadv/pwritev syscalls using two syscall arguments.

* io.c (print_llu_from_low_high_val) [LINUX_MIPSN32]: Remove.

io.c

diff --git a/io.c b/io.c
index f197076ec6edbdea85d21e9bbc4994076c1a4ec9..3626c77633e87abd3b00ef8ffb2bf69125d9e794 100644 (file)
--- a/io.c
+++ b/io.c
@@ -227,8 +227,6 @@ print_llu_from_low_high_val(struct tcb *tcp, int arg)
                        ((unsigned long) tcp->u_arg[arg + 1] << current_wordsize * 8)
                        | (unsigned long) tcp->u_arg[arg]);
 # endif
-#elif defined(LINUX_MIPSN32)
-       tprintf("%llu", (unsigned long long) tcp->ext_arg[arg]);
 #else
 # ifdef X32
        if (current_personality == 0)