comparison src/s/gnu.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 43dd3413c7c7
children 85ec50267440
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
47 /* GNU needs its own crt0, and libc defines data_start. */ 47 /* GNU needs its own crt0, and libc defines data_start. */
48 #define ORDINARY_LINK 48 #define ORDINARY_LINK
49 #define DATA_START ({ extern int data_start; (char *) &data_start; }) 49 #define DATA_START ({ extern int data_start; (char *) &data_start; })
50 50
51 /* GNU now always uses the ELF format. */ 51 /* GNU now always uses the ELF format. */
52 #define UNEXEC unexelf.o 52 #define UNEXEC "unexelf.o"
53 53
54 /* Some losing code fails to include this and then assumes 54 /* Some losing code fails to include this and then assumes
55 that because it is braindead that O_RDONLY==0. */ 55 that because it is braindead that O_RDONLY==0. */
56 #ifndef NOT_C_CODE 56 #ifndef NOT_C_CODE
57 #include <fcntl.h> 57 #include <fcntl.h>