]> git.eshelyaron.com Git - emacs.git/commitdiff
* s/darwin.h (DATA_END):
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 23 Jul 2008 06:34:41 +0000 (06:34 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 23 Jul 2008 06:34:41 +0000 (06:34 +0000)
* 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.

src/ChangeLog
src/emacs.c
src/m/alpha.h
src/m/ibmrs6000.h
src/m/intel386.h
src/s/darwin.h

index 191fa4bfa072fab7dbd903233a9bb84a00f42898..ea6ce58ec94430e1e17eaea64320a34cc59725b2 100644 (file)
@@ -1,5 +1,12 @@
 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * 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.
+
        * config.in: Regenerate.
        * s/ms-w32.h (subprocesses): Define unconditionally.
        * s/template.h (subprocesses): Update comment.
index 35b2fada91f503de42eeef797d887e034a487f40..b84f137be8d767f7259fc88830ccc1c35eb53d7f 100644 (file)
@@ -827,7 +827,7 @@ main (argc, argv
       heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static);
     }
 
-#ifdef LINUX_SBRK_BUG
+#if (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6
   __sbrk (1);
 #endif
 
index cd023dd1e2092b51ce133900592e3d5921a9356a..729b0ddd33dfb966fdcb3571a4af5eca2d19dfdf 100644 (file)
@@ -113,11 +113,6 @@ NOTE-END
 
 #endif /* __ELF__ */
 
-#if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6
-/* This controls a conditional in main.  */
-#define LINUX_SBRK_BUG
-#endif
-
 /* On the Alpha it's best to avoid including TERMIO since struct
    termio and struct termios are mutually incompatible.  */
 #define NO_TERMIO
@@ -126,7 +121,6 @@ NOTE-END
 # define TEXT_END ({ extern int _etext; &_etext; })
 # ifndef __ELF__
 #  define COFF
-#  define DATA_END ({ extern int _EDATA; &_EDATA; })
 # endif /* notdef __ELF__ */
 #endif
 
index 37e1af3d41bc88ec7afbed0ad1a082f44fcd6ff4..90fd21b5cd15c97527861719ca3e80fc5d296ce5 100644 (file)
@@ -48,7 +48,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define TEXT_START 0x10000000
 #define TEXT_END 0
 #define DATA_START 0x20000000
-#define DATA_END 0
 #define WORDS_BIG_ENDIAN
 #define DATA_SEG_BITS 0x20000000
 #define C_SWITCH_MACHINE -D_BSD
index 27408fb0b49e7fd245acd72243e8d7b485bb1224..42a3e43c3fbe4026895534b8e478bbb312859a07 100644 (file)
@@ -95,7 +95,6 @@ NOTE-END */
 
 #ifdef WINDOWSNT
 #define VIRT_ADDR_VARIES
-#define DATA_END       get_data_end ()
 #define DATA_START     get_data_start ()
 #define NO_ARG_ARRAY
 #endif
index 548b2da84fd7439bfd45f0486fe0790921dc4d11..2d298aeb743881fa03ba95c1bcfcde89d3a3bab3 100644 (file)
@@ -159,9 +159,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 /* This seems to be right for end_of_text, but it may not be used anyway.  */
 #define TEXT_END get_etext()
 
-/* This seems to be right for end_of_data, but it may not be used anyway.  */
-#define DATA_END get_edata()
-
 /* Definitions for how to compile & link.  */
 
 /* Link in the Carbon or AppKit lib. */