* hosts/delta88v4.h: New for SVR4.
[deliverable/binutils-gdb.git] / bfd / hosts / i386bsd.h
1 #ifndef hosts_i386bsd_H
2 /* Intel 386 running any BSD Unix */
3 #include <fcntl.h>
4 #include <errno.h>
5 #include <stdio.h>
6 #include <stdlib.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 <machine/param.h>
13 #include <machine/vmparam.h>
14
15 #ifndef O_ACCMODE
16 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17 #endif
18
19 #define SEEK_SET 0
20 #define SEEK_CUR 1
21
22 #define HOST_PAGE_SIZE NBPG
23 #define HOST_MACHINE_ARCH bfd_arch_i386
24 #define HOST_TEXT_START_ADDR USRTEXT
25
26 #ifdef __bsdi__
27 /* This seems to be the right thing for BSDI. */
28 #define HOST_STACK_END_ADDR USRSTACK
29 #else
30 /* This seems to be the right thing for 386BSD release 0.1. */
31 #define HOST_STACK_END_ADDR (USRSTACK - MAXSSIZ)
32 #endif
33
34 #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
35 ((core_bfd)->tdata.trad_core_data->u.u_sig)
36 #define u_comm u_kproc.kp_proc.p_comm
37
38 #include "fopen-same.h"
39 #define hosts_i386bsd_H
40 #endif
This page took 0.030251 seconds and 4 git commands to generate.