2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 7 Dec 2009 17:14:55 +0000 (17:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 7 Dec 2009 17:14:55 +0000 (17:14 +0000)
commit53d7974cd89aa01148a771e83a8ea5a97359f13c
tree90c35e6efd81254ec9dc191905ab178acc2fe0ff
parentf43525316b6a7a4c300e3198e4dc0bb886cc8dd7
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