]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove support for old GNU/Linux using libc version 5.
authorDan Nicolaescu <dann@ics.uci.edu>
Sat, 20 Mar 2010 08:11:59 +0000 (01:11 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Sat, 20 Mar 2010 08:11:59 +0000 (01:11 -0700)
* m/alpha.h (LINUX_SBRK_BUG): Remove definition.
* emacs.c (main): Remove code depending on LINUX_SBRK_BUG.

src/ChangeLog
src/emacs.c
src/m/alpha.h

index 8b652226c84af90d6eb74910810ddc69a41a3260..2eaefe41fac05898630bf6aae213a793c198637c 100644 (file)
@@ -1,5 +1,9 @@
 2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       Remove support for old GNU/Linux using libc version 5.
+       * m/alpha.h (LINUX_SBRK_BUG): Remove definition.
+       * emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
+
        Consolidate redundant definitions in s/bsd-common.h.
        * s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
        (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
index dbaae9b040b7c7005e536e9f3cdb7269434381c0..60aa14e2b78b7d575aefe6099193cbaac10376be 100644 (file)
@@ -790,11 +790,6 @@ main (int argc, char **argv)
       heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static);
     }
 
-#ifdef LINUX_SBRK_BUG
-  /* This is only used GNU/LINUX running on alpha when using libc5 */
-  __sbrk (1);
-#endif
-
 #ifdef RUN_TIME_REMAP
   if (initialized)
     run_time_remap (argv[0]);
index 5abf8bba7261e67ab5d50de8e56d4a1eaee8f9ed..065a0dd7d71935b691c4c08247d3aafa52b2e1d3 100644 (file)
@@ -116,11 +116,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