diff options
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 999011b..edee8ec 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -2463,13 +2463,8 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) for (pp = &eh->dyn_relocs; (p = *pp) != NULL; ) { - /* Don't update reloc count if there are any non - pc-relative relocs. */ - if (!h->pointer_equality_needed) - { - p->count -= p->pc_count; - p->pc_count = 0; - } + p->count -= p->pc_count; + p->pc_count = 0; if (p->count == 0) *pp = p->next; else |