MIPS16/GAS: Rename the LONG_BRANCH relaxation flag
authorMaciej W. Rozycki <macro@imgtec.com>
Thu, 27 Apr 2017 01:13:21 +0000 (02:13 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Thu, 27 Apr 2017 11:19:39 +0000 (12:19 +0100)
commit1425c41dcd68350d9be9670910c547cc7ab91e0e
treeacf05af231e3bfb908445983c51c9736ac4d47af
parent5c99fcf8031bcf96f2c948e9fc5d3b03c97f631a
MIPS16/GAS: Rename the LONG_BRANCH relaxation flag

Following commit 177b4a6ad004 ("infinite loop in mips16 assembler
relaxation"), <https://sourceware.org/ml/binutils/2002-03/msg00345.html>
the LONG_BRANCH flag used in MIPS16 relaxation has lost its use for
branches.  Complement commit 88a7ef168927 ("MIPS16/GAS: Restore
unsupported relocation diagnostics") then, which has removed the remains
of code deactivated by the former commit, and rename the flag to
ALWAYS_EXTENDED, more accurately reflecting its current use to select
the extended form of PC-relative ADDIU, DADDIU, LD and LW instructions.

gas/
* config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
(RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
(RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
(RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
(RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
(RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
(mips16_extended_frag): Adjust accordingly.
gas/ChangeLog
gas/config/tc-mips.c
This page took 0.028366 seconds and 4 git commands to generate.