aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/make-docfile.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index ec4d16aaabe..740359605fd 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,10 @@
12015-01-10 Paul Eggert <eggert@cs.ucla.edu> 12015-01-10 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Port to 32-bit --with-wide-int
4 * make-docfile.c (write_globals): Define and use symbols like
5 iQnil (a small integer, like 0) rather than aQnil (an address
6 constant).
7
3 Port to 32-bit Sun C 5.12 sparc 8 Port to 32-bit Sun C 5.12 sparc
4 * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT. 9 * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
5 The alignment is required on all platforms; it just happens to have 10 The alignment is required on all platforms; it just happens to have
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 7c5c4bcb865..bc5420ea939 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -613,7 +613,7 @@ compare_globals (const void *a, const void *b)
613 if (ga->type != gb->type) 613 if (ga->type != gb->type)
614 return ga->type - gb->type; 614 return ga->type - gb->type;
615 615
616 /* Consider "nil" to be the least, so that aQnil is firat. That 616 /* Consider "nil" to be the least, so that iQnil is zero. That
617 way, Qnil's internal representation is zero, which is a bit faster. */ 617 way, Qnil's internal representation is zero, which is a bit faster. */
618 if (ga->type == SYMBOL) 618 if (ga->type == SYMBOL)
619 { 619 {
@@ -701,9 +701,9 @@ write_globals (void)
701 } 701 }
702 else if (globals[i].type == SYMBOL) 702 else if (globals[i].type == SYMBOL)
703 printf (("DEFINE_LISP_SYMBOL_BEGIN (%s)\n" 703 printf (("DEFINE_LISP_SYMBOL_BEGIN (%s)\n"
704 "#define a%s (&lispsym[%d])\n" 704 "#define i%s %d\n"
705 "#define %s make_lisp_symbol (a%s)\n" 705 "#define %s builtin_lisp_symbol (i%s)\n"
706 "DEFINE_LISP_SYMBOL_END (a%s)\n\n"), 706 "DEFINE_LISP_SYMBOL_END (%s)\n\n"),
707 globals[i].name, globals[i].name, symnum++, 707 globals[i].name, globals[i].name, symnum++,
708 globals[i].name, globals[i].name, globals[i].name); 708 globals[i].name, globals[i].name, globals[i].name);
709 else 709 else