[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: Wed, 20 Mar 2013 05:54:20 +0000


--- Comment #17 from pete <petechou at gmail dot com> 2013-03-20 05:54:20 UTC 
(In reply to comment #16)
> (In reply to comment #15)
> > I think that is what my patch does.  Did I get it wrong?

And we should return NULL if oldsym->in_reg() is true instead?

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

> I'm thinking the patch does the same thing as mine.
> I have 2 questions:
> 1. in_reg() and in_dyn() seem to be mutual exclusive?
> 2. is it possible to see in_dyn() and is_from_dynobj() return different truth
> values for a symbol?
> Did I misunderstand something?
> > 
> > I think it probably makes sense in general to create an only_if_ref
> > linker-defined symbol if there is a ref in the regular objects and a 
> > definition
> > in a shared object.

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]