This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Fix C-referenceable sections with explicit LMAs


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]