# HG changeset patch # User Dan Nicolaescu # Date 1269072719 25200 # Node ID 6856772abdfede88655ed67403ae8ffbc48411f5 # Parent 7ada44edb67ca1341433e98e828f1d481497ec3f 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. diff -r 7ada44edb67c -r 6856772abdfe src/ChangeLog --- 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 + 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) diff -r 7ada44edb67c -r 6856772abdfe src/emacs.c --- 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]); diff -r 7ada44edb67c -r 6856772abdfe src/m/alpha.h --- 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