]>
Commit | Line | Data |
---|---|---|
c4cd3fc6 JG |
1 | #include <fcntl.h> |
2 | #include <errno.h> | |
3 | #include <stdio.h> | |
4 | #include <sys/types.h> | |
5 | #include <sys/stat.h> | |
6 | #include <ctype.h> | |
7 | #include <string.h> | |
8 | #include <sys/file.h> | |
9 | #include <stdlib.h> | |
10 | ||
11 | #ifndef O_ACCMODE | |
12 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
13 | #endif | |
14 | ||
ab68b260 JG |
15 | #undef ALIGN /* They use it, we use it too */ |
16 | #include <machine/param.h> | |
17 | #undef ALIGN /* They use it, we use it too */ | |
18 | ||
19 | #define HOST_PAGE_SIZE NBPG | |
20 | #define HOST_MACHINE_ARCH bfd_arch_vax | |
21 | ||
22 | #define HOST_TEXT_START_ADDR 0 | |
37fc9d04 | 23 | #define HOST_STACK_END_ADDR (KERNBASE - (UPAGES * NBPG)) |
ab68b260 JG |
24 | #undef HOST_BIG_ENDIAN_P |
25 | ||
c4cd3fc6 JG |
26 | /* EXACT TYPES */ |
27 | typedef char int8e_type; | |
28 | typedef unsigned char uint8e_type; | |
29 | typedef short int16e_type; | |
30 | typedef unsigned short uint16e_type; | |
31 | typedef int int32e_type; | |
32 | typedef unsigned int uint32e_type; | |
33 | ||
34 | /* CORRECT SIZE OR GREATER */ | |
35 | typedef char int8_type; | |
36 | typedef unsigned char uint8_type; | |
37 | typedef short int16_type; | |
38 | typedef unsigned short uint16_type; | |
39 | typedef int int32_type; | |
40 | typedef unsigned int uint32_type; | |
ab68b260 | 41 | #include "fopen-same.h" |