Prevent an assertion from being triggered when linking an ARM object file with incorr...
authorNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2022 09:51:59 +0000 (09:51 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2022 09:51:59 +0000 (09:51 +0000)
commit81c9e0f6c48748f4b66fc3b13e12eb68735cf1f9
tree89ce36891551616a96c358b5b5014466549e739c
parent1dbf27133db434d1fb3e8e8bf9c3e402cc23a293
Prevent an assertion from being triggered when linking an ARM object file with incorrectly set build attributes.

PR 28848
PR 28859
* elf32-arm.c (elf32_arm_merge_eabi_attributes): If the first
input bfd has a Tag_ABI_HardFP_use set to 3 but does not also have
TAG_FP_arch set then reset the TAG_ABI_HardFP_use.
bfd/ChangeLog
bfd/elf32-arm.c