* configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
[deliverable/binutils-gdb.git] / bfd / hosts / mipsbsd.h
CommitLineData
00ee2c24
KR
1#include <fcntl.h>
2#include <errno.h>
3#undef NULL /* XXX */
4#include <stdio.h>
5#include <sys/types.h>
6#include <sys/stat.h>
7#include <ctype.h>
8#include <string.h>
9#include <stdlib.h>
10#include <sys/file.h>
11
12#ifndef O_ACCMODE
13#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
14#endif
15
16#define SEEK_SET 0
17#define SEEK_CUR 1
18
19#include <machine/param.h>
20#include <machine/vmparam.h>
21#undef ALIGN
22
23#define HOST_PAGE_SIZE NBPG
24/* #define HOST_SEGMENT_SIZE NBPG -- we use HOST_DATA_START_ADDR */
25#define HOST_MACHINE_ARCH bfd_arch_mips
26/* #define HOST_MACHINE_MACHINE */
27
28#define HOST_TEXT_START_ADDR USRTEXT
29#define HOST_DATA_START_ADDR USRDATA
30#define HOST_STACK_END_ADDR USRSTACK
31#define NO_CORE_COMMAND
32
33#include "fopen-same.h"
34
35/* EXACT TYPES */
36typedef char int8e_type;
37typedef unsigned char uint8e_type;
38typedef short int16e_type;
39typedef unsigned short uint16e_type;
40typedef int int32e_type;
41typedef unsigned int uint32e_type;
42
43/* CORRECT SIZE OR GREATER */
44typedef char int8_type;
45typedef unsigned char uint8_type;
46typedef short int16_type;
47typedef unsigned short uint16_type;
48typedef int int32_type;
49typedef unsigned int uint32_type;
This page took 0.081227 seconds and 4 git commands to generate.