From: Dmitry V. Levin Date: Tue, 3 Mar 2015 01:36:29 +0000 (+0000) Subject: mips n32: fix preadv/pwritev offset decoding X-Git-Tag: v4.10~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a64656da601f2acaefcdff59eb8f7bfc13cb770;p=strace mips n32: fix preadv/pwritev offset decoding 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. --- diff --git a/io.c b/io.c index f197076e..3626c776 100644 --- 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)