[uClibc-cvs] uClibc/libc/stdlib Makefile, 1.54, 1.55 calloc.c, 1.1, NONE

Erik Andersen andersen at uclibc.org
Tue Dec 30 10:40:50 UTC 2003


Update of /var/cvs/uClibc/libc/stdlib
In directory nail:/tmp/cvs-serv5823/libc/stdlib

Modified Files:
	Makefile 
Removed Files:
	calloc.c 
Log Message:
Rework malloc.  The new default implementation is based on dlmalloc from Doug
Lea.  It is about 2x faster than the old malloc-930716, and behave itself much
better -- it will properly release memory back to the system, and it uses a
combination of brk() for small allocations and mmap() for larger allocations.
 -Erik


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/stdlib/Makefile,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- Makefile	18 Oct 2003 10:19:24 -0000	1.54
+++ Makefile	30 Dec 2003 10:40:48 -0000	1.55
@@ -28,8 +28,11 @@
 ifeq ($(MALLOC),y)
     DIRS+=malloc
 endif
-ifeq ($(MALLOC_930716),y)
-    DIRS+=malloc-930716
+ifeq ($(MALLOC_SIMPLE),y)
+    DIRS+=malloc-simple
+endif
+ifeq ($(MALLOC_STANDARD),y)
+    DIRS+=malloc-standard
 endif
 
 
@@ -83,7 +86,7 @@
 	ptsname.c grantpt.c unlockpt.c gcvt.c drand48-iter.c jrand48.c \
 	jrand48_r.c lrand48.c lrand48_r.c mrand48.c mrand48_r.c nrand48.c \
 	nrand48_r.c rand_r.c srand48.c srand48_r.c seed48.c seed48_r.c \
-	calloc.c valloc.c
+	valloc.c
 ifeq ($(UCLIBC_HAS_FLOATS),y)
 	CSRC += drand48.c drand48_r.c erand48.c erand48_r.c
 endif

--- calloc.c DELETED ---




More information about the uClibc-cvs mailing list