Initial revision
[binutils.git] / bfd / hosts / pc532mach.h
blobab96f597edd2d560a90d77b3df082e5d4ffa78d2
1 #include <machine/vmparam.h>
2 #include <sys/param.h>
4 /* This is an ugly way to hack around the incorrect
5 * definition of UPAGES in ns532/machparam.h.
7 * The definition should specify the size reserved
8 * for "struct user" in core files in PAGES,
9 * but instead it gives it in 512-byte core-clicks
10 * for ns532, i386 and i860. UPAGES is used only in trad-core.c.
12 #if UPAGES == 16
13 #undef UPAGES
14 #define UPAGES 2
15 #endif
17 #if UPAGES != 2
18 #error UPAGES is neither 2 nor 16
19 #endif
21 #define HOST_PAGE_SIZE 1
22 #define HOST_SEGMENT_SIZE NBPG
23 #define HOST_TEXT_START_ADDR USRTEXT
24 #define HOST_STACK_END_ADDR USRSTACK