diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-17 23:52:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-17 23:52:56 +0000 |
commit | e796f92f68585f61412f569e4b4f49b5e21d80df (patch) | |
tree | b3cb5d9bf8e91e54d6d443330b2bad65ac867580 /linuxthreads/Makefile | |
parent | 0278652840d0b09297986baee97ab46c136f304c (diff) | |
download | glibc-e796f92f68585f61412f569e4b4f49b5e21d80df.tar.gz glibc-e796f92f68585f61412f569e4b4f49b5e21d80df.tar.xz glibc-e796f92f68585f61412f569e4b4f49b5e21d80df.zip |
Update.
2003-12-17 Jakub Jelinek <jakub@redhat.com> * malloc/mtrace.c (tr_old_memalign_hook): New variable. (tr_memalignhook): New function. (mtrace): Register tr_memalignhook. (muntrace): Deregister tr_memalignhook. * malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL, call it directly instead of memalign_internal. 2003-12-17 Ulrich Drepper <drepper@redhat.com> * misc/mntent_r.c: Change encoding to match recently change decoder. Patch by Alexander Achenbach <xela@slit.de>. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of vrregset_t. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extent conditional to include typedef elf_vrreg_t. 2002-12-17 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (re_search_internal): Limit search to the beginning of the buffer if the initial states are empty for contexts that do not include CONTEXT_BEGBUF or, if !preg->newline_anchor, that do not include any one of CONTEXT_BEGBUF and CONTEXT_NEWLINE.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r-- | linuxthreads/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index f3a9c02e5f..df7367b2b3 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -109,11 +109,14 @@ tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 $(librt-tests) ex12 ex13 joinrace \ tststack $(tests-nodelete-$(have-z-nodelete)) ecmutex ex14 ex15 ex16 \ ex17 ex18 tst-cancel tst-context bug-sleep \ tst-cancel1 tst-cancel2 tst-cancel3 tst-cancel4 tst-cancel5 \ - tst-cancel6 tst-cancel7 tst-cancel8 tst-popen tst-popen2 tst-attr1 + tst-cancel6 tst-cancel7 tst-cancel8 tst-popen tst-popen2 tst-attr1 \ + tst-stack1 test-srcs = tst-signal # These tests are linked with libc before libpthread tests-reverse += tst-cancel5 +generated += tst-stack1.mtrace tst-stack1-mem + ifeq ($(build-static),yes) tests += tststatic tst-static-locale tst-cancel-static tests-static += tststatic tst-static-locale tst-cancel-static @@ -139,6 +142,15 @@ tst-tls1modd.so-no-z-defs = yes tst-tls1mode.so-no-z-defs = yes tst-tls1modf.so-no-z-defs = yes +tests: $(objpfx)tst-stack1-mem +tst-stack1-ENV = MALLOC_TRACE=$(objpfx)tst-stack1.mtrace + +# There are still up to 3 objects unfreed: +# manager thread's stack, tls block and dtv +$(objpfx)tst-stack1-mem: $(objpfx)tst-stack1.out + $(common-objpfx)malloc/mtrace $(objpfx)tst-stack1.mtrace > $@ \ + || [ `grep ^0 $@ | wc -l` -le 3 ] + $(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds $(build-module) |