summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdl/rtl-elf.h')
-rw-r--r--cpukit/libdl/rtl-elf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-elf.h b/cpukit/libdl/rtl-elf.h
index e3ac07f7ed..cee01804e0 100644
--- a/cpukit/libdl/rtl-elf.h
+++ b/cpukit/libdl/rtl-elf.h
@@ -29,9 +29,13 @@ extern "C" {
**/
/*
- * Always 32bit for RTEMS at the moment. Do not add '()'. Leave plain.
+ * Do not add '()'. Leave plain.
*/
+#if defined(__powerpc64__) || defined(__arch64__)
+#define ELFSIZE 64
+#else
#define ELFSIZE 32
+#endif
/*
* Define _STANDALONE then remove after.