From: Igor Nunes Date: Fri, 20 Mar 2020 17:12:13 +0000 (+0000) Subject: Enable getcpu on arm 32 X-Git-Tag: VALGRIND_3_21_0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a9da078b21be2d110adbd563e1c07fc3f8d74b;p=thirdparty%2Fvalgrind.git Enable getcpu on arm 32 https://bugs.kde.org/show_bug.cgi?id=419054 --- diff --git a/NEWS b/NEWS index 4b18ad9d0a..1b9bdb869d 100644 --- a/NEWS +++ b/NEWS @@ -127,6 +127,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 374596 inconsistent RDTSCP support on x86_64 392331 Spurious lock not held error from inside pthread_cond_timedwait 400793 pthread_rwlock_timedwrlock false positive +419054 Unhandled syscall getcpu on arm32 433873 openat2 syscall unimplemented on Linux 434057 Add stdio mode to valgrind's gdbserver 435441 valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c index 8b1a8fe702..bca5095893 100644 --- a/coregrind/m_syswrap/syswrap-arm-linux.c +++ b/coregrind/m_syswrap/syswrap-arm-linux.c @@ -957,7 +957,6 @@ static SyscallTableEntry syscall_main_table[] = { // LINX_(__NR_tee, sys_ni_syscall), // 315 // LINX_(__NR_vmsplice, sys_ni_syscall), // 316 LINXY(__NR_move_pages, sys_move_pages), // 317 -// LINX_(__NR_getcpu, sys_ni_syscall), // 318 LINX_(__NR_utimensat, sys_utimensat), // 320 LINXY(__NR_signalfd, sys_signalfd), // 321 @@ -981,6 +980,7 @@ static SyscallTableEntry syscall_main_table[] = { LINXY(__NR_pselect6, sys_pselect6), // 335 LINXY(__NR_ppoll, sys_ppoll), // 336 + LINXY(__NR_getcpu, sys_getcpu), // 345 LINXY(__NR_epoll_pwait, sys_epoll_pwait), // 346 LINX_(__NR_fallocate, sys_fallocate), // 352