[GOLD][PATCH] Added support for the ARM MOVT/MOVW BREL relocations

Ian Lance Taylor iant@google.com
Fri Jan 29 15:48:00 GMT 2010


Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:

> * gold/arm.cc: Added support for the ARM relocations: R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL, R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL.
> (Arm_relocate_functions::movw_rel_nc): Renamed (was movw_prel_nc).
> (Arm_relocate_functions::movw_rel): New Method.
> (Arm_relocate_functions::movt_rel): Renamed (was movt_prel).
> (Arm_relocate_functions::thm_movw_rel_nc): Renamed (was thm_movw_prel_nc).
> (Arm_relocate_functions::thm_movw_rel): New Method.
> (Arm_relocate_functions::thm_movt_rel): Renamed (was thm_movt_prel).
> (Target_arm<big_endian>::Scan::local): Handle MOVW_BREL/MOVT_BREL 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.

Approved and applied.

Thanks.

Ian



More information about the Binutils mailing list