Skip to content

Commit

Permalink
Fix ABI identifier of loongarch64 in specification/loader/runtime.adoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxuhui committed Jan 3, 2025
1 parent 0c46380 commit 3fcc786
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changes/sdk/pr.523.gh.OpenXR-SDK-Source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- pr.523.gh.OpenXR-SDK-Source
---
Fix the ABI identifier of LoongArch64 in specification/loader/runtime.adoc.
2 changes: 1 addition & 1 deletion specification/loader/runtime.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/common/platform_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fcc786

Please sign in to comment.