2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
commitf011ff26b49a4cc7e24512e1831bb0a38731cdef
authorH.J. Lu <hjl@lucon.org>
Mon, 7 Dec 2009 17:14:55 +0000 (7 17:14 +0000)
committerH.J. Lu <hjl@lucon.org>
Mon, 7 Dec 2009 17:14:55 +0000 (7 17:14 +0000)
tree02fa2c0794e45b351d1afe01d33c30c843a1dad6
parent975456b9fcf017431729f8382205db1bc36ba9d6
2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gold/10893
* i386.cc (Target_i386::Scan::globa): Use is_func instead of
checking elfcpp::STT_FUNC.
(Target_i386::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Scan::global): Likewise.

* symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC
symbols from shared libraries into normal FUNC symbols.

* symtab.h (Symbol): Add is_func and use it.
gold/ChangeLog
gold/i386.cc
gold/symtab.cc
gold/symtab.h
gold/x86_64.cc