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

--- Comment #12 from Ian Lance Taylor <ian at airs dot com> 2013-03-20 03:29:49 
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 it really needs to be

    if (oldsym == NULL)
      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
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to