aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@gcc.gnu.org>1997-04-07 22:29:09 +0100
committerJoern Rennecke <amylaar@gcc.gnu.org>1997-04-07 22:29:09 +0100
commitc9db96cea08880c80f176f14ff94782eeb342c27 (patch)
tree3d1bdf3954bc8b2ab50acdbece4093795db9707e
parentc0420911bde23ea6dd0b18c6051f50f4149476a2 (diff)
downloadgcc-c9db96cea08880c80f176f14ff94782eeb342c27.zip
gcc-c9db96cea08880c80f176f14ff94782eeb342c27.tar.gz
gcc-c9db96cea08880c80f176f14ff94782eeb342c27.tar.bz2
(SUBTARGET_CC1_SPEC): Define.
(CC1_SPEC): Add subtarget_cc1_spec. (EXTRA_SPECS): Add subtarget_cc1_spec. From-SVN: r13843
-rw-r--r--gcc/config/mips/mips.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 694a911..1c83ef8 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -759,6 +759,14 @@ while (0)
/* Specs for the compiler proper */
+/* SUBTARGET_CC1_SPEC is passed to the compiler proper. It may be
+ overridden by subtargets. */
+#ifndef SUBTARGET_CC1_SPEC
+#define SUBTARGET_CC1_SPEC ""
+#endif
+
+/* CC1_SPEC is the set of arguments to pass to the compiler proper. */
+
#ifndef CC1_SPEC
#define CC1_SPEC "\
%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
@@ -773,7 +781,8 @@ while (0)
%{pic-lib: -mhalf-pic} \
%{pic-extern: -mhalf-pic} \
%{pic-calls: -mhalf-pic} \
-%{save-temps: }"
+%{save-temps: } \
+%(subtarget_cc1_spec) "
#endif
/* Preprocessor specs. */
@@ -828,6 +837,7 @@ while (0)
Do not define this macro if it does not need to do anything. */
#define EXTRA_SPECS \
+ { "subtarget_cc1_spec", SUBTARGET_CC1_SPEC }, \
{ "subtarget_cpp_spec", SUBTARGET_CPP_SPEC }, \
{ "subtarget_cpp_size_spec", SUBTARGET_CPP_SIZE_SPEC }, \
{ "mips_as_asm_spec", MIPS_AS_ASM_SPEC }, \