Add riscv64 support

Desktop / LibreOffice - Sakura286 [outlook.com] - 10 November 2022 12:47 UTC

1. Configure gbuild 2. Add UNO Bridge for riscv64

Till now base function works well on riscv64. The bridgetest has passed. Test on Debian, Gentoo and openEuler.

Credits:

- Heiher and Stephan Bergmann The riscv64 bridge implementation refers to mips64 and AArch64 bridges.
- Bo Yu configures gbuild for riscv64.
- WANG Xuerui provides lots of guiding tips.

Change-Id: Ifad3b0de8b2c9e7328627ed03396bbd45a9c71e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137445

bc9487f745be Add riscv64 support
bridges/Library_cpp_uno.mk | 9 +
bridges/source/cpp_uno/gcc3_linux_riscv64/abi.cxx | 95 +++
bridges/source/cpp_uno/gcc3_linux_riscv64/abi.hxx | 23 +
bridges/source/cpp_uno/gcc3_linux_riscv64/call.hxx | 33 +
bridges/source/cpp_uno/gcc3_linux_riscv64/call.s | 81 +++
.../source/cpp_uno/gcc3_linux_riscv64/cpp2uno.cxx | 795 +++++++++++++++++++++
.../source/cpp_uno/gcc3_linux_riscv64/except.cxx | 282 ++++++++
.../source/cpp_uno/gcc3_linux_riscv64/share.hxx | 85 +++
.../source/cpp_uno/gcc3_linux_riscv64/uno2cpp.cxx | 616 ++++++++++++++++
configure.ac | 10 +-
jvmfwk/inc/vendorbase.hxx | 2 +
m4/ax_boost_base.m4 | 2 +-
solenv/gbuild/platform/LINUX_RISCV64_GCC.mk | 15 +
13 files changed, 2045 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share