aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-01-13 15:49:58 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-01-13 15:49:58 -0800
commit284f1f5a9c896e139490964a2d3696ff907b29d3 (patch)
tree3635c1613f2d1c3f0d034cb6bcc2116888e5cfb7
parent06c6bfb17bc6f9677848aa8e3b593ed938143e16 (diff)
downloadgcc-284f1f5a9c896e139490964a2d3696ff907b29d3.zip
gcc-284f1f5a9c896e139490964a2d3696ff907b29d3.tar.gz
gcc-284f1f5a9c896e139490964a2d3696ff907b29d3.tar.bz2
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips. (SIZE_TYPE, PTRDIFF_TYPE): Delete. From-SVN: r6390
-rw-r--r--gcc/config/mips/iris3.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h
index a58a241..83cac61 100644
--- a/gcc/config/mips/iris3.h
+++ b/gcc/config/mips/iris3.h
@@ -35,7 +35,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.cxx: -D_LANGUAGE_C_PLUS_PLUS} \
%{.C: -D_LANGUAGE_C_PLUS_PLUS} \
%{.m: -D_LANGUAGE_OBJECTIVE_C} \
-%{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}}"
+%{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -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}"
#define LIB_SPEC \
"%{!p:%{!pg:%{!static:%{!g*:-lc_s}} -lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s"
@@ -93,9 +96,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define NO_DOLLAR_IN_LABEL 1
-/* Specify size_t, ptrdiff_t, and wchar_t types. */
-#define SIZE_TYPE "unsigned int"
-#define PTRDIFF_TYPE "int"
+/* Specify wchar_t types. */
#define WCHAR_TYPE "unsigned char"
#define WCHAR_TYPE_SIZE BITS_PER_UNIT