------- Additional Comments From ian at airs dot com  2008-05-14 13:28 -------
Subject: Re:  stab warnings cause linker errors

Nick Clifton <[EMAIL PROTECTED]> writes:

> The problem seems to be that when the undefined reference to _f occurs
> in b.s before the definition, then when b.o is converted into ELF
> format *two* instances of _f are created, one undefined and one
> defined, and when a.o is linked in it is this undefined instance that
> is used, not the defined one.  I have so far been unable to locate
> exactly where these two instances are created in the BFD library.  But
> I am working on it...

If I understand what you are getting at, that's how warning symbols
work.  Look at MWARN in linker.c.  It creates a new symbol, and sets
u.i.link to point to the existing symbol.  Perhaps some list somewhere
is still pointing at the old symbol.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6478

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to