From 5a64656da601f2acaefcdff59eb8f7bfc13cb770 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 3 Mar 2015 01:36:29 +0000 Subject: [PATCH] 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. --- io.c | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.50.1