Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aef88a00
Commit
aef88a00
authored
Aug 10, 2008
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use __sparc__ rather than sparc.
parent
e9251f82
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
8 deletions
+16
-8
src/ChangeLog
src/ChangeLog
+8
-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
src/unexsunos4.c
src/unexsunos4.c
+2
-2
No files found.
src/ChangeLog
View file @
aef88a00
2008-08-10 Glenn Morris <rgm@gnu.org>
Sync from trunk 2008-07-08:
* m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.)
* alloc.c, ecrt0.c: Use __sparc__ rather than sparc.
* unexsunos4.c: Use __sparc__ rather than sparc.
2008-08-08 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (move_it_to): When stopping at a charpos, check if
src/alloc.c
View file @
aef88a00
...
...
@@ -4572,7 +4572,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 @
aef88a00
...
...
@@ -582,7 +582,7 @@ _start()
#endif
/* elxsi */
#ifdef sparc
#ifdef
__
sparc
__
asm
(
".global __start"
);
asm
(
".text"
);
asm
(
"__start:"
);
...
...
@@ -600,7 +600,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 @
aef88a00
...
...
@@ -38,10 +38,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 */
...
...
src/unexsunos4.c
View file @
aef88a00
...
...
@@ -236,11 +236,11 @@ unexec (new_name, a_name, bndry, bss_start, entry)
#else
/* not SUNOS4_SHARED_LIBRARIES */
rel
=
erel
=
0
;
#endif
/* not SUNOS4_SHARED_LIBRARIES */
#ifdef sparc
#ifdef
__
sparc
__
#define REL_INFO_TYPE struct reloc_info_sparc
#else
#define REL_INFO_TYPE struct relocation_info
#endif
/* sparc */
#endif
/*
__
sparc
__
*/
#define REL_TARGET_ADDRESS(r) (((REL_INFO_TYPE *)(r))->r_address)
#endif
/* SUNOS4 */
#if defined (__FreeBSD__) || defined (__NetBSD__)
...
...
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