summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/elf.h')
-rw-r--r--sys/amd64/include/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
index e5c95f7..88f4398 100644
--- a/sys/amd64/include/elf.h
+++ b/sys/amd64/include/elf.h
@@ -106,4 +106,10 @@ __ElfType(Auxinfo);
#define ELF_TARG_MACH EM_X86_64
#define ELF_TARG_VER 1
+#if __ELF_WORD_SIZE == 32
+#define ET_DYN_LOAD_ADDR 0x01001000
+#else
+#define ET_DYN_LOAD_ADDR 0x01021000
+#endif
+
#endif /* !_MACHINE_ELF_H_ */
OpenPOWER on IntegriCloud