OSDN Git Service

2010-02-24 Doug Kwan <dougkwan@google.com>
authordougkwan <dougkwan>
Thu, 25 Feb 2010 05:45:10 +0000 (05:45 +0000)
committerdougkwan <dougkwan>
Thu, 25 Feb 2010 05:45:10 +0000 (05:45 +0000)
commite8aad4778da3402e8f5d8a5596c4f1f3f072588c
tree1ea8d214e744e0d391042de70da831deb4be5614
parent6df9fe5766eda715bb9248cd66089a5fa79d335e
2010-02-24  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_output_data_got): New class.
(ARM_TCB_SIZE): New constant
(Target_arm): Use Arm_output_data_got instead of Output_data_got.
(Arm_output_section::fix_exidx_coverage): Add a parameter for layout.
If user uses a script with a SECTIONS clause, issue only a warning
for a misplaced EXIDX input section.  Otherwise, issue an error.
  (Arm_relobj::do_gc_process_relocs): Exit early if we are not doing
garbage collection.
(Target_arm::got_mode_index_entry): Handle static linking.
(Target_arm::Scan::local): Ditto.
(Target_arm::Scan::global): Ditto.
(Target_arm::Relocate::relocate_tls): Handle static linking.  Fix
all incorrectly implemented relocations.
(Target_arm::fix_exidx_coverage): Pass layout to
Arm_output_section::fix_exidx_coverage.
* layout.cc (Layout::section_name_mapping): Remove trailing dots
from ".ARM.exidx." and ".ARM.extab.".
gold/ChangeLog
gold/arm.cc
gold/layout.cc