diff options
-rw-r--r-- | bfd/hosts/nbsd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/hosts/nbsd.h b/bfd/hosts/nbsd.h index 938c62e..d773ee6 100644 --- 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 |