mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
Update.
2000-07-18 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h: Define RETURN_ADDRESS macro. * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of __builtin_return_address. * dlfcn/dlopenold.c: Likewise. * dlfcn/dlsym.c: Likewise. * dlfcn/dlvsym.c: Likewise. * elf/dl-profstub.c: Likewise. * malloc/malloc.c: Likewise. * sysdeps/generic/machine-gmon.h: Likewise. Based on a patch by schwidefsky@de.ibm.com.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@@ -1,3 +1,16 @@
|
|||||||
|
2000-07-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* include/libc-symbols.h: Define RETURN_ADDRESS macro.
|
||||||
|
* dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
|
||||||
|
__builtin_return_address.
|
||||||
|
* dlfcn/dlopenold.c: Likewise.
|
||||||
|
* dlfcn/dlsym.c: Likewise.
|
||||||
|
* dlfcn/dlvsym.c: Likewise.
|
||||||
|
* elf/dl-profstub.c: Likewise.
|
||||||
|
* malloc/malloc.c: Likewise.
|
||||||
|
* sysdeps/generic/machine-gmon.h: Likewise.
|
||||||
|
Based on a patch by schwidefsky@de.ibm.com.
|
||||||
|
|
||||||
2000-07-18 Andreas Jaeger <aj@suse.de>
|
2000-07-18 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
|
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
|
||||||
|
|
||||||
|
* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Changed
|
||||||
|
__compare_and_swap to compare_and_swap in code which assumes
|
||||||
|
compare swap is available.
|
||||||
|
|
||||||
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
|
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
|
||||||
|
|
||||||
* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Fixed
|
* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Fixed
|
||||||
|
@@ -417,8 +417,7 @@ void __pthread_alt_lock(struct _pthread_fastlock * lock,
|
|||||||
/* Make sure the store in wait_node.next completes before performing
|
/* Make sure the store in wait_node.next completes before performing
|
||||||
the compare-and-swap */
|
the compare-and-swap */
|
||||||
MEMORY_BARRIER();
|
MEMORY_BARRIER();
|
||||||
} while(! compare_and_swap(&lock->__status, oldstatus, newstatus,
|
} while(! __compare_and_swap(&lock->__status, oldstatus, newstatus));
|
||||||
&lock->__spinlock));
|
|
||||||
|
|
||||||
/* Suspend. Note that unlike in __pthread_lock, we don't worry
|
/* Suspend. Note that unlike in __pthread_lock, we don't worry
|
||||||
here about spurious wakeup. That's because this lock is not
|
here about spurious wakeup. That's because this lock is not
|
||||||
@@ -487,8 +486,7 @@ int __pthread_alt_timedlock(struct _pthread_fastlock * lock,
|
|||||||
/* Make sure the store in wait_node.next completes before performing
|
/* Make sure the store in wait_node.next completes before performing
|
||||||
the compare-and-swap */
|
the compare-and-swap */
|
||||||
MEMORY_BARRIER();
|
MEMORY_BARRIER();
|
||||||
} while(! compare_and_swap(&lock->__status, oldstatus, newstatus,
|
} while(! __compare_and_swap(&lock->__status, oldstatus, newstatus));
|
||||||
&lock->__spinlock));
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
|
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
|
||||||
|
Reference in New Issue
Block a user