projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d56a7
)
Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
author
Niklas Hallqvist
<niklas@cygnus>
Sat, 28 Oct 1995 00:36:29 +0000
(
00:36
+0000)
committer
Niklas Hallqvist
<niklas@cygnus>
Sat, 28 Oct 1995 00:36:29 +0000
(
00:36
+0000)
bfd/hosts/nbsd.h
patch
|
blob
|
history
diff --git
a/bfd/hosts/nbsd.h
b/bfd/hosts/nbsd.h
index 938c62e25ece7422917cdbacc6e4bb7d18e7074b..d773ee64960a0d56ec78109163ecf5a07f258f0f 100644
(file)
--- a/
bfd/hosts/nbsd.h
+++ b/
bfd/hosts/nbsd.h
@@
-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