mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
/* Architecture independant NetBSD host support */
|
/* Architecture independant NetBSD host support */
|
||||||
|
|
||||||
|
#include <machine/endian.h>
|
||||||
#include <machine/vmparam.h>
|
#include <machine/vmparam.h>
|
||||||
#include <machine/param.h>
|
#include <machine/param.h>
|
||||||
#include <machine/reg.h>
|
#include <machine/reg.h>
|
||||||
@ -7,3 +8,7 @@
|
|||||||
#define HOST_PAGE_SIZE NBPG
|
#define HOST_PAGE_SIZE NBPG
|
||||||
#define HOST_TEXT_START_ADDR USRTEXT
|
#define HOST_TEXT_START_ADDR USRTEXT
|
||||||
#define HOST_STACK_END_ADDR USRSTACK
|
#define HOST_STACK_END_ADDR USRSTACK
|
||||||
|
|
||||||
|
#if BYTE_ORDER == BIG_ENDIAN
|
||||||
|
#define HOST_BIG_ENDIAN_P
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user