From 116f0b101a83c1d0fb01e05004099e63d863cb68 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 28 Apr 1993 19:16:40 +0000 Subject: [PATCH] Move setting -mgpopt from CC1_SPEC to OPTIMIZATION_OPTIONS. Don't emit a symbol if the language is "C". From-SVN: r4262 --- gcc/config/mips/osfrose.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h index ae29be8f27e..135ada8447d 100644 --- a/gcc/config/mips/osfrose.h +++ b/gcc/config/mips/osfrose.h @@ -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" -- 2.30.2