summaryrefslogtreecommitdiff
path: root/gcc/config/mips/dec-bsd.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-04 18:21:37 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-04 18:21:37 +0000
commitf689f1cc6c2d09c257ef294e23ab590e50801b77 (patch)
treee1f9100b972c60f963a541db278eeae2c7b6803e /gcc/config/mips/dec-bsd.h
parent0670ba4975bf1a025cc524a4e83d1944f02e7067 (diff)
downloadgcc-f689f1cc6c2d09c257ef294e23ab590e50801b77.tar.gz
(CPP_SPEC): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, and __mips. (SIZE_TYPE): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/dec-bsd.h')
-rw-r--r--gcc/config/mips/dec-bsd.h12
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