* hosts/std-host.h: New file. Attempt at a generic/default
[deliverable/binutils-gdb.git] / bfd / hosts / hppabsd.h
CommitLineData
3fd76e58
SG
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
10void *malloc();
11void free();
12
13#ifndef O_ACCMODE
14#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
15#endif
16
17#define SEEK_SET 0
18#define SEEK_CUR 1
19
20#include <machine/machparam.h>
21
22#define HOST_PAGE_SIZE NBPG
23#define HOST_SEGMENT_SIZE NBPG /* Data seg start addr rounds to NBPG */
24#define HOST_MACHINE_ARCH bfd_arch_m68k
25/* #define HOST_MACHINE_MACHINE */
26
27#define HOST_TEXT_START_ADDR UTEXTSEG
28#define HOST_DATA_START_ADDR UDATASEG
29#define HOST_STACK_END_ADDR KSTAKSEG
30
31/* EXACT TYPES */
32typedef char int8e_type;
33typedef unsigned char uint8e_type;
34typedef short int16e_type;
35typedef unsigned short uint16e_type;
36typedef int int32e_type;
37typedef unsigned int uint32e_type;
38
39/* CORRECT SIZE OR GREATER */
40typedef char int8_type;
41typedef unsigned char uint8_type;
42typedef short int16_type;
43typedef unsigned short uint16_type;
44typedef int int32_type;
45typedef unsigned int uint32_type;
46#include "fopen-same.h"
This page took 0.101617 seconds and 4 git commands to generate.