Allow veneers to claim veneered symbols
[binutils-gdb.git] / bfd / ChangeLog
index 73fb2ad40a85bd48f4d25d696475169930732fe8..f8ee48c858a6ff63764840b5e02d9bc86402088c 100644 (file)
@@ -1,3 +1,14 @@
+2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * 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.
+
 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * elf32-arm.c (elf32_arm_size_stubs): Use new macros