about summary refs log tree commit diff
path: root/sysdeps/sparc
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 /sysdeps/sparc
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.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/bits/atomic.h8
1 files changed, 6 insertions, 2 deletions
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) \