orphan section logic

Alan Modra amodra@gmail.com
Tue Jan 12 04:02:00 GMT 2010


On Mon, Jan 11, 2010 at 10:43:45PM -0500, DJ Delorie wrote:
> Doh!  Of course it does.  New patch attached.  But is this the
> functionality we want?  Or is it a user error to assume an input
> section matches an output section just because the names match?

Well, we already match orphans by name.  For example
 .foo { *(.bar) }
will collect any .foo input sections if there is at least one .bar
input section.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list