2010-09-08 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Wed, 8 Sep 2010 23:54:51 +0000 (23:54 +0000)
committerDoug Kwan <dougkwan@google.com>
Wed, 8 Sep 2010 23:54:51 +0000 (23:54 +0000)
commitaa98ff75dd6197c120e5c962048a71d9c9626e08
tree2aad2bdf3900143fcfe75bd413a0d0462a9dd76d
parent5e1617b13f13c2de52e23a947ef85bcdb99a5b05
2010-09-08  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_exidx_cantunwind::do_print_to_mapfile): New method.
(Arm_relobj::do_relocate_sections): Add new parameter for output
file to match the parent.
(Target_arm::scan_reloc_section_for_stubs): Use would-be final values
of local symbols instead of input values.  Update code to track
changes in gold::relocate_section.
* object.cc (Sized_relobj::compute_final_local_value): New methods.
(Sized_relobj::compute_final_local_value_internal): New methods.
(Sized_relobj::do_finalize_local_symbols): Move code from loop
body into private version of Sized_relobj::compute_final_local_value.
Call the inline method.
* object.h (Symbol_value::Symbol_value): Define destructor.  Free
merged symbol value if there is one.
(Symbol_value::has_output_value): New method defintiion.
(Sized_relobj::Compute_final_local_value_status): New enum type.
(Sized_relobj::compute_final_local_value): New methods.
(Sized_relobj::compute_final_local_value_internal): New methods.
* Makefile.am (check_SCRIPTS): Add arm_branch_out_of_range.sh
and arm_cortex_a8.sh.
(thumb_bl_out_of_range_local, arm_cortex_a8_b_cond, arm_cortex_a8_bl,
arm_cortex_a8_blx, arm_cortex_a8_local, arm_corte_a8_local_reloc):
New tests.
* Makefile.in: Regenerate.
* testsuite/arm_bl_out_of_range.s: Update test.
* testsuite/thumb_bl_out_of_range.s: Ditto.
* testsuite/thumb_blx_out_of_range.s: Ditto.
* testsuite/arm_branch_out_of_range.sh: New file.
* testsuite/arm_cortex_a8.sh: Ditto.
* testsuite/arm_cortex_a8_b.s: Ditto.
* testsuite/arm_cortex_a8_b_cond.s: Ditto.
* testsuite/arm_cortex_a8_b_local.s: Ditto.
* testsuite/arm_cortex_a8_bl.s: Ditto.
* testsuite/arm_cortex_a8_blx.s: Ditto.
* testsuite/arm_cortex_a8_local.s: Ditto.
* testsuite/arm_cortex_a8_local_reloc.s: Ditto.
* testsuite/thumb_bl_out_of_range_local.s: Ditto.
19 files changed:
gold/ChangeLog
gold/arm.cc
gold/object.cc
gold/object.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_bl_out_of_range.s
gold/testsuite/arm_branch_out_of_range.sh [new file with mode: 0755]
gold/testsuite/arm_cortex_a8.sh [new file with mode: 0755]
gold/testsuite/arm_cortex_a8_b.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_b_cond.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_b_local.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_bl.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_blx.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_local.s [new file with mode: 0644]
gold/testsuite/arm_cortex_a8_local_reloc.s [new file with mode: 0644]
gold/testsuite/thumb_bl_out_of_range.s
gold/testsuite/thumb_bl_out_of_range_local.s [new file with mode: 0644]
gold/testsuite/thumb_blx_out_of_range.s
This page took 0.025589 seconds and 4 git commands to generate.