This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold commit] PR 18930: Fix internal error caused by IFUNC patch


The previous commit to fix PR gold/18886 converted STT_IFUNC
to STT_FUNC when resolving to a symbol defined in a shared library.
This leads to an internal error if the shared library symbol is
seen first, as we do not convert the symbol at all.

We need to override the STT_IFUNC in add_from_dynobj() instead of
in override_base().

-cary


2015-09-07  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/18930
        PR gold/18886
        * resolve.cc (Symbol::override_base): Don't convert IFUNC symbols here.
        * symtab.cc (Symbol_table::add_from_dynobj): Convert them here instead.

Attachment: pr18930.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]