-Ttext and phdr_in_segment

Alan Modra amodra@gmail.com
Wed Jan 23 05:18:00 GMT 2013


On Mon, Jan 21, 2013 at 07:23:04PM +0530, Senthil Kumar Selvaraj wrote:
>  My question, again, is if comparing the headers size against the LMA of
>  the text section (section[0]) correct?

Yes.  A better question might be "Why is avr ld trying to generate
demand paged binaries?"

> Is there a way to "turn off"
>  placement of the headers in a segment, rather than the start of the
>  file?

Link with -N or -n.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list