diff options
author | Niklas Hallqvist <niklas@cygnus> | 1995-10-28 00:36:29 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cygnus> | 1995-10-28 00:36:29 +0000 |
commit | 7be23c26d4464db8ae05bbe3a230f4bbaef1833b (patch) | |
tree | 6c1e3dc94f292bac04e5a3283e9d8b9b8de3d99c /bfd/hosts | |
parent | f1d56a734053714ab18778514cd9a7c837d39a43 (diff) | |
download | gdb-7be23c26d4464db8ae05bbe3a230f4bbaef1833b.zip gdb-7be23c26d4464db8ae05bbe3a230f4bbaef1833b.tar.gz gdb-7be23c26d4464db8ae05bbe3a230f4bbaef1833b.tar.bz2 |
Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
Diffstat (limited to 'bfd/hosts')
-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 |