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]

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


Hello everyone,

Please find attached patch that adds a support for the ARM MOVT/MOVW BREL 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.

Best regards,
Viktor.

* 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.

Attachment: binutils-gold-arm-rel-movt-movw-brel.patch
Description: binutils-gold-arm-rel-movt-movw-brel.patch


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