diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 4b31ec7897e..e783ba581e0 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -186,8 +186,11 @@ Lisp_Object Vmemory_full; | |||
| 186 | 186 | ||
| 187 | #ifndef HAVE_SHM | 187 | #ifndef HAVE_SHM |
| 188 | 188 | ||
| 189 | /* Force it into data space! Initialize it to a nonzero value; | 189 | /* Initialize it to a nonzero value to force it into data space |
| 190 | otherwise some compilers put it into BSS. */ | 190 | (rather than bss space). That way unexec will remap it into text |
| 191 | space (pure), on some systems. We have not implemented the | ||
| 192 | remapping on more recent systems because this is less important | ||
| 193 | nowadays than in the days of small memories and timesharing. */ | ||
| 191 | 194 | ||
| 192 | EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; | 195 | EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; |
| 193 | #define PUREBEG (char *) pure | 196 | #define PUREBEG (char *) pure |