[PATCH v1 2/5] libdl/rtl-elf.h: Fix aarch64 define
Ryan Long
ryan.long at oarcorp.com
Wed Jul 20 21:36:30 UTC 2022
The aarch64 define was incorrect. This was causing the libdl tests to not
work correctly.
Updates #4682
---
cpukit/libdl/rtl-elf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libdl/rtl-elf.h b/cpukit/libdl/rtl-elf.h
index c7c17c525a..0476c1ecd7 100644
--- a/cpukit/libdl/rtl-elf.h
+++ b/cpukit/libdl/rtl-elf.h
@@ -51,7 +51,7 @@ extern "C" {
/*
* Do not add '()'. Leave plain.
*/
-#if defined(__powerpc64__) || defined(__arch64__) || (__riscv_xlen == 64)
+#if defined(__powerpc64__) || defined(__aarch64__) || (__riscv_xlen == 64)
#define ELFSIZE 64
#else
#define ELFSIZE 32
--
2.30.2
More information about the devel
mailing list