]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: Use LINXY for statmount and listmount master
authorMark Wielaard <mark@klomp.org>
Sat, 28 Jun 2025 16:33:29 +0000 (18:33 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 28 Jun 2025 16:33:58 +0000 (18:33 +0200)
commit 57152acfc6a8 "Wrap linux specific syscalls 457 (listmount) and
458 (statmount)" added LINXY wrappers for all arches, except for
mips32 where it used LINX_. This was a typo/mistake. Make sure mips32
also uses LINXY wrappers.

Suggested-by: Matthias Schwarzott <zzam@gentoo.org>
coregrind/m_syswrap/syswrap-mips32-linux.c

index 734f129c87f33a1cb9328a48e692a7db31eb610c..4e5e91e15bab51dfc4daf52f4dea65dd09eb15e4 100644 (file)
@@ -1182,8 +1182,8 @@ static SyscallTableEntry syscall_main_table[] = {
 
    LINXY(__NR_cachestat,               sys_cachestat),               // 451
    LINX_(__NR_fchmodat2,               sys_fchmodat2),               // 452
 
    LINXY(__NR_cachestat,               sys_cachestat),               // 451
    LINX_(__NR_fchmodat2,               sys_fchmodat2),               // 452
-   LINX_(__NR_statmount,               sys_statmount),               // 457
-   LINX_(__NR_listmount,               sys_listmount),               // 458
+   LINXY(__NR_statmount,               sys_statmount),               // 457
+   LINXY(__NR_listmount,               sys_listmount),               // 458
    LINX_(__NR_mseal,                   sys_mseal),                   // 462
 };
 
    LINX_(__NR_mseal,                   sys_mseal),                   // 462
 };