11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
16 #include <machine/param.h>
17 #include <machine/vmparam.h>
18 #define HOST_PAGE_SIZE NBPG
19 /* #define HOST_SEGMENT_SIZE NBPG -- we use HOST_DATA_START_ADDR */
20 #define HOST_MACHINE_ARCH bfd_arch_mips
21 /* #define HOST_MACHINE_MACHINE */
23 #define HOST_TEXT_START_ADDR USRTEXT
24 #define HOST_DATA_START_ADDR USRDATA
25 #define HOST_STACK_END_ADDR USRSTACK
26 /* Macros for the 'type' part of an fopen, freopen or fdopen.
27 <Read|Write>[Update]<Binary file><text file>
32 #define FOPEN_RUB "r+"
33 #define FOPEN_WUB "w+"
34 #define FOPEN_AUB "a+"
38 #define FOPEN_RUT "r+"
39 #define FOPEN_WUT "w+"
40 #define FOPEN_AUT "a+"
44 typedef char int8e_type
;
45 typedef unsigned char uint8e_type
;
46 typedef short int16e_type
;
47 typedef unsigned short uint16e_type
;
48 typedef int int32e_type
;
49 typedef unsigned int uint32e_type
;
51 /* CORRECT SIZE OR GREATER */
52 typedef char int8_type
;
53 typedef unsigned char uint8_type
;
54 typedef short int16_type
;
55 typedef unsigned short uint16_type
;
56 typedef int int32_type
;
57 typedef unsigned int uint32_type
;
61 extern char *getenv();
This page took 0.03116 seconds and 5 git commands to generate.