about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-20 20:32:36 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-20 20:32:36 +0000
commit1be3130ed2256a78aa05696ee23821944856dbaf (patch)
treecdc55eb07f7a29034bbc21d5d32d00828ebbec5d
parent8ba5025aa10674d7b2d845fefe88c2c05aed5bb5 (diff)
downloadglibc-1be3130ed2256a78aa05696ee23821944856dbaf.tar.gz
glibc-1be3130ed2256a78aa05696ee23821944856dbaf.tar.xz
glibc-1be3130ed2256a78aa05696ee23821944856dbaf.zip
Update.
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.
-rw-r--r--ChangeLog6
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/Makefile11
-rw-r--r--nptl/ChangeLog5
-rw-r--r--sysdeps/sparc/sparc32/bits/atomic.h8
5 files changed, 22 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 51bc68b1dc..1fe409850d 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  <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):
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index a6a8b49cd9..e68511f228 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 201440076f..67a6380731 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 35ea6b2c3d..61e57e607a 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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.
diff --git a/sysdeps/sparc/sparc32/bits/atomic.h b/sysdeps/sparc/sparc32/bits/atomic.h
index 00d799392b..736372a3d4 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 <jakub@redhat.com>, 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) \