Allow veneers to claim veneered symbols
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 10 May 2016 15:20:19 +0000 (16:20 +0100)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 10 May 2016 15:20:19 +0000 (16:20 +0100)
commit4f4faa4d43aeaf5dd0a5fe0aff2fde89df3e5b8c
tree6dc991f5e141002ce7a31f949ce6d999dfcbc3d0
parent39d911fc3c6519799ca1af4365d4b56f9d71ca94
Allow veneers to claim veneered symbols

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
* elf32-arm.c (enum elf32_arm_stub_type): New max_stub_type
enumerator.
(arm_stub_sym_claimed): New function.
(elf32_arm_create_stub): Use veneered symbol name and section if
veneer needs to claim its symbol, and keep logic unchanged otherwise.
(arm_stub_claim_sym): New function.
(arm_map_one_stub): Call arm_stub_claim_sym if veneer needs to claim
veneered symbol, otherwise create local symbol as before.
bfd/ChangeLog
bfd/elf32-arm.c