mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
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.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user