]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MIPS/gas: Retain ISA mode bit for labels with .insn annotation
authorFaraz Shahbazker <fshahbazker@wavecomp.com>
Mon, 5 Aug 2019 23:38:46 +0000 (23:38 +0000)
committerFaraz Shahbazker <fshahbazker@wavecomp.com>
Mon, 19 Aug 2019 20:43:50 +0000 (13:43 -0700)
commit770c015139f038bd7b7abb5c6d84eb39d36d3080
tree29807efdc505a9762d32ffb02fba43a1c3aa80a7
parent7ce8f214f1af1dd593ad42665da416ac46033f97
MIPS/gas: Retain ISA mode bit for labels with .insn annotation

gas/
* config/tc-mips.c (mips_move_labels): Retain ISA mode bit
when moving labels in text segments.
(mips_align): Indicate text mode when aligning labels in
text segments.
* gas/testsuite/gas/mips/insn-isa-mode.d: New test.
* gas/testsuite/gas/mips/insn-isa-mode.s: New test source.
* gas/testsuite/gas/mips/mips.exp: Run the new test.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/gas/mips/insn-isa-mode.d [new file with mode: 0644]
gas/testsuite/gas/mips/insn-isa-mode.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp