This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker is broken
On Wed, May 26, 2004 at 05:08:27PM +0930, Alan Modra wrote:
> On Wed, May 26, 2004 at 04:22:14PM +0930, Alan Modra wrote:
> > Probably my SEC_EXCLUDE linker patch. Looking..
>
> This fixes the ld -r problem with SEC_GROUP and SEC_EXCLUDE. I'm not
> committing it just yet because I'm worried that there might be other
> ld -r situations that are broken too. I intend to do some digging
> into why lang_add_section ignores SEC_EXCLUDE in some cases for
> relocatable links. It would be nicer if SEC_EXCLUDE always meant
> drop this section..
>
We should be very careful about ld -r and SEC_EXCLUDE. Since we never
excluded SEC_EXCLUDE sections so early, we shouldn't start doing it
now.
H.J.