Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Feb 2004 20:32:36 +0000 (20:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Feb 2004 20:32:36 +0000 (20:32 +0000)
2004-02-19  Jakub Jelinek  <jakub@redhat.com>

* 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.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/Makefile
nptl/ChangeLog
sysdeps/sparc/sparc32/bits/atomic.h

index 51bc68b..1fe4098 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * sysdeps/ia64/dl-sysdep.h: New file.
        * sysdeps/sparc/dl-sysdep.h: New file.
 
+2004-02-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <sjmunroe@us.ibm.com>
 
        * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC):
index a6a8b49..e68511f 100644 (file)
@@ -1,5 +1,10 @@
 2004-02-20  Jakub Jelinek  <jakub@redhat.com>
 
+       * 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
index 2014400..67a6380 100644 (file)
@@ -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)
 
index 35ea6b2..61e57e6 100644 (file)
@@ -1,5 +1,10 @@
 2004-02-20  Jakub Jelinek  <jakub@redhat.com>
 
+       * 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.
index 00d7993..736372a 100644 (file)
@@ -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 <jakub@redhat.com>, 2003.
 
    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) \