Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
authorNiklas Hallqvist <niklas@cygnus>
Sat, 28 Oct 1995 00:36:29 +0000 (00:36 +0000)
committerNiklas Hallqvist <niklas@cygnus>
Sat, 28 Oct 1995 00:36:29 +0000 (00:36 +0000)
bfd/hosts/nbsd.h

index 938c62e25ece7422917cdbacc6e4bb7d18e7074b..d773ee64960a0d56ec78109163ecf5a07f258f0f 100644 (file)
@@ -1,5 +1,6 @@
 /* Architecture independant NetBSD host support */
 
+#include <machine/endian.h>
 #include <machine/vmparam.h>
 #include <machine/param.h>
 #include <machine/reg.h>
@@ -7,3 +8,7 @@
 #define        HOST_PAGE_SIZE                  NBPG
 #define        HOST_TEXT_START_ADDR            USRTEXT
 #define        HOST_STACK_END_ADDR             USRSTACK
+
+#if BYTE_ORDER == BIG_ENDIAN
+#define HOST_BIG_ENDIAN_P
+#endif
This page took 0.0276 seconds and 4 git commands to generate.