From: Niklas Hallqvist Date: Sat, 28 Oct 1995 00:36:29 +0000 (+0000) Subject: Define HOST_BIG_ENDIAN_P according to . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7be23c26d4464db8ae05bbe3a230f4bbaef1833b;p=binutils-gdb.git Define HOST_BIG_ENDIAN_P according to . --- diff --git a/bfd/hosts/nbsd.h b/bfd/hosts/nbsd.h index 938c62e25ec..d773ee64960 100644 --- a/bfd/hosts/nbsd.h +++ b/bfd/hosts/nbsd.h @@ -1,5 +1,6 @@ /* Architecture independant NetBSD host support */ +#include #include #include #include @@ -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