f@3051: --- a/bfd/elf32-arm.c f@3051: +++ b/bfd/elf32-arm.c f@3051: @@ -12408,7 +12408,8 @@ elf32_arm_check_relocs (bfd *abfd, struc f@3051: f@3051: /* If the symbol is a function that doesn't bind locally, f@3051: this relocation will need a PLT entry. */ f@3051: - root_plt->refcount += 1; f@3051: + if (root_plt->refcount != -1) f@3051: + root_plt->refcount += 1; f@3051: f@3051: if (!call_reloc_p) f@3051: arm_plt->noncall_refcount++;