Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 452:3d3049ae1304 r21-2-41
Import from CVS: tag r21-2-41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:40:21 +0200 |
parents | 576fb035e263 |
children | 223736d75acb |
comparison
equal
deleted
inserted
replaced
451:8ad70c5cd5d7 | 452:3d3049ae1304 |
---|---|
2202 start_of_data (void) | 2202 start_of_data (void) |
2203 { | 2203 { |
2204 #ifdef DATA_START | 2204 #ifdef DATA_START |
2205 return ((char *) DATA_START); | 2205 return ((char *) DATA_START); |
2206 #else | 2206 #else |
2207 #ifdef ORDINARY_LINK | 2207 #if defined (ORDINARY_LINK) || defined(PDUMP) |
2208 /* | 2208 /* |
2209 * This is a hack. Since we're not linking crt0.c or pre_crt0.c, | 2209 * This is a hack. Since we're not linking crt0.c or pre_crt0.c, |
2210 * data_start isn't defined. We take the address of environ, which | 2210 * data_start isn't defined. We take the address of environ, which |
2211 * is known to live at or near the start of the system crt0.c, and | 2211 * is known to live at or near the start of the system crt0.c, and |
2212 * we don't sweat the handful of bytes that might lose. | 2212 * we don't sweat the handful of bytes that might lose. |