From 27970b1ade36604c452b9e58e7b66d525932fb17 Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 18 Oct 2009 13:08:15 +0000 Subject: Change the load base to below 2GB so PIE binaries work including when compiled to use the Medium/Low code model, which we currently default to for the userland. GNU/Linux has moved their default to Medium/Middle some time ago, which probably explains why the current GNU ld(1) uses a base in the range between 32 and 44 bits instead. Submitted by: kib --- sys/sun4v/include/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/sun4v') diff --git a/sys/sun4v/include/elf.h b/sys/sun4v/include/elf.h index d35d736..2a66670 100644 --- a/sys/sun4v/include/elf.h +++ b/sys/sun4v/include/elf.h @@ -97,6 +97,6 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH ELF_ARCH #define ELF_TARG_VER 1 -#define ET_DYN_LOAD_ADDR 0x150000000 +#define ET_DYN_LOAD_ADDR 0x100000 #endif /* !_MACHINE_ELF_H_ */ -- cgit v1.1