diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2011-02-28 15:52:26 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2011-02-28 15:52:26 +0000 |
commit | 66b3e8dabc2c61facd835c97aa64dccde687d85d (patch) | |
tree | 2d58ff5d8e586239a86936496658fe08c418638f /gas/remap.c | |
parent | ce70d90a3e5e00fd49b46164a43e3dfbcf1cf404 (diff) | |
download | gdb-66b3e8dabc2c61facd835c97aa64dccde687d85d.zip gdb-66b3e8dabc2c61facd835c97aa64dccde687d85d.tar.gz gdb-66b3e8dabc2c61facd835c97aa64dccde687d85d.tar.bz2 |
gas/
* config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
register to use.
(RELAX_BRANCH_UNCOND): Adjust accordingly.
(RELAX_BRANCH_LIKELY): Likewise.
(RELAX_BRANCH_LINK): Likewise.
(RELAX_BRANCH_TOOFAR): Likewise.
(RELAX_BRANCH_AT): New macro.
(append_insn): Encode the temporary register to use in standard
MIPS branch relaxation.
(relaxed_branch_length): Update according to changes to
RELAX_BRANCH_ENCODE.
(md_convert_frag): Use the encoded register as the temporary.
gas/testsuite/
* gas/mips/relax-at.d: New test for branch relaxation with .set
at.
* gas/mips/relax.s: Update to support the new test.
* gas/mips/relax.l: Update accordingly.
* gas/mips/relax.d: Update for multi-arch invocation.
* gas/mips/mips.exp: Run the new test. Adjust to run "relax"
across all applicable architectures.
Diffstat (limited to 'gas/remap.c')
0 files changed, 0 insertions, 0 deletions