OSDN Git Service

2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Tue, 8 Dec 2009 02:14:55 +0000 (02:14 +0000)
committerhjl <hjl>
Tue, 8 Dec 2009 02:14:55 +0000 (02:14 +0000)
commita4543649fd73f809ee306c36751e68bb99876ff3
tree0db5ba7e3331606202aff5198455228358106712
parentfea1d01bb4d8d2e95d5499569ecb1cb2a3cbbc9e
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