aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-12-07 02:24:18 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-12-07 12:24:39 +0000
commitbe0fcbee1d47558af13288c6aece922dd4be6df5 (patch)
tree103a9ff9df3e078c6b1856b7333a516c81fc6fe4
parentc2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1 (diff)
downloadgdb-be0fcbee1d47558af13288c6aece922dd4be6df5.zip
gdb-be0fcbee1d47558af13288c6aece922dd4be6df5.tar.gz
gdb-be0fcbee1d47558af13288c6aece922dd4be6df5.tar.bz2
MIPS/GAS: Use local `isa' consistently in `is_opcode_valid'
Replace a global `mips_opts.isa' reference in `is_opcode_valid' and use a local copy just made in `isa'. No functional change. gas/ * config/tc-mips.c (is_opcode_valid): Use local `isa' consistently.
-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;