[git commit] enable sbrk() for everyone
Mike Frysinger
vapier at gentoo.org
Sun Jul 26 18:25:08 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=60846403e18b0fdb8740603b177a97c847feb8e3
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 at gentoo.org>
---
extra/Configs/Config.in.arch | 5 -----
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 bed050b..76ab002 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 5ca3b2c..fbb5729 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))
--
1.6.3.3
More information about the uClibc-cvs
mailing list