changeset 107443:6856772abdfe

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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 20 Mar 2010 01:11:59 -0700
parents 7ada44edb67c
children db38deea3cef 70460abfcc9d d276e52e2247
files src/ChangeLog src/emacs.c src/m/alpha.h
diffstat 3 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Mar 20 00:57:11 2010 -0700
+++ b/src/ChangeLog	Sat Mar 20 01:11:59 2010 -0700
@@ -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)
--- a/src/emacs.c	Sat Mar 20 00:57:11 2010 -0700
+++ b/src/emacs.c	Sat Mar 20 01:11:59 2010 -0700
@@ -790,11 +790,6 @@
       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]);
--- a/src/m/alpha.h	Sat Mar 20 00:57:11 2010 -0700
+++ b/src/m/alpha.h	Sat Mar 20 01:11:59 2010 -0700
@@ -116,11 +116,6 @@
 
 #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