RFC: linker enhancements

Alan Modra amodra@bigpond.net.au
Wed Mar 17 23:34:00 GMT 2004


On Wed, Mar 17, 2004 at 02:51:14PM -0800, H. J. Lu wrote:
> I guess I didn't change the comments when I made the change:
> 
> elflink.c: 903
>   /* If the new weak definition comes from a relocatable file and the
>      old symbol comes from a dynamic object, we treat the new one as
>      strong.  */
> 
> elflink.c: 922
>   /* If the old weak definition comes from a relocatable file and the
>      new symbol comes from a dynamic object, we treat the old one as
>      strong.  */
> 
> The old comments are wrong now.

More than that.  Not only are the later comments wrong, but the
dt_needed code doesn't do anything now.  That was what was confusing
me.  I'll rip it out and fix the comments.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list