2010-02-21 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Mon, 22 Feb 2010 06:26:07 +0000 (06:26 +0000)
committerDoug Kwan <dougkwan@google.com>
Mon, 22 Feb 2010 06:26:07 +0000 (06:26 +0000)
commit2a2b6d42b1a946cfaff8819925cdd15bee44d015
treec434f4f73a93b26045882f05cb1b75f5e468f578
parent109af718c00cca36ea5c141464bfb51fbac068ce
2010-02-21  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::arm_branch_common): Fix bug in
handling of the maximum backward branch offset.
      (Arm_relocate_functions::thumb_branch_common): Ditto.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_branch_in_range.sh.
(check_DATA): Add arm_bl_in_range.stdout, arm_bl_out_of_range.stdout
thumb_bl_in_range.stdout, thumb_bl_out_of_range.stdout,
thumb2_bl_in_range.stdout and thumb2_bl_out_of_range.stdout.
(arm_bl_in_range.stdout, arm_bl_in_range, arm_bl_in_range.o,
arm_bl_out_of_range.stdout, arm_bl_out_of_range,
arm_bl_out_of_range.o, thumb_bl_in_range.stdout, thumb_bl_in_range,
thumb_bl_in_range.o, thumb_bl_out_of_range.stdout,
thumb_bl_out_of_range thumb_bl_out_of_range.o,
thumb2_bl_in_range.stdout, thumb2_bl_in_range, thumb2_bl_in_range.o
thumb2_bl_out_of_range.stdout, thumb2_bl_out_of_range,
thumb2_bl_out_of_range.o): New rules.
(MOSTLYCLEANFILES): Add arm_bl_in_range, arm_bl_out_of_range,
thumb_bl_in_range, thumb_bl_out_of_range, thumb2_bl_in_range and
thumb2_bl_out_of_range
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_bl_in_range.s: New file.
* testsuite/arm_bl_out_of_range.s: Ditto.
* testsuite/arm_branch_in_range.sh: Ditto.
* testsuite/arm_branch_range.t: Ditto.
* testsuite/thumb2_branch_range.t: Ditto.
* testsuite/thumb_bl_in_range.s: Ditto.
* testsuite/thumb_bl_out_of_range.s: Ditto.
* testsuite/thumb_branch_range.t: Ditto.
12 files changed:
gold/ChangeLog
gold/arm.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_bl_in_range.s [new file with mode: 0644]
gold/testsuite/arm_bl_out_of_range.s [new file with mode: 0644]
gold/testsuite/arm_branch_in_range.sh [new file with mode: 0755]
gold/testsuite/arm_branch_range.t [new file with mode: 0644]
gold/testsuite/thumb2_branch_range.t [new file with mode: 0644]
gold/testsuite/thumb_bl_in_range.s [new file with mode: 0644]
gold/testsuite/thumb_bl_out_of_range.s [new file with mode: 0644]
gold/testsuite/thumb_branch_range.t [new file with mode: 0644]
This page took 0.02897 seconds and 4 git commands to generate.