From: Ulrich Drepper Date: Fri, 20 Feb 2004 20:32:36 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~18267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1be3130ed2256a78aa05696ee23821944856dbaf;p=external%2Fglibc.git Update. 2004-02-19 Jakub Jelinek * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated for .gnu.linkonce.b.__sparc32_atomic_locks section. (__sparc32_atomic_locks): Add __sec_comment at the end of section name. --- diff --git a/ChangeLog b/ChangeLog index 51bc68b..1fe4098 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,12 @@ * sysdeps/ia64/dl-sysdep.h: New file. * sysdeps/sparc/dl-sysdep.h: New file. +2004-02-19 Jakub Jelinek + + * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated + for .gnu.linkonce.b.__sparc32_atomic_locks section. + (__sparc32_atomic_locks): Add __sec_comment at the end of section name. + 2004-02-19 Steven Munroe * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index a6a8b49..e68511f 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,5 +1,10 @@ 2004-02-20 Jakub Jelinek + * Makefile (generated): Remove tst-stack1.mtrace and tst-stack1-mem. + (tests): Remove $(objpfx)tst-stack1-mem. + (tst-stack1-ENV): Remove. + ($(objpfx)tst-stack1-mem): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h (__syscall_error_handler2): Call CDISABLE. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index 2014400..67a6380 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -116,8 +116,6 @@ 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 @@ -144,15 +142,6 @@ 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) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 35ea6b2..61e57e6 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,10 @@ 2004-02-20 Jakub Jelinek + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h + (__syscall_error_handler2): Call CDISABLE. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h + (__syscall_error_handler2): Call CDISABLE. + * sysdeps/pthread/pthread_barrier_wait.c (pthread_barrier_wait): Release lock before the loop, don't reacquire it. * DESIGN-barrier.txt: Likewise. diff --git a/sysdeps/sparc/sparc32/bits/atomic.h b/sysdeps/sparc/sparc32/bits/atomic.h index 00d7993..736372a 100644 --- a/sysdeps/sparc/sparc32/bits/atomic.h +++ b/sysdeps/sparc/sparc32/bits/atomic.h @@ -1,5 +1,5 @@ /* Atomic operations. sparc32 version. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek , 2003. @@ -26,8 +26,12 @@ per library and assumes no variable will be accessed using atomic.h macros from two different libraries. */ +__make_section_unallocated + (".gnu.linkonce.b.__sparc32_atomic_locks, \"aw\", %nobits"); + volatile unsigned char __sparc32_atomic_locks[64] - __attribute__ ((nocommon, section (".gnu.linkonce.b.__sparc32_atomic_locks"), + __attribute__ ((nocommon, section (".gnu.linkonce.b.__sparc32_atomic_locks" + __sec_comment), visibility ("hidden"))); #define __sparc32_atomic_do_lock(addr) \