diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-26 14:25:08 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-26 14:25:08 -0400 |
commit | 60846403e18b0fdb8740603b177a97c847feb8e3 (patch) | |
tree | c22d7b0510eed7dd3452c3fe5551621c190b6e5b | |
parent | f9d23f95247e391a4c0272ee5b0ab28137397107 (diff) |
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 <vapier@gentoo.org>
-rw-r--r-- | extra/Configs/Config.in.arch | 5 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/Makefile.in | 4 |
2 files changed, 0 insertions, 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)) |