aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-02 01:10:33 +0000
committerNick Clifton <nickc@redhat.com>2000-12-02 01:10:33 +0000
commitc6c98b3833d01c45200708006011e5cecd461fac (patch)
treec07dc1c4a235bd50c648bec5d6adbc70a0c844ef /gas
parent84ea6cf2c5170547163a4bf09ac2bbb3cd424685 (diff)
downloadgdb-c6c98b3833d01c45200708006011e5cecd461fac.zip
gdb-c6c98b3833d01c45200708006011e5cecd461fac.tar.gz
gdb-c6c98b3833d01c45200708006011e5cecd461fac.tar.bz2
Add MIPS SB1 machine
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog9
-rw-r--r--gas/config/tc-mips.c7
-rw-r--r--gas/doc/as.texinfo5
-rw-r--r--gas/doc/c-mips.texi3
4 files changed, 21 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bd23387..c2b7179 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -67,6 +67,15 @@
* doc/c-mips.texi: Likewise. Also update introduction
and ".set" usage information.
+ * config/tc-mips.c (md_show_usage): Add "sb1" to the
+ CPU list.
+ (mips_cpu_info_table): Add SB-1 entries.
+ * doc/c-mips.texi: Add "sb1" to the list of CPUs
+ known to the -mcpu option.
+
+ * doc/as.texinfo: Correct description of MIPS -mcpu
+ option, by copying some of the text from doc/c-mips.texi.
+
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f4f1130..9f171b4 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -9243,6 +9243,7 @@ MIPS options:\n\
show (stream, "8000", &column, &first);
show (stream, "10000", &column, &first);
show (stream, "mips32-4k", &column, &first);
+ show (stream, "sb-1", &column, &first);
fputc ('\n', stream);
fprintf (stream, _("\
@@ -12048,6 +12049,12 @@ static const struct mips_cpu_info mips_cpu_info_table[] =
{ "mips32-4km", 0, ISA_MIPS32, CPU_MIPS32_4K, },
{ "mips32-4kp", 0, ISA_MIPS32, CPU_MIPS32_4K, },
+ /* SiByte SB-1 CPU */
+ { "SB-1", 0, ISA_MIPS64, CPU_SB1, },
+ { "sb-1250", 0, ISA_MIPS64, CPU_SB1, },
+ { "sb1", 0, ISA_MIPS64, CPU_SB1, },
+ { "sb1250", 0, ISA_MIPS64, CPU_SB1, },
+
/* End marker. */
{ NULL, 0, 0, 0, },
};
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 3988d00..2ff2103 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -689,8 +689,9 @@ instructions around accesses to the @samp{HI} and @samp{LO} registers.
@samp{-no-m4650} turns off this option.
@item -mcpu=@var{CPU}
-Generate code for a particular MIPS cpu. This has little effect on the
-assembler, but it is passed by @code{@value{GCC}}.
+Generate code for a particular MIPS cpu. It is exactly equivalent to
+@samp{-m@var{cpu}}, except that there are more value of @var{cpu}
+understood.
@cindex emulation
@item --emulation=@var{name}
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi
index b9902ff..cb9579f 100644
--- a/gas/doc/c-mips.texi
+++ b/gas/doc/c-mips.texi
@@ -149,7 +149,8 @@ rm5721,
rm7000,
8000,
10000,
-mips32-4k
+mips32-4k,
+sb1
@end quotation