comparison src/s/gnu.h @ 108459:1d1025faed5f

Merge from mainline.
author Katsumi Yamaoka <katsumi@flagship2>
date Wed, 05 May 2010 10:17:53 +0000
parents 06c34f190db1
children bfec7501a1f0
comparison
equal deleted inserted replaced
108458:30b11e5df204 108459:1d1025faed5f
42 42
43 /* GNU needs its own crt0, and libc defines data_start. */ 43 /* GNU needs its own crt0, and libc defines data_start. */
44 #define ORDINARY_LINK 44 #define ORDINARY_LINK
45 #define DATA_START ({ extern int data_start; (char *) &data_start; }) 45 #define DATA_START ({ extern int data_start; (char *) &data_start; })
46 46
47 #define START_FILES
48
47 /* Some losing code fails to include this and then assumes 49 /* Some losing code fails to include this and then assumes
48 that because it is braindead that O_RDONLY==0. */ 50 that because it is braindead that O_RDONLY==0. */
49 #ifndef NOT_C_CODE 51 #ifndef NOT_C_CODE
50 #include <fcntl.h> 52 #include <fcntl.h>
51 #endif 53 #endif