aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2015-01-10 13:35:33 -0800
committerPaul Eggert2015-01-10 13:42:34 -0800
commit288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66 (patch)
tree1197aa1287f43c24c3395ad16b8082c0bd5057d0 /lib-src
parent29eaf3c8a8c7b22e34a6183fec5343d82762f590 (diff)
downloademacs-288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66.tar.gz
emacs-288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66.zip
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.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/make-docfile.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 9a1fc7a3e9f..ec4d16aaabe 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,10 @@
12015-01-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Port to 32-bit Sun C 5.12 sparc
4 * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
5 The alignment is required on all platforms; it just happens to have
6 been properly aligned on the previous platforms we tested.
7
12015-01-05 Paul Eggert <eggert@cs.ucla.edu> 82015-01-05 Paul Eggert <eggert@cs.ucla.edu>
2 9
3 Use 0 for Qnil 10 Use 0 for Qnil
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 22c4bad2e3f..7c5c4bcb865 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -635,7 +635,7 @@ close_emacs_globals (int num_symbols)
635 "#ifndef DEFINE_SYMBOLS\n" 635 "#ifndef DEFINE_SYMBOLS\n"
636 "extern\n" 636 "extern\n"
637 "#endif\n" 637 "#endif\n"
638 "struct Lisp_Symbol lispsym[%d];\n"), 638 "struct Lisp_Symbol alignas (GCALIGNMENT) lispsym[%d];\n"),
639 num_symbols); 639 num_symbols);
640} 640}
641 641