* arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Oct 2009 15:41:50 +0000 (15:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Oct 2009 15:41:50 +0000 (15:41 +0000)
commitfd3c5f0b496c029d3599912a08a74e82f96f4042
treeb2dd5d1a097ee31ce000a178944afb7df401aa1d
parentef299415078bb9a103d188cb321d685dd53ac1fa
* 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.
gold/ChangeLog
gold/arm.cc