summaryrefslogtreecommitdiffstats
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-06-03 16:58:12 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-06-03 16:58:12 +0000
commit2e75bb3530060fc779dfb588868c92dae6aec8c9 (patch)
tree059075a73b4b4de99f6b026de74381ba8f2c402c /bfd/elf64-x86-64.c
parent701e355da02cdaa4b6f1455ea32b61dfef9b2c51 (diff)
downloadppe42-binutils-2e75bb3530060fc779dfb588868c92dae6aec8c9.tar.gz
ppe42-binutils-2e75bb3530060fc779dfb588868c92dae6aec8c9.zip
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/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 1dec3c3b33..041e28519e 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1793,9 +1793,6 @@ elf64_x86_64_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
.rela.iplt sections for STT_GNU_IFUNC symbols. */
if (htab->splt != 0)
OpenPOWER on IntegriCloud