[GOLD][PATCH] Added support for the ARM relocations: R_ARM_THM_PC8/PC12, R_ARM_THM_ALU_PREL_11_0
Viktor Kutuzov
vkutuzov@accesssoftek.com
Fri Jan 29 20:43:00 GMT 2010
Hello everyone,
Please find attached patch that adds a support for the ARM relocations: R_ARM_THM_PC8, R_ARM_THM_PC12 and R_ARM_THM_ALU_PREL_11_0.
Best regards,
Viktor.
* gold/arm.cc: Added support for the ARM relocations: R_ARM_THM_PC8, R_ARM_THM_PC12, R_ARM_THM_ALU_PREL_11_0.
(Arm_relocate_functions::thm_alu11): New Method.
(Arm_relocate_functions::thm_pc8): New Method.
(Arm_relocate_functions::thm_pc12): New Method.
(Target_arm<big_endian>::Scan::local): Handle the relocations.
(Target_arm<big_endian>::Scan::global): Likewise.
(Target_arm<big_endian>::Relocate::relocate): Likewise.
(Target_arm<big_endian>::Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-gold-arm-rel-thm_pc-thm_alu.patch
Type: application/octet-stream
Size: 7284 bytes
Desc: binutils-gold-arm-rel-thm_pc-thm_alu.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20100129/4915d725/attachment.obj>
More information about the Binutils
mailing list