2010-01-12 Doug Kwan <dougkwan@google.com>
commit0b28a1b5ff175fdf7282615ae79cd7480b66338c
authorDoug Kwan <dougkwan@google.com>
Wed, 13 Jan 2010 06:44:01 +0000 (13 06:44 +0000)
committerDoug Kwan <dougkwan@google.com>
Wed, 13 Jan 2010 06:44:01 +0000 (13 06:44 +0000)
treec90a6a87a353b43660a2e500bc4265b7fa7f8a94
parent8b67cb60cae955a5ed87bfe44a59663b490a2100
2010-01-12  Doug Kwan  <dougkwan@google.com>

* arm.cc (Cortex_a8_reloc): New class.
(Target_arm::Target_arm): Initialize new data members fix_cortex_a8_
and cortex_a8_relocs_info_.
(Target_arm::fix_cortex_a8): New method definition.
(Target_arm::Cortex_a8_relocs_info): New type.
(Target_arm::fix_cortex_a8_, Target_arm::cortex_a8_relocs_info_):
New data member declarations.
(Target_arm::scan_reloc_for_stub): Record information about
relocations for THUMB branches that might be exempted from the
Cortex-A8 workaround.
(Target_arm::do_relax): Clear all Cortex-A8 relocation information
at the beginning of a relaxation pass.
gold/ChangeLog
gold/arm.cc