summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-12-15 16:14:26 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-12-15 16:14:26 +0000
commit6c9ac67a41fd7b4c4df8ac3ee28acd490a6cae37 (patch)
tree475d8f29579efb5a37a4853d38e1248b7c1c9c79 /gcc/config
parent1984347212f34ecac5c5b2aa307f0fa238e721dc (diff)
downloadgcc-6c9ac67a41fd7b4c4df8ac3ee28acd490a6cae37.tar.gz
mt.c (mt_override_options): Require lower case architectures.
* config/mt/mt.c (mt_override_options): Require lower case architectures. Revert accidental default to ms2. * config/mt/mt.h (ASM_SPEC, LIBSPEC, STARTFILE_SPEC, ENDFILE_SPEC): Require lower case architectures. Revert default to ms2. * doc/invoke.texi (MT Options): Rename and update. * doc/md.texi (MorphoTech family): Rename and update. From-SVN: r108581
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mt/mt.c10
-rw-r--r--gcc/config/mt/mt.h20
2 files changed, 9 insertions, 21 deletions
diff --git a/gcc/config/mt/mt.c b/gcc/config/mt/mt.c
index 6d7ca3c0834..7efd2f78e4d 100644
--- a/gcc/config/mt/mt.c
+++ b/gcc/config/mt/mt.c
@@ -796,19 +796,19 @@ mt_override_options (void)
{
if (mt_cpu_string != NULL)
{
- if (!strcasecmp (mt_cpu_string, "MS1-64-001"))
+ if (!strcmp (mt_cpu_string, "ms1-64-001"))
mt_cpu = PROCESSOR_MS1_64_001;
- else if (!strcasecmp (mt_cpu_string, "MS1-16-002"))
+ else if (!strcmp (mt_cpu_string, "ms1-16-002"))
mt_cpu = PROCESSOR_MS1_16_002;
- else if (!strcasecmp (mt_cpu_string, "MS1-16-003"))
+ else if (!strcmp (mt_cpu_string, "ms1-16-003"))
mt_cpu = PROCESSOR_MS1_16_003;
- else if (!strcasecmp (mt_cpu_string, "MS2"))
+ else if (!strcmp (mt_cpu_string, "ms2"))
mt_cpu = PROCESSOR_MS2;
else
error ("bad value (%s) for -march= switch", mt_cpu_string);
}
else
- mt_cpu = PROCESSOR_MS2;
+ mt_cpu = PROCESSOR_MS1_16_002;
if (flag_exceptions)
{
diff --git a/gcc/config/mt/mt.h b/gcc/config/mt/mt.h
index 75d56f91ae4..75bd0af5f67 100644
--- a/gcc/config/mt/mt.h
+++ b/gcc/config/mt/mt.h
@@ -41,49 +41,37 @@ extern enum processor_type mt_cpu;
/* A C string constant that tells the GCC driver program options to pass to
the assembler. */
#undef ASM_SPEC
-#define ASM_SPEC "%{march=*} %{!march=*: -march=ms2}"
+#define ASM_SPEC "%{march=*} %{!march=*: -march=ms1-16-002}"
/* A string to pass to at the end of the command given to the linker. */
#undef LIB_SPEC
#define LIB_SPEC "--start-group -lc -lsim --end-group \
%{msim: ; \
march=ms1-64-001:-T 64-001.ld%s; \
-march=MS1-64-001:-T 64-001.ld%s; \
march=ms1-16-002:-T 16-002.ld%s; \
-march=MS1-16-002:-T 16-002.ld%s; \
march=ms1-16-003:-T 16-003.ld%s; \
-march=MS1-16-003:-T 16-003.ld%s; \
march=ms2:-T ms2.ld%s; \
-march=MS2:-T ms2.ld%s; \
- : -T ms2.ld}"
+ :-T ms1-16-002.ld}"
/* A string to pass at the very beginning of the command given to the
linker. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{msim:crt0.o%s;\
march=ms1-64-001:%{!mno-crt0:crt0-64-001.o%s} startup-64-001.o%s; \
-march=MS1-64-001:%{!mno-crt0:crt0-64-001.o%s} startup-64-001.o%s; \
march=ms1-16-002:%{!mno-crt0:crt0-16-002.o%s} startup-16-002.o%s; \
-march=MS1-16-002:%{!mno-crt0:crt0-16-002.o%s} startup-16-002.o%s; \
march=ms1-16-003:%{!mno-crt0:crt0-16-003.o%s} startup-16-003.o%s; \
-march=MS1-16-003:%{!mno-crt0:crt0-16-003.o%s} startup-16-003.o%s; \
march=ms2:%{!mno-crt0:crt0-ms2.o%s} startup-ms2.o%s; \
-march=MS2:%{!mno-crt0:crt0-ms2.o%s} startup-ms2.o%s; \
- :%{!mno-crt0:crt0-ms2.o%s} startup-ms2.o%s} \
+ :%{!mno-crt0:crt0-ms2.o%s} startup-16-002.o%s} \
crti.o%s crtbegin.o%s"
/* A string to pass at the end of the command given to the linker. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "%{msim:exit.o%s; \
march=ms1-64-001:exit-64-001.o%s; \
-march=MS1-64-001:exit-64-001.o%s; \
march=ms1-16-002:exit-16-002.o%s; \
-march=MS1-16-002:exit-16-002.o%s; \
march=ms1-16-003:exit-16-003.o%s; \
-march=MS1-16-003:exit-16-003.o%s; \
march=ms2:exit-ms2.o%s; \
-march=MS2:exit-ms2.o%s; \
- :exit-ms2.o%s} \
+ :exit-ms1-16-002.o%s} \
crtend.o%s crtn.o%s"
/* Run-time target specifications. */