gold patch committed (Was: Re: Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel)
Ian Lance Taylor
iant@google.com
Fri Apr 23 15:16:00 GMT 2010
"H.J. Lu" <hjl.tools@gmail.com> writes:
> Program Headers:
> Type Offset VirtAddr PhysAddr
> FileSiz MemSiz Flags Align
> LOAD 0x0000000000001000 0x0000000000000000 0x0000000000000000
> 0x0000000000000001 0x0000000000000001 R E 1000
> LOAD 0x0000000000002000 0x0000000000004000 0x0000000000004000
> 0x0000000000002001 0x0000000000002001 RW 4000
This looks right to me.
> I am not sure it is a good idea to have different p_align.
Why not? How else can we communicate the information requested by the
programmer? A system which cares about p_align needs to look at the
p_align of each PT_LOAD header.
Ian
More information about the Binutils
mailing list