From 9ddc84cc261c3694ef52907c739af694af48d02a Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 16 Nov 2011 12:29:56 +0000 Subject: [PATCH] * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS mode. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0a46fe1482..c6be4c076f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-11-16 Maciej W. Rozycki + + * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS + mode. + 2011-11-16 Maciej W. Rozycki * config/tc-mips.c (macro_build_jalr): Reverse a negative diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 886bdce180..6d32a5e675 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;