[PATCH] Gold: Added R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS, R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS relocations
Ian Lance Taylor
iant@google.com
Wed Oct 7 15:43:00 GMT 2009
Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:
> Please find attached the patch for - R_ARM_MOVW_ABS_NC,
> - R_ARM_MOVT_ABS,
> - R_ARM_THM_MOVW_ABS_NC,
> - R_ARM_THM_MOVT_ABS
> relocations.
>
> Best regards,
> Viktor
>
> * gold/arm.cc: Added R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS, R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS relocations
Approved and committed with the appended ChangeLog entry. I
reformatted slightly, and change the string breaks to use string
append instead.
Thanks, and sorry for the long delay.
Ian
2009-10-07 Viktor Kutuzov <vkutuzov@accesssoftek.com>
* arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
New function.
(Arm_relocate_functions::insert_val_arm_movw_movt): New function.
(Arm_relocate_functions::extract_thumb_movw_movt_addend): New
function.
(Arm_relocate_functions::insert_val_thumb_movw_movt): New
function.
(Arm_relocate_functions::movw_abs_nc): New function.
(Arm_relocate_functions::movt_abs): New function.
(Arm_relocate_functions::thm_movw_abs_nc): New function.
(Arm_relocate_functions::thm_movt_abs): New function.
(Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
(Scan::global): Likewise.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
More information about the Binutils
mailing list