diff src/alloc.c @ 83207:4df500c93e1d

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-552 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-553 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-554 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-555 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-556 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-557 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-27 Use the same directory explicit id-tags as Emacs where possible * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-28 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-29 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-247
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 20 Sep 2004 09:41:18 +0000
parents b5dee7c1d483 646750cbd594
children 549734260e34
line wrap: on
line diff
--- a/src/alloc.c	Thu Sep 16 13:09:53 2004 +0000
+++ b/src/alloc.c	Mon Sep 20 09:41:18 2004 +0000
@@ -186,8 +186,11 @@
 
 #ifndef HAVE_SHM
 
-/* Force it into data space!  Initialize it to a nonzero value;
-   otherwise some compilers put it into BSS.  */
+/* Initialize it to a nonzero value to force it into data space
+   (rather than bss space).  That way unexec will remap it into text
+   space (pure), on some systems.  We have not implemented the
+   remapping on more recent systems because this is less important
+   nowadays than in the days of small memories and timesharing.  */
 
 EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,};
 #define PUREBEG (char *) pure