14 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
20 #include <machine/machparam.h>
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 */
27 #define HOST_TEXT_START_ADDR 0
28 #define HOST_STACK_END_ADDR 0xfff00000
31 typedef char int8e_type;
32 typedef unsigned char uint8e_type;
33 typedef short int16e_type;
34 typedef unsigned short uint16e_type;
35 typedef int int32e_type;
36 typedef unsigned int uint32e_type;
38 /* CORRECT SIZE OR GREATER */
39 typedef char int8_type;
40 typedef unsigned char uint8_type;
41 typedef short int16_type;
42 typedef unsigned short uint16_type;
43 typedef int int32_type;
44 typedef unsigned int uint32_type;
45 /* Macros for the 'type' part of an fopen, freopen or fdopen.
46 <Read|Write>[Update]<Binary file><text file>
51 #define FOPEN_RUB "r+"
52 #define FOPEN_WUB "w+"
53 #define FOPEN_AUB "a+"
57 #define FOPEN_RUT "r+"
58 #define FOPEN_WUT "w+"
59 #define FOPEN_AUT "a+"