summaryrefslogtreecommitdiff
path: root/gcc/config/mn10300/linux.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 07:40:31 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 07:40:31 +0000
commit8c2c40c548f13c4f6b2e62a89e74fe91c98d8b4c (patch)
treee4267a2278652e9e6d7d97fb9907949d5de0d0a2 /gcc/config/mn10300/linux.h
parent562c4a0b485fb80f1afedd6124ffa7c7504b409b (diff)
downloadgcc-8c2c40c548f13c4f6b2e62a89e74fe91c98d8b4c.tar.gz
* config/mn10300/mn10300-protos.h (mn10300_override_options): Declare.
* config/mn10300/mn10300.h (target_flags, TARGET_MULT_BUG) (TARGET_SWITCHES, TARGET_DEFAULT): Delete. (processor_type): New enum. (mn10300_processor): New variable. (TARGET_AM33, TARGET_AM33_2): Redefine in terms of mn10300_processor. (PROCESSOR_DEFAULT, OVERRIDE_OPTIONS): New macros. * config/mn10300/linux.h (TARGET_SWITCHES, TARGET_DEFAULT): Delete. (PROCESSOR_DEFAULT): New macro. * config/mn10300/mn10300.c (mn10300_processor): New variable. (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults. (mn10300_handle_option, mn10300_override_options): New functions. * config/mn10300/mn10300.opt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300/linux.h')
-rw-r--r--gcc/config/mn10300/linux.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/mn10300/linux.h b/gcc/config/mn10300/linux.h
index 4a67179eb7f..ddbaced1578 100644
--- a/gcc/config/mn10300/linux.h
+++ b/gcc/config/mn10300/linux.h
@@ -40,15 +40,8 @@
%{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
%{static:-static}"
-#undef TARGET_SWITCHES
-#define TARGET_SWITCHES \
- {{ "am33", -0x4, N_("Target the AM33 processor") }, \
- { "am33-2", 6, N_("Target the AM33/2.0 processor") }, \
- { "relax", 0, N_("Enable linker relaxations") }, \
- { "", TARGET_DEFAULT, NULL }}
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT 6
+#undef PROCESSOR_DEFAULT
+#define PROCESSOR_DEFAULT PROCESSOR_AM33_2
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (AM33/2.0 GNU/Linux)");