aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-05-04 11:21:37 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-05-04 11:21:37 -0700
commit66894d62552f0962974ab34fc049bcd5954317d1 (patch)
treee1f9100b972c60f963a541db278eeae2c7b6803e /gcc
parent929f0a7a2aaac3ea23959604fe699ceaf57f1b64 (diff)
downloadgcc-66894d62552f0962974ab34fc049bcd5954317d1.zip
gcc-66894d62552f0962974ab34fc049bcd5954317d1.tar.gz
gcc-66894d62552f0962974ab34fc049bcd5954317d1.tar.bz2
(CPP_SPEC): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, and __mips. (SIZE_TYPE): Delete. From-SVN: r7200
Diffstat (limited to 'gcc')
-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 390b2b2..0c7c046 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