diff options
Diffstat (limited to 'gcc/config/mips/dec-bsd.h')
-rw-r--r-- | gcc/config/mips/dec-bsd.h | 12 |
1 files 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 |