New and improved Lynx support.
[external/binutils.git] / bfd / hosts / i386lynx.h
1 /* Intel 386 running Lynx OS */
2
3 #ifndef hosts_i386lynx_h
4 #define hosts_i386lynx_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_i386
25 #define HOST_TEXT_START_ADDR    USRTEXT
26
27 #define HOST_LYNX
28
29 #include "fopen-same.h"
30 #undef I386                     /* Lynx defines this for some reason */
31
32 /* Lynx has calloc, but no cfree, and gprof uses it. */
33
34 #define cfree free
35
36 #endif          /* hosts_i386lynx_h */