This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] packing sections into elf segments
Hi Alan, Hi Richard,
> > It makes more sense to me that when we are trying to adjust for
> > the alignment padding between sections by adjusting file
> > positions, that we should be using the LMAs not the VMAs, after
> > all, the code later in the same loop uses LMAs for adjusting the
> > file size.
>
> Seems like no one is willing to stick their neck out and comment. :)
> Oh well, here goes.
>
> a) The ELF spec seems far more interested in virtual addresses than
> physical ones. I'm worried that this change may remove some
> required adjustment. What about m->p_paddr_valid ?
Hmm, well since the patch has gone in, lets see what happens and if
any targets break.
Cheers
Nick
(worried if he has been too easy on approving patches again...)