Add loongarch64 support

Desktop / LibreOffice - wjh-la [loongson.cn] - 11 August 2022 08:53 UTC

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

d3625d968901 Add loongarch64 support.
bridges/Library_cpp_uno.mk | 9 +
.../source/cpp_uno/gcc3_linux_loongarch64/call.hxx | 33 ++
.../source/cpp_uno/gcc3_linux_loongarch64/call.s | 125 +++++
.../cpp_uno/gcc3_linux_loongarch64/cpp2uno.cxx | 559 +++++++++++++++++++++
.../cpp_uno/gcc3_linux_loongarch64/except.cxx | 251 +++++++++
.../cpp_uno/gcc3_linux_loongarch64/share.hxx | 85 ++++
.../cpp_uno/gcc3_linux_loongarch64/uno2cpp.cxx | 546 ++++++++++++++++++++
configure.ac | 7 +-
jvmfwk/inc/vendorbase.hxx | 6 +-
solenv/gbuild/platform/LINUX_LOONGARCH64_GCC.mk | 12 +
10 files changed, 1630 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share