From: H.J. Lu Date: Wed, 3 Jun 2009 16:58:12 +0000 (+0000) Subject: 2009-06-03 H.J. Lu X-Git-Tag: cgen-1_1-branchpoint~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e75bb3530060fc779dfb588868c92dae6aec8c9;p=platform%2Fupstream%2Fbinutils.git 2009-06-03 H.J. Lu * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ef39b35c502..ea2f0a08508 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-06-03 H.J. Lu + + * 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. + 2009-06-03 H.J. Lu * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 81b5093664a..05aada1a3f0 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) diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 1dec3c3b33d..041e28519e8 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)