diff options
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index d7f59e5..4d391e1 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -2368,13 +2368,8 @@ elf_i386_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 |