aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-10-08 04:17:08 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-10-08 04:17:08 +0000
commit6fd819cfff61e8dc011f214988ee73c2ebc2624f (patch)
tree45e78dd25b6c0b22d182424f89c7ebeaa7e20716 /gas/config
parentf2b30012515047b2dcdd3815bdbd424beca0bcf4 (diff)
downloadgdb-6fd819cfff61e8dc011f214988ee73c2ebc2624f.zip
gdb-6fd819cfff61e8dc011f214988ee73c2ebc2624f.tar.gz
gdb-6fd819cfff61e8dc011f214988ee73c2ebc2624f.tar.bz2
config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39. config/tc-mips.c (mips_ip): Don't print the 'opcode requires -mipsXX message' if the insn isn't an ISA insn.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index cb7f0bd..567758d 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -104,7 +104,9 @@ static char *mips_regmask_frag;
extern int target_big_endian;
/* 1 is we should use the 64 bit MIPS ELF ABI, 0 if we should use the
- 32 bit ABI. This has no meaning for ECOFF. */
+ 32 bit ABI. This has no meaning for ECOFF.
+ Note that the default is always 32 bit, even if "configured" for
+ 64 bit [e.g. --target=mips64-elf]. */
static int mips_64;
/* The default target format to use. */
@@ -804,7 +806,7 @@ md_begin ()
mips_cpu = 3000;
}
else if (strcmp (cpu, "r3900") == 0
- || strcmp (cpu, "mipsr3900") == 0
+ || strcmp (cpu, "mipstx39") == 0
/* start-sanitize-tx19 */
|| strcmp (cpu, "r1900") == 0
|| strcmp (cpu, "mipstx19") == 0
@@ -6618,7 +6620,8 @@ mips_ip (str, ip)
++insn;
continue;
}
- if (insn_isa <= mips_opts.isa)
+ if (insn_isa == 15
+ || insn_isa <= mips_opts.isa)
insn_error = "opcode not supported on this processor";
else
{