Skip to content

Commit 5a64656

Browse files
committed
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.
1 parent d79ed12 commit 5a64656

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

io.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ print_llu_from_low_high_val(struct tcb *tcp, int arg)
227227
((unsigned long) tcp->u_arg[arg + 1] << current_wordsize * 8)
228228
| (unsigned long) tcp->u_arg[arg]);
229229
# endif
230-
#elif defined(LINUX_MIPSN32)
231-
tprintf("%llu", (unsigned long long) tcp->ext_arg[arg]);
232230
#else
233231
# ifdef X32
234232
if (current_personality == 0)

0 commit comments

Comments
 (0)