http://sourceware.org/bugzilla/show_bug.cgi?id=15200
--- Comment #13 from Ian Lance Taylor <ian at airs dot com> 2013-03-20 03:32:47
UTC ---
oldsym->in_dyn() will return true if the symbol was seen in a dynamic object.
I don't see why we should create the symbol if it is seen in a dynamic object.
It seems that the code should be something like
if (oldsym == NULL)
return NULL;
if (oldsym->is_undefined())
;
else if (oldsym->is_from_dynobj())
;
else
return NULL;
but that's not right either. We should only create the symbol if it is
referenced by a regular object. So perhaps it really needs to be something
like
if (oldsym == NULL)
return NULL;
if (oldsym->source() == Symbol::IS_UNDEFINED)
;
else if (!oldsym->in_reg())
return NULL;
else if (oldsym->is_from_dynobj())
;
else
return NULL;
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils