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/mips/include | |
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/mips/include')
-rw-r--r-- | sys/mips/include/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/include/elf.h b/sys/mips/include/elf.h index 3a31daa..995862c 100644 --- a/sys/mips/include/elf.h +++ b/sys/mips/include/elf.h @@ -250,4 +250,6 @@ __ElfType(Auxinfo); #define AT_COUNT 16 /* Count of defined aux entry types. */ +#define ET_DYN_LOAD_ADDR 0x0120000 + #endif /* !_MACHINE_ELF_H_ */ |