This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH/RFA] Fix C-referenceable sections with explicit LMAs
On Tue, Dec 10, 2002 at 12:28:31PM -0800, Jason R Thorpe wrote:
> Then, once they are merged with .text (or .rodata, assuming the
> output has a .rodata section), all hell breaks loose if SIZEOF
> does not reflect the additional output that has been merged into
> the sections. That's what the SIZEOF adjustment takes care of.
Orphans are not "merged into the sections". They have separate output
sections. This part of your patch is just plain wrong, and will
likely break SIZEOF for other people. I've shown you the way to
correct your linker scripts to do what you want, yet you persist in
trying to change the meaning of SIZEOF. Why?
IBM OzLabs - Linux Technology Centre