------- Additional Comments From nickc at redhat dot com  2008-05-14 15:00 
-------
Subject: Re:  stab warnings cause linker errors

Hi Ian,

> 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.

Right.  It seems that two entries for the same symbol name are created 
in the hash table and I have yet to find out why.  ie an undefined entry 
for _f is created first and then a defined entry for _f is created 
afterwards.  What I have yet to discover is why the second entry does 
not just replace the first.  I think it must have something to do with 
the symbol being associated with a warning, but I have not yet found out 
exactly what is happening.

Cheers
   Nick



-- 


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