summaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-06-03 16:58:12 +0000
committerH.J. Lu <hjl@lucon.org>2009-06-03 16:58:12 +0000
commit0d23328513b6fda9fa4d9c500a8aaf0ac9ab782b (patch)
treeff33870dd293f5d83f6efb66886e3c5285918ab9 /bfd/elf32-i386.c
parenteadbe0cbfcf20ab610d6ca569de93de85d1801b9 (diff)
downloadbinutils-redhat-0d23328513b6fda9fa4d9c500a8aaf0ac9ab782b.tar.gz
2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of h->plt.refcount > 0 on STT_GNU_IFUNC symbol. * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 81b5093664..05aada1a3f 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1955,9 +1955,6 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
return TRUE;
}
- if (h->plt.refcount <= 0)
- abort ();
-
/* When building a static executable, use .iplt, .igot.plt and
.rel.iplt sections for STT_GNU_IFUNC symbols. */
if (htab->splt != 0)