|
From: Petar J. <pe...@so...> - 2019-05-08 15:18:39
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=a47a8b3e87590df048967574982d0a3db8f13450 commit a47a8b3e87590df048967574982d0a3db8f13450 Author: Petar Jovanovic <mip...@gm...> Date: Wed May 8 17:17:25 2019 +0200 mips64: allow Loongson baseline Allow Loongson baseline on MIPS64. This fixes KDE #406824. Diff: --- NEWS | 1 + VEX/priv/main_main.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index ca7b0f4..e08defd 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 c045887..071bd45 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"); } |