aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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 /gas/config
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
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;