From a47a8b3e87590df048967574982d0a3db8f13450 Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Wed, 8 May 2019 17:17:25 +0200 Subject: [PATCH] mips64: allow Loongson baseline Allow Loongson baseline on MIPS64. This fixes KDE #406824. --- NEWS | 1 + VEX/priv/main_main.c | 4 ++++ 2 files changed, 5 insertions(+) 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"); } -- 2.47.2