Commit 288e1fd7 authored by Paul Eggert's avatar Paul Eggert

Port to 32-bit Sun C 5.12 sparc

* make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
The alignment is required on all platforms; it just happens to have
been properly aligned on the previous platforms we tested.
parent 29eaf3c8
2015-01-10 Paul Eggert <eggert@cs.ucla.edu>
Port to 32-bit Sun C 5.12 sparc
* make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
The alignment is required on all platforms; it just happens to have
been properly aligned on the previous platforms we tested.
2015-01-05 Paul Eggert <eggert@cs.ucla.edu>
Use 0 for Qnil
......
......@@ -635,7 +635,7 @@ close_emacs_globals (int num_symbols)
"#ifndef DEFINE_SYMBOLS\n"
"extern\n"
"#endif\n"
"struct Lisp_Symbol lispsym[%d];\n"),
"struct Lisp_Symbol alignas (GCALIGNMENT) lispsym[%d];\n"),
num_symbols);
}
......
......@@ -233,8 +233,8 @@ extern bool suppress_checking EXTERNALLY_VISIBLE;
USE_LSB_TAG not only requires the least 3 bits of pointers returned by
malloc to be 0 but also needs to be able to impose a mult-of-8 alignment
on the few static Lisp_Objects used: all the defsubr as well
as the two special buffers buffer_defaults and buffer_local_symbols. */
on the few static Lisp_Objects used: lispsym, all the defsubr, and
the two special buffers buffer_defaults and buffer_local_symbols. */
enum Lisp_Bits
{
......
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