aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/Makefile.in9
-rw-r--r--src/s/gnu-linux.h5
-rw-r--r--src/s/gnu.h10
4 files changed, 13 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bb5d7e6d427..fd0c3e014c9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12010-05-18 Glenn Morris <rgm@gnu.org> 12010-05-18 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (RALLOC_OBJ): New, set by configure.
4 (rallocobj): Replace with the previous variable.
5 (otherobj): Use $RALLOC_OBJ.
6
7 * s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
8 * s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.
9
3 * Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure. 10 * Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
4 (gmallocobj, vmlimitobj): Replace with previous two variables. 11 (gmallocobj, vmlimitobj): Replace with previous two variables.
5 (otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ. 12 (otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.
diff --git a/src/Makefile.in b/src/Makefile.in
index ff3726df6f8..6ed6e97b420 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -407,11 +407,8 @@ GMALLOC_OBJ=@GMALLOC_OBJ@
407/* vm-limit.o if !SYSTEM_MALLOC, else empty. */ 407/* vm-limit.o if !SYSTEM_MALLOC, else empty. */
408VMLIMIT_OBJ=@VMLIMIT_OBJ@ 408VMLIMIT_OBJ=@VMLIMIT_OBJ@
409 409
410#if defined (REL_ALLOC) && ! defined (SYSTEM_MALLOC) 410/* ralloc.o if !SYSTEM_MALLOC && REL_ALLOC, else empty. */
411rallocobj = ralloc.o 411RALLOC_OBJ=@RALLOC_OBJ@
412#else
413rallocobj =
414#endif
415 412
416/* Empty on Cygwin, lastfile.o elsewhere. */ 413/* Empty on Cygwin, lastfile.o elsewhere. */
417PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ 414PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
@@ -419,7 +416,7 @@ PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
419POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ 416POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
420 417
421/* List of object files that make-docfile should not be told about. */ 418/* List of object files that make-docfile should not be told about. */
422otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(rallocobj) \ 419otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \
423 $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) 420 $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
424 421
425/* This is the platform-specific list of Lisp files loaded into the 422/* This is the platform-specific list of Lisp files loaded into the
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 3aa2dc16f42..c062f855276 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -147,11 +147,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
147 147
148#define NARROWPROTO 1 148#define NARROWPROTO 1
149 149
150/* Use mmap directly for allocating larger buffers. */
151#ifdef DOUG_LEA_MALLOC
152#undef REL_ALLOC
153#endif
154
155/* Tell that garbage collector that setjmp is known to save all 150/* Tell that garbage collector that setjmp is known to save all
156 registers relevant for conservative garbage collection in the jmp_buf. */ 151 registers relevant for conservative garbage collection in the jmp_buf. */
157/* Not all the architectures are tested, but there are Debian packages 152/* Not all the architectures are tested, but there are Debian packages
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 9f6fe52a5de..cb4c4a9d807 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -1,6 +1,7 @@
1/* Definitions file for GNU Emacs running on the GNU Hurd. 1/* Definitions file for GNU Emacs running on the GNU Hurd.
2 Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2
3 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008, 2009, 2010 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -28,11 +29,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 29
29#define SIGNALS_VIA_CHARACTERS 30#define SIGNALS_VIA_CHARACTERS
30 31
31/* Use mmap directly for allocating larger buffers. */
32#ifdef DOUG_LEA_MALLOC
33#undef REL_ALLOC
34#endif
35
36/* GNU needs its own crt0, and libc defines data_start. */ 32/* GNU needs its own crt0, and libc defines data_start. */
37#define ORDINARY_LINK 33#define ORDINARY_LINK
38#define DATA_START ({ extern int data_start; (char *) &data_start; }) 34#define DATA_START ({ extern int data_start; (char *) &data_start; })