From: H.J. Lu Date: Wed, 22 Jul 2009 23:55:54 +0000 (+0000) Subject: 2009-07-22 H.J. Lu X-Git-Tag: msnyder-checkpoint-072509-branchpoint~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f35ea9c04b9a4da4649c3178ee81bb1ab0ccae7;p=thirdparty%2Fbinutils-gdb.git 2009-07-22 H.J. Lu * elflink.c (elf_link_output_extsym): Revert the last change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35e90b35967..7987bbc927b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-07-22 H.J. Lu + + * elflink.c (elf_link_output_extsym): Revert the last change. + 2009-07-22 H.J. Lu PR ld/10433 diff --git a/bfd/elflink.c b/bfd/elflink.c index 2af1af578ac..f9b577c7738 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)