Configury changes: update src repository (binutils, gdb, and rda) to use
[binutils.git] / bfd / hosts / i860mach3.h
blobedd2aa10a7bb59c4016ab0051ef03d43c510ab2a
1 /* This file was hacked from i386mach3.h [dolan@ssd.intel.com] */
3 #include <machine/vmparam.h>
4 #include <sys/param.h>
6 /* This is an ugly way to hack around the incorrect
7 * definition of UPAGES in i386/machparam.h.
9 * The definition should specify the size reserved
10 * for "struct user" in core files in PAGES,
11 * but instead it gives it in 512-byte core-clicks
12 * for i386 and i860. UPAGES is used only in trad-core.c.
14 #if UPAGES == 16
15 #undef UPAGES
16 #define UPAGES 2
17 #endif
19 #if UPAGES != 2
20 FIXME!! UPAGES is neither 2 nor 16
21 #endif
23 #define HOST_PAGE_SIZE 1
24 #define HOST_SEGMENT_SIZE NBPG
25 #define HOST_MACHINE_ARCH bfd_arch_i860
26 #define HOST_TEXT_START_ADDR USRTEXT
27 #define HOST_STACK_END_ADDR USRSTACK