From 60846403e18b0fdb8740603b177a97c847feb8e3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 26 Jul 2009 14:25:08 -0400 Subject: enable sbrk() for everyone The sbrk() function can be used to merely query sizes and for that, no-mmu works the same as mmu. It can also sometimes increase data segments on no-mmu systems provided the trailing memory is free. So, there is no real reason to exclude this function for no-mmu ports. Signed-off-by: Mike Frysinger --- extra/Configs/Config.in.arch | 5 ----- libc/sysdeps/linux/common/Makefile.in | 4 ---- 2 files changed, 9 deletions(-) diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index bed050be9..76ab0022f 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -200,11 +200,6 @@ config UCLIBC_UCLINUX_BROKEN_MUNMAP depends on !ARCH_USE_MMU default y -config EXCLUDE_BRK - bool - depends on !ARCH_USE_MMU - default y - config HAVE_DOT_CONFIG bool default y diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index 5ca3b2c3e..fbb57298e 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -10,10 +10,6 @@ COMMON_OUT := $(top_builddir)libc/sysdeps/linux/common CSRC := $(notdir $(wildcard $(COMMON_DIR)/*.c)) -ifeq ($(EXCLUDE_BRK),y) -CSRC := $(filter-out sbrk.c,$(CSRC)) -endif - ifneq ($(UCLIBC_HAS_LFS),y) CSRC_LFS := $(notdir $(wildcard $(COMMON_DIR)/*64.c)) CSRC := $(filter-out llseek.c $(CSRC_LFS),$(CSRC)) -- cgit v1.2.3