Skip to content

Add support for loongarch64.

yes,i Do requested to merge 212dandan/libglvnd:master into master
  • Add support for loongarch64.
  • Add assembly code and stub generation for TSD stubs on loongarch64.
  • Add assembly code for the entrypoint patching tests in patchentrypoints.c.
  • tests: Add support for loongarch64 and the total of 26 test cases check passed.

Build success on Loongarch64 Arch. And the results of 26 test cases:

============================================================================
Testsuite summary for libglvnd 1.5.0
============================================================================
# TOTAL: 26
# PASS:  26
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

The environment for compiling libglvnd:

loongson@loongson-pc:~/libglvnd$ arch
loongarch64

loongson@loongson-pc:~/libglvnd$ gcc --version
gcc (Loongnix 8.3.0-6.lnd.vec.31) 8.3.0

loongson@loongson-pc:~/libglvnd$ uname -a
Linux loongson-pc 4.19.0-17-loongson-3 #1 SMP 4.19.190-6.2 Tue Jun 14 12:50:34 UTC 2022 loongarch64 loongarch64 loongarch64 GNU/Linux
Edited by yes,i Do

Merge request reports

Loading