[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21219] mips gas 2.26 report error:opcode not supported on this
From: |
fshahbazker at wavecomp dot com |
Subject: |
[Bug gas/21219] mips gas 2.26 report error:opcode not supported on this processor: mips32r2 (mips32r2) `mttc0 $0,$25,1' |
Date: |
Mon, 29 Apr 2019 04:29:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21219
Faraz Shahbazker <fshahbazker at wavecomp dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fshahbazker at wavecomp dot com
--- Comment #2 from Faraz Shahbazker <fshahbazker at wavecomp dot com> ---
The following commit on master resolves this:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3315614d19a7fb409227298ead9b356bdbcca3bc
commit 3315614d19a7fb409227298ead9b356bdbcca3bc
Author: Matthew Fortune <address@hidden>
Date: Tue Apr 9 10:34:48 2019 -0700
[MIPS] Apply ASE information for the selected processor
GAS does not enable implicit ASEs for most MIPS processors.
The rework of option handling done as part of .module implementation
left the implicit ASE logic broken and default enabled ASEs for
most processors did not get applied. This patch ensures the ASE
information is carried forward to the point where it is required.
gas/
* config/tc-mips.c (mips_set_options) <init_ase>: New field.
(file_mips_opts, mips_opts) <init_ase>: Initialize new field.
(file_mips_check_options): Propagate initial ASE settings.
(mips_after_parse_args, parse_code_option): Track the initial
ASE settings for a CPU.
(s_mipsset): Restore the initial ASE settings when reverting
to the default arch.
* testsuite/gas/mips/elf_mach_p6600.d: New test.
* testsuite/gas/mips/mips.exp: Run the new test.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/21219] mips gas 2.26 report error:opcode not supported on this processor: mips32r2 (mips32r2) `mttc0 $0,$25,1',
fshahbazker at wavecomp dot com <=