]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips: add ld-linux-mipsn8.so.1 as a valid soname
authorPetar Jovanovic <mips32r2@gmail.com>
Wed, 27 Nov 2019 12:00:43 +0000 (12:00 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Wed, 27 Nov 2019 12:06:10 +0000 (12:06 +0000)
NaN2008 dynamic linker is named ld-linux-mipsn8.so.1.

Update include/pub_tool_redir.h by adding ld-linux-mipsn8.so.1 to the list
of sonames with an accompanying check in coregrind/m_redir.c.

Patch by Stefan Maksimovic.

coregrind/m_redir.c
include/pub_tool_redir.h

index d1211c5235775b29b67add8e808a1295ff4f8e72..1a1117e47eacda051d7bd82171fc93d31935e682 100644 (file)
@@ -1211,6 +1211,7 @@ Bool VG_(is_soname_ld_so) (const HChar *soname)
    if (VG_STREQ(soname, VG_U_LD_SO_1))               return True;
    if (VG_STREQ(soname, VG_U_LD_LINUX_AARCH64_SO_1)) return True;
    if (VG_STREQ(soname, VG_U_LD_LINUX_ARMHF_SO_3))   return True;
+   if (VG_STREQ(soname, VG_U_LD_LINUX_MIPSN8_S0_1))  return True;
 #  elif defined(VGO_darwin)
    if (VG_STREQ(soname, VG_U_DYLD)) return True;
 #  elif defined(VGO_solaris)
index e194ddbd6b6753ab91d2aa799441d9a945b0150a..bd65a44b456af25a4e63140971b648c637ae2c72 100644 (file)
 
 #define  VG_U_LD_LINUX_ARMHF_SO_3   "ld-linux-armhf.so.3"
 
+#define  VG_U_LD_LINUX_MIPSN8_S0_1  "ld-linux-mipsn8.so.1"
+
 #endif
 
 /* --- Executable name for Darwin Mach-O linker. --- */