[GOLD][PATCH] Added support for the ARM group relocations

Doug Kwan (關振德) dougkwan@google.com
Mon Jan 25 22:37:00 GMT 2010


This looks okay to me.

-Doug

2010/1/25 Viktor Kutuzov <vkutuzov@accesssoftek.com>:
> Hello everyone,
> Please find attached a patch that adds a support for the ARM group relocations: R_ARM_ALU_PC_Gx/R_ARM_ALU_SB_Gx/R_ARM_ALU_*_NC, R_ARM_LDR_PC_Gx/R_ARM_LDR_SB_Gx, R_ARM_LDRS_PC_Gx/R_ARM_LDRS_PC_Gx and R_ARM_LDC_PC_Gx/R_ARM_LDC_SB_Gx (26 relocs).
>
> Best regards,
> Viktor.
>
> * gold/arm.cc: Added support for ARM group relocations.
> (Target_arm::reloc_needs_sym_origin): New method.
> (Arm_relocate_functions::calc_grp_kn): New method.
> (Arm_relocate_functions::calc_grp_residual): New method.
> (Arm_relocate_functions::calc_grp_gn): New method.
> (Arm_relocate_functions::arm_grp_alu): New Method.
> (Arm_relocate_functions::arm_grp_ldr): New Method.
> (Arm_relocate_functions::arm_grp_ldrs): New Method.
> (Arm_relocate_functions::arm_grp_ldc): New Method.
> (Target_arm<big_endian>::Scan::local): Handle the ARM group 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