diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-06-03 16:58:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-06-03 16:58:12 +0000 |
commit | 2e75bb3530060fc779dfb588868c92dae6aec8c9 (patch) | |
tree | 059075a73b4b4de99f6b026de74381ba8f2c402c /bfd/elf64-x86-64.c | |
parent | 701e355da02cdaa4b6f1455ea32b61dfef9b2c51 (diff) | |
download | gdb-2e75bb3530060fc779dfb588868c92dae6aec8c9.zip gdb-2e75bb3530060fc779dfb588868c92dae6aec8c9.tar.gz gdb-2e75bb3530060fc779dfb588868c92dae6aec8c9.tar.bz2 |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 1dec3c3..041e285 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) |