From 66894d62552f0962974ab34fc049bcd5954317d1 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 4 May 1994 11:21:37 -0700 Subject: [PATCH] (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips. (SIZE_TYPE): Delete. From-SVN: r7200 --- gcc/config/mips/dec-bsd.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gcc/config/mips/dec-bsd.h b/gcc/config/mips/dec-bsd.h index 390b2b298e5..0c7c046d31e 100644 --- a/gcc/config/mips/dec-bsd.h +++ b/gcc/config/mips/dec-bsd.h @@ -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 -- 2.30.2