aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 781e975..7eec969 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
+
+ * config/tc-mips.c (is_opcode_valid): Use local `isa'
+ consistently.
+
2016-12-06 Nick Clifton <nickc@redhat.com>
PR gas/20901
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index a9d6f6b..1e195d9 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -3217,7 +3217,7 @@ is_opcode_valid (const struct mips_opcode *mo)
int fp_s, fp_d;
unsigned int i;
- if (ISA_HAS_64BIT_REGS (mips_opts.isa))
+ if (ISA_HAS_64BIT_REGS (isa))
for (i = 0; i < ARRAY_SIZE (mips_ases); i++)
if ((ase & mips_ases[i].flags) == mips_ases[i].flags)
ase |= mips_ases[i].flags64;