* elflink.c (elf_link_output_extsym): Revert the last change.
+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
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)