aboutsummaryrefslogtreecommitdiffstats
path: root/src/ecrt0.c
diff options
context:
space:
mode:
authorGlenn Morris2008-07-08 07:03:07 +0000
committerGlenn Morris2008-07-08 07:03:07 +0000
commit4a00783e8e07d7487bce5041d0f9b22247268346 (patch)
tree9378fcf00ca8e0c03bb99ddb4e23a84e18fec300 /src/ecrt0.c
parenta6f75881406e540517fd96a8ad28ec997c2127fa (diff)
downloademacs-4a00783e8e07d7487bce5041d0f9b22247268346.tar.gz
emacs-4a00783e8e07d7487bce5041d0f9b22247268346.zip
Use __sparc__ rather than sparc. (Bug#507.)
Diffstat (limited to 'src/ecrt0.c')
-rw-r--r--src/ecrt0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ecrt0.c b/src/ecrt0.c
index 4c4f297c9ca..7ef066ef22f 100644
--- a/src/ecrt0.c
+++ b/src/ecrt0.c
@@ -200,7 +200,7 @@ start1 (ignore, argc, xargv)
200 200
201#endif /* not CRT0_DUMMIES */ 201#endif /* not CRT0_DUMMIES */
202 202
203#ifdef sparc 203#ifdef __sparc__
204asm (".global __start"); 204asm (".global __start");
205asm (".text"); 205asm (".text");
206asm ("__start:"); 206asm ("__start:");
@@ -218,7 +218,7 @@ asm (" sub %sp, 24, %sp");
218asm (" call __exit"); 218asm (" call __exit");
219asm (" nop"); 219asm (" nop");
220 220
221#endif /* sparc */ 221#endif /* __sparc__ */
222 222
223#if __FreeBSD__ == 2 223#if __FreeBSD__ == 2
224char *__progname; 224char *__progname;