bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/15200] Runtime undefined reference to __exidx_start/_end


From: ian at airs dot com
Subject: [Bug gold/15200] Runtime undefined reference to __exidx_start/_end
Date: Wed, 20 Mar 2013 03:32:47 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]