4e5696a4d3c53f15a944efccb3e45a15c9042a2f
[binutils-gdb.git] / bfd / hosts / sparclynx.h
1 /* Sparc running LynxOS */
2
3 #ifndef hosts_sparclynx_h
4 #define hosts_sparclynx_h
5
6 #include <fcntl.h>
7 #include <errno.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <ctype.h>
11 #include <string.h>
12
13 #include <sys/conf.h>
14 #include <sys/kernel.h>
15 #include <sys/mem.h>
16 #include <sys/signal.h>
17 #include <sys/time.h>
18 #include <sys/resource.h>
19 #include <sys/itimer.h>
20 #include <sys/file.h>
21 #include <sys/proc.h>
22
23 #define HOST_PAGE_SIZE NBPG
24 #define HOST_MACHINE_ARCH bfd_arch_sparc
25 #define HOST_TEXT_START_ADDR USRTEXT
26
27 #define HOST_LYNX
28
29 #include "fopen-same.h"
30
31 #define FPRINTF_ALREADY_DECLARED
32
33 /* Lynx has calloc, but no cfree, and gprof uses it. */
34
35 #define cfree free
36
37 #endif /* hosts_sparclynx_h */