diff options
author | H.J. Lu <hjl@lucon.org> | 2009-07-22 23:55:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-07-22 23:55:54 +0000 |
commit | 7e838f9ec190d7398c15772f39edb76da8d0212c (patch) | |
tree | f26af7ad9fdef8c0d3a4b73fb5bc53f23f246b53 /bfd | |
parent | eef070abd288eef1a118db163a45448f8c5f8a84 (diff) | |
download | binutils-redhat-7e838f9ec190d7398c15772f39edb76da8d0212c.tar.gz |
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_output_extsym): Revert the last change.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elflink.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35e90b3596..7987bbc927 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2009-07-22 H.J. Lu <hongjiu.lu@intel.com> + * elflink.c (elf_link_output_extsym): Revert the last change. + +2009-07-22 H.J. Lu <hongjiu.lu@intel.com> + PR ld/10433 * elflink.c (elf_link_output_extsym): Special case ifunc syms when ref_regular, not def_regular. diff --git a/bfd/elflink.c b/bfd/elflink.c index 2af1af578a..f9b577c773 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8660,10 +8660,9 @@ elf_link_output_extsym (struct elf_link_hash_entry *h, void *data) and also to finish up anything that needs to be done for this symbol. FIXME: Not calling elf_backend_finish_dynamic_symbol for forced local syms when non-shared is due to a historical quirk. - STT_GNU_IFUNC symbol must go through PLT only if it is ever - referenced. */ + STT_GNU_IFUNC symbol must go through PLT. */ if ((h->type == STT_GNU_IFUNC - && h->ref_regular + && h->def_regular && !finfo->info->relocatable) || ((h->dynindx != -1 || h->forced_local) |