2007-03-02 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 2 Mar 2007 18:22:59 +0000 (18:22 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 2 Mar 2007 18:22:59 +0000 (18:22 +0000)
commitbddb0493ac7250f49df7cad5db5333bb1a676572
tree4c48c7485206b6361cb22e223b9f7907fdd1d247
parent5e77afaabd5f2af319350ec61082a999f9bb3704
2007-03-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass strect argument.  Adjust infinite loop check.

gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.
gas/testsuite/gas/arm/relax_branch_align.d [new file with mode: 0644]
gas/testsuite/gas/arm/relax_branch_align.s [new file with mode: 0644]