diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-31 17:23:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-31 17:23:45 +0000 |
commit | 7afab53d438e9fdc3060c20cf855235aa5ef6f49 (patch) | |
tree | 2e6dcf9891303ea88e048c86faab6c4a1377a9e8 /linuxthreads/sysdeps/i386/pt-machine.h | |
parent | bfce746a87e205a682b85e144e056029a8a30d07 (diff) | |
download | glibc-7afab53d438e9fdc3060c20cf855235aa5ef6f49.tar.gz glibc-7afab53d438e9fdc3060c20cf855235aa5ef6f49.tar.xz glibc-7afab53d438e9fdc3060c20cf855235aa5ef6f49.zip |
Update.
1998-08-31 Ulrich Drepper <drepper@cygnus.com> * elf/dl-close.c (_dl_close): Update _dl_loaded if the first object on the list is removed. Don't use this code for PIC. Reported by HJ Lu [PR libc/770].
Diffstat (limited to 'linuxthreads/sysdeps/i386/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/i386/pt-machine.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h index 6723c80bda..7ed90b7553 100644 --- a/linuxthreads/sysdeps/i386/pt-machine.h +++ b/linuxthreads/sysdeps/i386/pt-machine.h @@ -26,9 +26,11 @@ testandset (int *spinlock) { int ret; - __asm__ __volatile__("xchgl %0, %1" - : "=r"(ret), "=m"(*spinlock) - : "0"(1), "m"(*spinlock)); + __asm__ __volatile__( + "xchgl %0, %1" + : "=r"(ret), "=m"(*spinlock) + : "0"(1), "m"(*spinlock) + : "memory"); return ret; } |