Sometimes ld uses the default builtin loader script to set the origin of the
text segment despite the commandline parameter -Ttext-segment=ORG. In
particular: binutils-2.20.1 on OpenSolaris (SunOS opensolaris 5.11 snv_111b
i86pc i386 i86pc Solaris) when configured and built to handle 64-bit binari
--- Additional Comments From jreiser at BitWagon dot com 2010-05-24 15:22
---
Arrggg. Must also specify "-z max-page-size=0x1000". There should be a
warning about this (-Ttext-segment not a multiple of the max-page-size.)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11628
--- Additional Comments From jreiser at BitWagon dot com 2010-05-24 15:25
---
Subject: Re: New: "ld -Ttext-segment=ORG" does not set PT_LOAD.p_vaddr
> Sometimes ld uses the default builtin loader script to set the origin of the
> text segment despite the commandline parameter -Ttext-se