Update for the latest uClibc
authorEric Andersen <andersen@codepoet.org>
Tue, 30 Dec 2003 11:25:21 +0000 (11:25 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 30 Dec 2003 11:25:21 +0000 (11:25 -0000)
sources/ltp-testsuite.patch
sources/uClibc.config

index 71eee0d1fd8c7331e31cccef0475d1d2d0f86e17..63ed7e600f7be4237532ec653eee9ed23f0bda36 100644 (file)
@@ -9,17 +9,20 @@
  
  all: $(TARGETS)
  
---- ltp-full-20031002/testcases/kernel/syscalls/mallopt/Makefile.orig  2003-10-02 19:20:52.000000000 -0600
-+++ ltp-full-20031002/testcases/kernel/syscalls/mallopt/Makefile       2003-10-02 19:21:07.000000000 -0600
-@@ -23,7 +23,7 @@
- LOADLIBES+=   -L../../../../lib -lltp 
- SRCS=$(wildcard *.c)
--TARGETS=$(patsubst %.c,%,$(SRCS))
-+TARGETS=#$(patsubst %.c,%,$(SRCS))
- all: $(TARGETS)
+--- ltp-full-20031204/testcases/kernel/syscalls/mallopt/mallopt01.orig.c
++++ ltp-full-20031204/testcases/kernel/syscalls/mallopt/mallopt01.c
+@@ -85,11 +85,6 @@
+               flag = 1;
+               local_flag = FAILED;
+       };
+-      if (info.usmblks != 0) {
+-              fprintf(temp, "mallinfo failed: usmblks != 0\n");
+-              flag = 1;
+-              local_flag = FAILED;
+-      }
+       if (info.smblks != 0) {
+               fprintf(temp, "mallinfo failed: smblks != 0\n");
+               flag = 1;
 --- ltp-full-20031002/testcases/kernel/syscalls/profil/Makefile.orig   2003-10-02 19:27:53.000000000 -0600
 +++ ltp-full-20031002/testcases/kernel/syscalls/profil/Makefile        2003-10-02 19:28:02.000000000 -0600
 @@ -23,7 +23,7 @@
index 33a346f66b26376a86995dc88328994a54c4fbfd..ac47a738100253d8c03e05d6220fc8f6334b4377 100644 (file)
@@ -45,7 +45,8 @@ UCLIBC_HAS_THREADS=y
 PTHREADS_DEBUG_SUPPORT=y
 UCLIBC_HAS_LFS=y
 # MALLOC is not set
-MALLOC_930716=y
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
 MALLOC_GLIBC_COMPAT=y
 UCLIBC_DYNAMIC_ATEXIT=y
 HAS_SHADOW=y