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: RFC: linker enhancements


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


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