* configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
[deliverable/binutils-gdb.git] / bfd / hosts / pc532mach.h
CommitLineData
1fb83be6
KR
1#include "hosts/std-host.h"
2
3#include <machine/vmparam.h>
4#include <sys/param.h>
5#undef BYTE_SIZE /* Was in bits. We define it later in bytes */
6
7/* This is an ugly way to hack around the incorrect
8 * definition of UPAGES in ns532/machparam.h.
9 *
10 * The definition should specify the size reserved
11 * for "struct user" in core files in PAGES,
12 * but instead it gives it in 512-byte core-clicks
13 * for ns532, i386 and i860. UPAGES is used only in trad-core.c.
14 */
15#if UPAGES == 16
16#undef UPAGES
17#define UPAGES 2
18#endif
19
20#if UPAGES != 2
21#error UPAGES is neither 2 nor 16
22#endif
23
24#define HAVE_STRERROR
25
26#define HOST_PAGE_SIZE 1
27#define HOST_SEGMENT_SIZE NBPG
28#define HOST_MACHINE_ARCH bfd_arch_ns32k
29#define HOST_TEXT_START_ADDR USRTEXT
30#define HOST_STACK_END_ADDR USRSTACK
31
32/* Not declared in errno.h on Mach3. */
33
34extern int errno;
This page took 0.023601 seconds and 4 git commands to generate.