[PATCH/RFA] Fix C-referenceable sections with explicit LMAs
Jason R Thorpe
thorpej@wasabisystems.com
Sun Dec 15 17:04:00 GMT 2002
On Thu, Dec 12, 2002 at 10:29:23AM +0000, Nick Clifton wrote:
> Maybe what we need here is a new keyword then. Something like
> SIZEOF_INCLUDING_ORPHANS (or something less wordy) which would mean
> "the size of the section plus the size of any attached orphan
> sections". Then in the documentation we could make it clear that
> SIZEOF is just the size of the basic section without any attachments,
> and provide an example of the difference.
>
> What do you think ?
I guess that would be fine. It's still annoying that existing linker
scripts would not continue to work, but at least the recommended fix
is much simpler.
I'll work on a SIZEOF_WITH_ORPHANS (*slightly* less wordy :-) patch
tonight.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Binutils
mailing list