From: Petar Jovanovic Date: Tue, 20 Aug 2019 12:29:57 +0000 (+0000) Subject: mips32: hook up truncate64 syscall X-Git-Tag: VALGRIND_3_16_0~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8055312c422f808b6794cf22a68422414524b4eb;p=thirdparty%2Fvalgrind.git mips32: hook up truncate64 syscall Hook up truncate64 syscall for mips32. This helps truncate02_64 and several other tests pass without warnings in the LTP test suite. --- diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c index 6da479b0f6..5c34526916 100644 --- a/coregrind/m_syswrap/syswrap-mips32-linux.c +++ b/coregrind/m_syswrap/syswrap-mips32-linux.c @@ -973,7 +973,7 @@ static SyscallTableEntry syscall_main_table[] = { //.. GENXY(__NR_getpmsg, sys_getpmsg), // 208 //.. GENX_(__NR_putpmsg, sys_putpmsg), // 209 PLAX_ (__NR_mmap2, sys_mmap2), // 210 - // GENX_(__NR_truncate64, sys_truncate64), // 211 + GENX_ (__NR_truncate64, sys_truncate64), // 211 GENX_ (__NR_ftruncate64, sys_ftruncate64), // 212 PLAXY (__NR_stat64, sys_stat64), // 213 PLAXY (__NR_lstat64, sys_lstat64), // 214