This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Added support for the ARM group relocations
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Viktor Kutuzov <vkutuzov at accesssoftek dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 25 Jan 2010 14:37:33 -0800
- Subject: Re: [GOLD][PATCH] Added support for the ARM group relocations
- References: <6AE1604EE3EC5F4296C096518C6B77EE018BB1D895@mail.accesssoftek.com>
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