summaryrefslogtreecommitdiff
path: root/gcc/config/mips/osfrose.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-04 18:23:09 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-04 18:23:09 +0000
commitff0139abaca256689f697d6626ab701faa776c9c (patch)
tree8f2adff1c059f7509818f4fd7fcb78022a54ae25 /gcc/config/mips/osfrose.h
parent82df5b09c7588c3dd30eb18cf6567e2f9bee5ce6 (diff)
downloadgcc-ff0139abaca256689f697d6626ab701faa776c9c.tar.gz
(CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips.
(PTRDIFF_TYPE): Delete. (SIZE_TYPE): Define. (SET_ASM_OP): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/osfrose.h')
-rw-r--r--gcc/config/mips/osfrose.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h
index af89be05cea..e41f92a012c 100644
--- a/gcc/config/mips/osfrose.h
+++ b/gcc/config/mips/osfrose.h
@@ -77,7 +77,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.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:%{!.s: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
+%{!.S:%{!.s: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
+%{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \
+%{!mlong64:-D__PTRDIFF_TYPE__=int} \
+%{mips3:-U__mips -D__mips=3}"
/* ??? This assumes that GNU as is always used with GNU ld, and MIPS as is
always used with MIPS ld. */
@@ -121,7 +124,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{pic-names*: -mhalf-pic} \
%{!pic-*: -mhalf-pic}"
-/* Specify wchar_t types. */
+/* Specify size_t and wchar_t types. */
+#define SIZE_TYPE "long unsigned int"
#define WCHAR_TYPE "unsigned int"
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define MAX_WCHAR_TYPE_SIZE MAX_LONG_TYPE_SIZE
@@ -134,6 +138,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* enable dwarf debugging for testing */
#define DWARF_DEBUGGING_INFO
+/* This is needed by dwarfout.c. */
+#define SET_ASM_OP ".set"
/* Tell collect that the object format is OSF/rose. */
#define OBJECT_FORMAT_ROSE