[GOLD][PATCH][UPDATED] Added support for the ARM relocations: R_ARM_THM_PC8/PC12, R_ARM_THM_ALU_PREL_11_0

Doug Kwan (關振德) dougkwan@google.com
Fri Jan 29 23:24:00 GMT 2010


This looks okay to me.  Ian, can I apply this?

-Doug

2010/1/29 Viktor Kutuzov <vkutuzov@accesssoftek.com>:
> oops, sorry. I forgot the patch.
>
> ________________________________________
> From: binutils-owner@sourceware.org [binutils-owner@sourceware.org] On Behalf Of Viktor Kutuzov [vkutuzov@accesssoftek.com]
> Sent: Friday, January 29, 2010 3:12 PM
> To: Ian Lance Taylor; Doug Kwan (關振德)
> Cc: binutils@sourceware.org
> Subject: [GOLD][PATCH][UPDATED] Added support for the ARM relocations:   R_ARM_THM_PC8/PC12, R_ARM_THM_ALU_PREL_11_0
>
> Hello everyone,
>
> Please find an updated 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.



More information about the Binutils mailing list