[Top][All Lists]

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

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

From: petechou at gmail dot com
Subject: [Bug gold/15200] Runtime undefined reference to __exidx_start/_end
Date: Thu, 21 Mar 2013 05:05:21 +0000


--- Comment #20 from pete <petechou at gmail dot com> 2013-03-21 05:05:21 UTC 
(In reply to comment #19)
> The in_reg() and in_dyn() functions are not mutually exclusive.  Both will
> return true if a symbol appears in both a regular object and a dynamic object.

I think your patch probably should be changed to

    if (oldsym == NULL)
      return NULL;
    if (oldsym->source() == Symbol::IS_UNDEFINED)
    else if (oldsym->is_from_dynobj())
    else if (oldsym->in_reg())
      return NULL;
      return NULL;

Or maybe we don't need to check in_reg()/in_dyn() at all? Then the code could
be like

    if (oldsym == NULL)
        return NULL;
    if (oldsym->source() != Symbol::IS_UNDEFINED &&
        return NULL;

This would check if there is a reference and a definition in dynobj as well.

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]