summaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-08-30 18:31:53 +0000
committerH.J. Lu <hjl@lucon.org>2009-08-30 18:31:53 +0000
commit3bc32f3d3b37e9a79703e83bea277dcdfc297dad (patch)
tree83f4efbe0aba2041d545f650c067acc3795a17b8 /bfd/elf32-i386.c
parent1ce3e6f74c8a278ec014cee057cbc0eff767f300 (diff)
downloadbinutils-redhat-3bc32f3d3b37e9a79703e83bea277dcdfc297dad.tar.gz
2009-08-30 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the accidental checkin. * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 462e0e854f..c8e018a6cb 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -4045,23 +4045,6 @@ elf_i386_finish_dynamic_symbol (bfd *output_bfd,
{
struct elf_i386_link_hash_table *htab;
- /* PR 10433: STT_GNU_IFUNC symbols must go through the PLT
- only when they are referenced, not when they are defined. */
- if (h->type == STT_GNU_IFUNC
- && h->def_regular
- && ! h->ref_regular
- && ! info->relocatable)
- {
- if (! ((h->dynindx != -1
- || h->forced_local)
- && ((info->shared
- && (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
- || h->root.type != bfd_link_hash_undefweak))
- || ! h->forced_local)
- && elf_hash_table (info)->dynamic_sections_created))
- return TRUE;
- }
-
htab = elf_i386_hash_table (info);
if (h->plt.offset != (bfd_vma) -1)