More patches from Jeff Law, plus a little cleanup of my own.
[deliverable/binutils-gdb.git] / bfd / hosts / hppabsd.h
1 #ifndef _HPPABSD_H
2 #define _HPPABSD_H
3
4 #include <fcntl.h>
5 #include <errno.h>
6 #include <stdio.h>
7 #include <sys/types.h>
8 #include <sys/stat.h>
9 #include <ctype.h>
10 #include <string.h>
11 #include <sys/file.h>
12 #include <stdlib.h>
13 #include <unistd.h>
14
15 #define HOST_HPPABSD
16
17 #ifndef O_ACCMODE
18 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
19 #endif
20
21 #define SEEK_SET 0
22 #define SEEK_CUR 1
23
24 #include <machine/machparam.h>
25
26 #define HOST_PAGE_SIZE NBPG
27 #define HOST_SEGMENT_SIZE NBPG /* Data seg start addr rounds to NBPG */
28 #define HOST_MACHINE_ARCH bfd_arch_hppa
29 /* #define HOST_MACHINE_MACHINE */
30
31 #define HOST_TEXT_START_ADDR UTEXTSEG
32 #define HOST_DATA_START_ADDR UDATASEG
33 #define HOST_STACK_END_ADDR KSTAKSEG
34
35 #include "fopen-same.h"
36
37 #endif /* _HPPABSD_H */
This page took 0.030708 seconds and 5 git commands to generate.