Commit 4a00783e authored by Glenn Morris's avatar Glenn Morris
Browse files

Use __sparc__ rather than sparc. (Bug#507.)

parent a6f75881
2008-07-08 Glenn Morris <rgm@gnu.org>
* m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.)
* alloc.c, ecrt0.c: Use __sparc__ rather than sparc.
2008-07-07 Chong Yidong <cyd@stupidchicken.com>
* frame.c (Qinhibit_face_set_after_frame_default): Var deleted.
......
......@@ -4487,7 +4487,7 @@ mark_stack ()
/* Fixme: Code in the Boehm GC suggests flushing (with `flushrs') is
needed on ia64 too. See mach_dep.c, where it also says inline
assembler doesn't work with relevant proprietary compilers. */
#ifdef sparc
#ifdef __sparc__
asm ("ta 3");
#endif
......
......@@ -200,7 +200,7 @@ start1 (ignore, argc, xargv)
#endif /* not CRT0_DUMMIES */
#ifdef sparc
#ifdef __sparc__
asm (".global __start");
asm (".text");
asm ("__start:");
......@@ -218,7 +218,7 @@ asm (" sub %sp, 24, %sp");
asm (" call __exit");
asm (" nop");
#endif /* sparc */
#endif /* __sparc__ */
#if __FreeBSD__ == 2
char *__progname;
......
......@@ -36,10 +36,10 @@ NOTE-END */
#define NO_ARG_ARRAY
/* Say this machine is a sparc */
/* Say this machine is a sparc. Probably already defined. */
#ifndef sparc
#define sparc
#ifndef __sparc__
#define __sparc__
#endif
/* Use type int rather than a union, to represent Lisp_Object */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment