(CPP_SPEC): Define __SIZE_TYPE__,
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 4 May 1994 18:21:37 +0000 (11:21 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 4 May 1994 18:21:37 +0000 (11:21 -0700)
__PTRDIFF_TYPE__, and __mips.
(SIZE_TYPE): Delete.

From-SVN: r7200

gcc/config/mips/dec-bsd.h

index 390b2b298e5532e92d7316844580aee6be5ef0a2..0c7c046d31ebd8e8e2fb9157326cee10aa294af5 100644 (file)
@@ -41,13 +41,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifndef CPP_SPEC
 #define CPP_SPEC "\
-%{.S:  -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
 %{.cc: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
 %{.cxx:        -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
 %{.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_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
-%{!.S:%{!.s:   -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
+%{!.S:%{!.s:   -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
+%{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
+%{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
+%{mips3:-U__mips -D__mips=3}"
 #endif
 
 /* Always uses GNU ld.  */
@@ -58,11 +61,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define LIB_SPEC ""
 #define STARTFILE_SPEC ""
 
-/* For compatibility with types.h.  */
-#ifndef SIZE_TYPE
-#define SIZE_TYPE "unsigned int"
-#endif
-
 #ifndef MACHINE_TYPE
 #define MACHINE_TYPE "DECstation running BSD 4.4"
 #endif