diff options
author | kib <kib@FreeBSD.org> | 2009-10-10 15:31:24 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-10-10 15:31:24 +0000 |
commit | 3547dab066949bdbc8814e75d38e8403275bd4d4 (patch) | |
tree | 7ad012f35330fb053a8b1ab1f364792ce127e7c2 /sys/arm | |
parent | 16ff64e8c6636314a9d07e743e481c2d58bcb7a4 (diff) | |
download | FreeBSD-src-3547dab066949bdbc8814e75d38e8403275bd4d4.zip FreeBSD-src-3547dab066949bdbc8814e75d38e8403275bd4d4.tar.gz |
Define architectural load bases for PIE binaries. Addresses were selected
by looking at the bases used for non-relocatable executables by gnu ld(1),
and adjusting it slightly.
Discussed with: bz
Reviewed by: kan
Tested by: bz (i386, amd64), bsam (linux)
MFC after: some time
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/include/elf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/include/elf.h b/sys/arm/include/elf.h index ee2843f..0660ba6 100644 --- a/sys/arm/include/elf.h +++ b/sys/arm/include/elf.h @@ -97,4 +97,7 @@ __ElfType(Auxinfo); * value. */ #define MAGIC_TRAMP_NUMBER 0x5c000003 + +#define ET_DYN_LOAD_ADDR 0x12000 + #endif /* !_MACHINE_ELF_H_ */ |