* symtab.c (find_pc_symtab): some object file formats, notably mips,
[deliverable/binutils-gdb.git] / gdb / xm-stratus.h
index a225bbe8a67a251571bed2e8a0329d6ba8f6781d..8898a6d50b80f5891fb848e8a94fd62c55012483 100644 (file)
@@ -1,6 +1,6 @@
-/* Macro definitions for GDB on a Stratus machine.
-   Copyright (C) 1992, Free Software Foundation, Inc.
-   Contributed by Peggy Fieland (pfieland@stratus.com)
+/* Macro definitions for GDB hosted on a Stratus machine.
+   Copyright 1992 Free Software Foundation, Inc.
+   Contributed by Peggy Fieland (pfieland@stratus.com).
 
 This file is part of GDB.
 
@@ -18,12 +18,23 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-/* Pick up most of what we need from the generic mi860 host include file. */
+/* Normally, i860 is little endian.  However, stratus uses the i860 in
+   big endian mode. */
+
+#define HOST_BYTE_ORDER BIG_ENDIAN
+
+/* Pick up most of what we need from the generic i860 host include file. */
 
 #include "xm-i860.h"
 
 /* Pick up more stuff from the generic SVR4 host include file. */
 
-#include "xm-svr4.h"
-#define NOVOLVOID 1 /* compiler doesn't like volatile void declaration on functions*/
-#define NO_JOB_CONTROL
+#include "xm-sysv4.h"
+
+/* The native compiler complains about using volatile to indicate functions
+   that never return.  So shut it up by simply defining away "NORETURN", which
+   is normally defined to "volatile". */
+
+#ifndef __GNUC__
+# define NORETURN /**/
+#endif
This page took 0.023354 seconds and 4 git commands to generate.