diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_arch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index bddd757d..d354fc69 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -259,6 +259,9 @@ | |||
259 | #define LJ_ARCH_NAME "arm64" | 259 | #define LJ_ARCH_NAME "arm64" |
260 | #define LJ_ARCH_ENDIAN LUAJIT_LE | 260 | #define LJ_ARCH_ENDIAN LUAJIT_LE |
261 | #endif | 261 | #endif |
262 | #if !defined(LJ_ABI_PAUTH) && defined(__arm64e__) | ||
263 | #define LJ_ABI_PAUTH 1 | ||
264 | #endif | ||
262 | #define LJ_TARGET_ARM64 1 | 265 | #define LJ_TARGET_ARM64 1 |
263 | #define LJ_TARGET_EHRETREG 0 | 266 | #define LJ_TARGET_EHRETREG 0 |
264 | #define LJ_TARGET_EHRAREG 30 | 267 | #define LJ_TARGET_EHRAREG 30 |
@@ -603,6 +606,10 @@ | |||
603 | #define LJ_SOFTFP (!LJ_ARCH_HASFPU) | 606 | #define LJ_SOFTFP (!LJ_ARCH_HASFPU) |
604 | #define LJ_SOFTFP32 (LJ_SOFTFP && LJ_32) | 607 | #define LJ_SOFTFP32 (LJ_SOFTFP && LJ_32) |
605 | 608 | ||
609 | #ifndef LJ_ABI_PAUTH | ||
610 | #define LJ_ABI_PAUTH 0 | ||
611 | #endif | ||
612 | |||
606 | #if LJ_ARCH_ENDIAN == LUAJIT_BE | 613 | #if LJ_ARCH_ENDIAN == LUAJIT_BE |
607 | #define LJ_LE 0 | 614 | #define LJ_LE 0 |
608 | #define LJ_BE 1 | 615 | #define LJ_BE 1 |