Move setting -mgpopt from CC1_SPEC to OPTIMIZATION_OPTIONS.
authorMichael Meissner <meissner@gcc.gnu.org>
Wed, 28 Apr 1993 19:16:40 +0000 (19:16 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 28 Apr 1993 19:16:40 +0000 (19:16 +0000)
Don't emit a symbol if the language is "C".

From-SVN: r4262

gcc/config/mips/osfrose.h

index ae29be8f27e19f164b804618515d6e8e79571eb7..135ada8447df1301a3bea26ff833922ad521310d 100644 (file)
@@ -107,7 +107,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Turn on -mpic-extern by default.  */
 #define CC1_SPEC "\
-%{O*: %{!mno-gpOPT:%{!mno-gpopt: -mgpopt}}} \
 %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
 %{G*} \
 %{pic-none:   -mno-half-pic} \
@@ -169,4 +168,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define ASM_IDENTIFY_GCC(STREAM)
 
+/* Identify the front-end which produced this file.  To keep symbol
+   space down, and not confuse kdb, only do this if the language is
+   not C.  */
+
+#define ASM_IDENTIFY_LANGUAGE(STREAM)                                  \
+{                                                                      \
+  if (strcmp (lang_identify (), "c") != 0)                             \
+    output_lang_identify (STREAM);                                     \
+}
+
 #include "mips/mips.h"