[PATCH] D27042: lld: Default image base address to 0x400000

Meador Inge via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 08:15:22 PST 2016


On Wed, Nov 23, 2016 at 09:19:37AM -0500, Rafael EspĂ­ndola via llvm-commits wrote:

> I would have a small preference for 2MB on X86_64 and 4MB on x86 (if
> anyone cares about x86).

Out curiosity, why?

On Linux, I see GNU LD uses `0x400000` for x86_64 and AArch64.
It uses `0x08048000` for i386.  It would be nice to understand
why GNU LD uses those particular values.

-- 
Meador Inge
meadori at codesourcery.com
CodeSourcery / Mentor Embedded


More information about the llvm-commits mailing list