diff options
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r-- | bfd/elf32-arm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 64da333..1cb2b37 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -2192,6 +2192,8 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section, case R_ARM_PC24: case R_ARM_ABS32: case R_ARM_THM_PC22: + case R_ARM_PLT32: + if (info->shared && ( (!info->symbolic && h->dynindx != -1) @@ -2225,11 +2227,6 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section, relocation = 0; break; - case R_ARM_PLT32: - if (h->plt.offset != (bfd_vma)-1) - relocation = 0; - break; - default: if (unresolved_reloc) _bfd_error_handler |