summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2022-07-19 11:30:21 -0500
committerJoel Sherrill <joel@rtems.org>2022-07-29 08:32:47 -0500
commitf6432156483c632b776f5baf197782901d43669d (patch)
tree15561b75cddf0f6c03379324c8f1a420e222a7df /cpukit/libdl
parentsys/exec_elf.h: Bring in newer file (diff)
downloadrtems-f6432156483c632b776f5baf197782901d43669d.tar.bz2
libdl/rtl-elf.h: Fix aarch64 define
The aarch64 define was incorrect. This was causing the libdl tests to not work correctly. Updates #4682
Diffstat (limited to 'cpukit/libdl')
-rw-r--r--cpukit/libdl/rtl-elf.h2
1 files changed, 1 insertions, 1 deletions
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