OSDN Git Service

2010-02-26 Doug Kwan <dougkwan@google.com>
authordougkwan <dougkwan>
Sat, 27 Feb 2010 00:36:49 +0000 (00:36 +0000)
committerdougkwan <dougkwan>
Sat, 27 Feb 2010 00:36:49 +0000 (00:36 +0000)
commite0826ba9b2d012c603dbe94a29823acfc1027c6c
tree713ddc386c7d7b8d3829c3bac5f4dbdfcae3cb9f
parent6382524fa82b18057510bb92dea5ba1266af143d
2010-02-26  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::scan_reloc_for_stub): Move code handling
R_ARM_V4BX to Target_arm::scan_reloc_section_for_stubs.
(Target_arm::scan_reloc_section_for_stubs): Instead of calling
scan_reloc_for_stub, do all processing of R_ARM_V4BX here.
* options.cc (General_options::General_options): Initialize member
fix_v4bx_.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_fix_v4bx.sh
(check_DATA): Add arm_fix_v4bx.stdout, arm_fix_v4bx_interworking.stdout
and rm_no_fix_v4bx.stdout
(arm_fix_v4bx.stdout, arm_fix_v4bx, arm_fix_v4bx.o,
arm_fix_v4bx_interworking.stdout, arm_fix_v4bx_interworking,
arm_no_fix_v4bx.stdout, arm_no_fix_v4bx): New make rules.
(MOSTLYCLEANFILES): Add arm_fix_v4bx, arm_fix_v4bx_interworking
and arm_no_fix_v4bx.
* Makefile.in: Regenerate.
* testsuite/arm_fix_v4bx.s: New file.
* testsuite/arm_fix_v4bx.sh: Ditto.
gold/ChangeLog
gold/arm.cc
gold/options.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_fix_v4bx.s [new file with mode: 0644]
gold/testsuite/arm_fix_v4bx.sh [new file with mode: 0755]