aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-07-21 14:37:14 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-07-21 14:37:14 -0700
commit6630a026139d10eba9665ba784b99d1cf03fe321 (patch)
tree140ebc4c19cfcd655c1a50e37eabdfa3e94bb8bb /gcc/config/mips/mips.h
parent0e91606a8b28366de672ae1557a861c543518324 (diff)
downloadgcc-6630a026139d10eba9665ba784b99d1cf03fe321.zip
gcc-6630a026139d10eba9665ba784b99d1cf03fe321.tar.gz
gcc-6630a026139d10eba9665ba784b99d1cf03fe321.tar.bz2
(CPP_SPEC): Define LANGUAGE_ASSEMBLY, not
LANGUAGE_C, when compiling a .s file. From-SVN: r4959
Diffstat (limited to 'gcc/config/mips/mips.h')
-rw-r--r--gcc/config/mips/mips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 3a21620..ed9ea47 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -633,7 +633,8 @@ while (0)
%{.C: -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
%{.m: -D__LANGUAGE_OBJECTIVE_C -D_LANGUAGE_OBJECTIVE_C} \
%{.S: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
-%{!.S: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
+%{.s: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
+%{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
#endif
/* If defined, this macro is an additional prefix to try after