Turn IFUNC symbols from shared libraries into normal FUNC symbols
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Sep 2015 11:14:21 +0000 (04:14 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Sep 2015 11:17:43 +0000 (04:17 -0700)
commit358de98820c5e9caa222846ba8b646de6cc091c8
tree5fad77fceea123768e3893418af7645f4666910e
parentd49044c7530d28894e73763c21c417a423e4297c
Turn IFUNC symbols from shared libraries into normal FUNC symbols

Turn IFUNC symbols from shared libraries into normal FUNC symbols when
we are resolving symbol references, instead of when we are writing out
the symbol table.

PR gold/18886
* resolve.cc (Symbol::override_base): Turn IFUNC symbols from
shared libraries into normal FUNC symbols.
* symtab.cc (Symbol_table::sized_write_symbol): Assert IFUNC
symbols aren't from shared libraries.
gold/ChangeLog
gold/resolve.cc
gold/symtab.cc