This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]