]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gold/arm.cc
2010-01-11 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:54:37 +0000 (07:54 +0000)
committerDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:54:37 +0000 (07:54 +0000)
commit089d69dccddab953d0137f62585726cfecaab251
tree9c8881ec9a3afd53db12d7e743d88c70ab8bf72f
parent46ed2d6ff06a397f94f5568bf85438f8ed8859a0
2010-01-11  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::thumb32_branch_offset,
Arm_relocate_functions::thumb32_branch_upper,
Arm_relocate_functions::thumb32_branch_lower,
Arm_relocate_functions::thumb32_cond_branch_offset,
Arm_relocate_functions::thumb32_cond_branch_upper,
Arm_relocate_functions::thumb32_cond_branch_lower,
Arm_relocate_functions::thm_jump19): New methods to handle THUMB
branch offset encoding.
(Arm_relocate_functions::thumb_branch_common): Use new branch
offset encoding methods to avoid code duplication.
(Stub_template::Stub_template) Handle THUMB16_SPECIAL_TYPE.
(Stub_addend_reader::operator()): Use new branch encoding method
to avoid code duplication.
gold/ChangeLog
gold/arm.cc