From 3fcc786f3f7761371d4e0d686fd91060d15ef1c3 Mon Sep 17 00:00:00 2001 From: qiangxuhui Date: Fri, 3 Jan 2025 08:35:03 +0000 Subject: [PATCH] Fix ABI identifier of loongarch64 in specification/loader/runtime.adoc. --- changes/sdk/pr.523.gh.OpenXR-SDK-Source.md | 4 ++++ specification/loader/runtime.adoc | 2 +- src/common/platform_utils.hpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 changes/sdk/pr.523.gh.OpenXR-SDK-Source.md diff --git a/changes/sdk/pr.523.gh.OpenXR-SDK-Source.md b/changes/sdk/pr.523.gh.OpenXR-SDK-Source.md new file mode 100644 index 000000000..39c36c665 --- /dev/null +++ b/changes/sdk/pr.523.gh.OpenXR-SDK-Source.md @@ -0,0 +1,4 @@ +--- +- pr.523.gh.OpenXR-SDK-Source +--- +Fix the ABI identifier of LoongArch64 in specification/loader/runtime.adoc. diff --git a/specification/loader/runtime.adoc b/specification/loader/runtime.adoc index c9eff46d3..af3c33ede 100644 --- a/specification/loader/runtime.adoc +++ b/specification/loader/runtime.adoc @@ -379,7 +379,7 @@ architectures and ABIs is used. | `sparc64` | 64-bit SPARC architecture -|`loong64` +|`loongarch64` | | `loong64` | 64-bit LoongArch architecture, little endian (LP64D ABI) diff --git a/src/common/platform_utils.hpp b/src/common/platform_utils.hpp index 59b5bf2fe..87b15081b 100644 --- a/src/common/platform_utils.hpp +++ b/src/common/platform_utils.hpp @@ -72,7 +72,7 @@ #elif defined(__sparc__) && defined(__arch64__) #define XR_ARCH_ABI "sparc64" #elif defined(__loongarch64) -#define XR_ARCH_ABI "loong64" +#define XR_ARCH_ABI "loongarch64" #else #error "No architecture string known!" #endif