aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-11-16 12:29:56 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-11-16 12:29:56 +0000
commit9ddc84cc261c3694ef52907c739af694af48d02a (patch)
treecbe001b57f053b5ff734fbccc70c7236da3c0717 /gas
parent2906b0376142e10567d32715b7643583eb1bb331 (diff)
downloadgdb-9ddc84cc261c3694ef52907c739af694af48d02a.zip
gdb-9ddc84cc261c3694ef52907c739af694af48d02a.tar.gz
gdb-9ddc84cc261c3694ef52907c739af694af48d02a.tar.bz2
* config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
mode.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0a46fe1..c6be4c0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2011-11-16 Maciej W. Rozycki <macro@codesourcery.com>
+ * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
+ mode.
+
+2011-11-16 Maciej W. Rozycki <macro@codesourcery.com>
+
* config/tc-mips.c (macro_build_jalr): Reverse a negative
conditional.
(mips_ip): Likewise.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 886bdce..6d32a5e 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -370,7 +370,8 @@ static int file_ase_mt;
|| mips_opts.isa == ISA_MIPS64R2)
#define ISA_SUPPORTS_MCU_ASE (mips_opts.isa == ISA_MIPS32R2 \
- || mips_opts.isa == ISA_MIPS64R2)
+ || mips_opts.isa == ISA_MIPS64R2 \
+ || mips_opts.micromips)
/* The argument of the -march= flag. The architecture we are assembling. */
static int file_mips_arch = CPU_UNKNOWN;