From: Petar Jovanovic Date: Wed, 8 May 2019 15:17:25 +0000 (+0200) Subject: mips64: allow Loongson baseline X-Git-Tag: VALGRIND_3_16_0~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a47a8b3e87590df048967574982d0a3db8f13450;p=thirdparty%2Fvalgrind.git mips64: allow Loongson baseline Allow Loongson baseline on MIPS64. This fixes KDE #406824. --- diff --git a/NEWS b/NEWS index ca7b0f4991..e08defdfa4 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,7 @@ To see details of a given bug, visit where XXXXXX is the bug number as listed below. 406561 mcinfcallWSRU gdbserver_test fails on ppc64 +406824 Unsupported baseline 407218 Add support for the copy_file_range syscall 407307 Intercept stpcpy also in ld.so for arm64 n-i-bz Fix minor one time leaks in dhat. diff --git a/VEX/priv/main_main.c b/VEX/priv/main_main.c index c045887a73..071bd45844 100644 --- a/VEX/priv/main_main.c +++ b/VEX/priv/main_main.c @@ -2064,6 +2064,10 @@ static void check_hwcaps ( VexArch arch, UInt hwcaps ) case VEX_PRID_COMP_CAVIUM: case VEX_PRID_COMP_NETLOGIC: return; + case VEX_PRID_COMP_LEGACY: + if (VEX_MIPS_PROC_ID(hwcaps) == VEX_PRID_IMP_LOONGSON_64) + return; + /* fallthrough */ default: invalid_hwcaps(arch, hwcaps, "Unsupported baseline\n"); }