From d3625d968901eb93a9680db8d1165f70de3fd64e Mon Sep 17 00:00:00 2001 From: wjh-la Date: Wed, 27 Jul 2022 09:14:16 +0800 Subject: Add loongarch64 support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Loongarch is a new RISC ISA , which includes a 32-bit version and a 64-bit version, Here are some documents about Loongarch: https://github.com/loongson/LoongArch-Documentation. The loongarch64 bridges implementation refers to mips64 bridges, and the code related to abi and asm has been modified Change-Id: I1d9cd3aadf63046c8cdecc9a64842567bfa1cecc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137486 Tested-by: Stephan Bergmann Reviewed-by: Stephan Bergmann --- jvmfwk/inc/vendorbase.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'jvmfwk') diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx index 779fc8f7a46f..2bbf656c6e32 100644 --- a/jvmfwk/inc/vendorbase.hxx +++ b/jvmfwk/inc/vendorbase.hxx @@ -75,9 +75,11 @@ OpenJDK at least, but probably not true for Lemotes JDK */ #define JFW_PLUGIN_ARCH "alpha" #elif defined AARCH64 #define JFW_PLUGIN_ARCH "aarch64" -#else // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA +#elif defined LOONGARCH64 +#define JFW_PLUGIN_ARCH "loongarch64" +#else // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA, LOONGARCH64 #error unknown platform -#endif // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA +#endif // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA, LOONGARCH64 class MalformedVersionException final : public std::exception { -- cgit