Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4a00783e
Commit
4a00783e
authored
Jul 08, 2008
by
Glenn Morris
Browse files
Use __sparc__ rather than sparc. (Bug#507.)
parent
a6f75881
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
src/ChangeLog
src/ChangeLog
+5
-0
src/alloc.c
src/alloc.c
+1
-1
src/ecrt0.c
src/ecrt0.c
+2
-2
src/m/sparc.h
src/m/sparc.h
+3
-3
No files found.
src/ChangeLog
View file @
4a00783e
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.
...
...
src/alloc.c
View file @
4a00783e
...
...
@@ -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
...
...
src/ecrt0.c
View file @
4a00783e
...
...
@@ -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
;
...
...
src/m/sparc.h
View file @
4a00783e
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment