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/sun4v | |
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/sun4v')
-rw-r--r-- | sys/sun4v/include/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sun4v/include/elf.h b/sys/sun4v/include/elf.h index c0fcbee..d35d736 100644 --- a/sys/sun4v/include/elf.h +++ b/sys/sun4v/include/elf.h @@ -97,4 +97,6 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH ELF_ARCH #define ELF_TARG_VER 1 +#define ET_DYN_LOAD_ADDR 0x150000000 + #endif /* !_MACHINE_ELF_H_ */ |