aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-23 06:34:41 +0000
committerDan Nicolaescu2008-07-23 06:34:41 +0000
commit911109b18b567e97e8f593a2798ead907c09004e (patch)
tree194d23e517e7999efd636a1ddc8173eae643b8b0 /src
parent77ccee0959daf0256a746fa3029cfe4da6f2b476 (diff)
downloademacs-911109b18b567e97e8f593a2798ead907c09004e.tar.gz
emacs-911109b18b567e97e8f593a2798ead907c09004e.zip
* s/darwin.h (DATA_END):
* m/intel386.h (DATA_END): * m/ibmrs6000.h (DATA_END): * m/alpha.h (DATA_END): Remove, unused. (LINUX_SBRK_BUG): Remove, move condition to the only use ... * emacs.c (main): ... here.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/emacs.c2
-rw-r--r--src/m/alpha.h6
-rw-r--r--src/m/ibmrs6000.h1
-rw-r--r--src/m/intel386.h1
-rw-r--r--src/s/darwin.h3
6 files changed, 8 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 191fa4bfa07..ea6ce58ec94 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12008-07-23 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/darwin.h (DATA_END):
4 * m/intel386.h (DATA_END):
5 * m/ibmrs6000.h (DATA_END):
6 * m/alpha.h (DATA_END): Remove, unused.
7 (LINUX_SBRK_BUG): Remove, move condition to the only use ...
8 * emacs.c (main): ... here.
9
3 * config.in: Regenerate. 10 * config.in: Regenerate.
4 * s/ms-w32.h (subprocesses): Define unconditionally. 11 * s/ms-w32.h (subprocesses): Define unconditionally.
5 * s/template.h (subprocesses): Update comment. 12 * s/template.h (subprocesses): Update comment.
diff --git a/src/emacs.c b/src/emacs.c
index 35b2fada91f..b84f137be8d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -827,7 +827,7 @@ main (argc, argv
827 heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static); 827 heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static);
828 } 828 }
829 829
830#ifdef LINUX_SBRK_BUG 830#if (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6
831 __sbrk (1); 831 __sbrk (1);
832#endif 832#endif
833 833
diff --git a/src/m/alpha.h b/src/m/alpha.h
index cd023dd1e20..729b0ddd33d 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -113,11 +113,6 @@ NOTE-END
113 113
114#endif /* __ELF__ */ 114#endif /* __ELF__ */
115 115
116#if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6
117/* This controls a conditional in main. */
118#define LINUX_SBRK_BUG
119#endif
120
121/* On the Alpha it's best to avoid including TERMIO since struct 116/* On the Alpha it's best to avoid including TERMIO since struct
122 termio and struct termios are mutually incompatible. */ 117 termio and struct termios are mutually incompatible. */
123#define NO_TERMIO 118#define NO_TERMIO
@@ -126,7 +121,6 @@ NOTE-END
126# define TEXT_END ({ extern int _etext; &_etext; }) 121# define TEXT_END ({ extern int _etext; &_etext; })
127# ifndef __ELF__ 122# ifndef __ELF__
128# define COFF 123# define COFF
129# define DATA_END ({ extern int _EDATA; &_EDATA; })
130# endif /* notdef __ELF__ */ 124# endif /* notdef __ELF__ */
131#endif 125#endif
132 126
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 37e1af3d41b..90fd21b5cd1 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -48,7 +48,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
48#define TEXT_START 0x10000000 48#define TEXT_START 0x10000000
49#define TEXT_END 0 49#define TEXT_END 0
50#define DATA_START 0x20000000 50#define DATA_START 0x20000000
51#define DATA_END 0
52#define WORDS_BIG_ENDIAN 51#define WORDS_BIG_ENDIAN
53#define DATA_SEG_BITS 0x20000000 52#define DATA_SEG_BITS 0x20000000
54#define C_SWITCH_MACHINE -D_BSD 53#define C_SWITCH_MACHINE -D_BSD
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 27408fb0b49..42a3e43c3fb 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -95,7 +95,6 @@ NOTE-END */
95 95
96#ifdef WINDOWSNT 96#ifdef WINDOWSNT
97#define VIRT_ADDR_VARIES 97#define VIRT_ADDR_VARIES
98#define DATA_END get_data_end ()
99#define DATA_START get_data_start () 98#define DATA_START get_data_start ()
100#define NO_ARG_ARRAY 99#define NO_ARG_ARRAY
101#endif 100#endif
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 548b2da84fd..2d298aeb743 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -159,9 +159,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
159/* This seems to be right for end_of_text, but it may not be used anyway. */ 159/* This seems to be right for end_of_text, but it may not be used anyway. */
160#define TEXT_END get_etext() 160#define TEXT_END get_etext()
161 161
162/* This seems to be right for end_of_data, but it may not be used anyway. */
163#define DATA_END get_edata()
164
165/* Definitions for how to compile & link. */ 162/* Definitions for how to compile & link. */
166 163
167/* Link in the Carbon or AppKit lib. */ 164/* Link in the Carbon or AppKit lib. */