From 7afab53d438e9fdc3060c20cf855235aa5ef6f49 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 31 Aug 1998 17:23:45 +0000 Subject: Update. 1998-08-31 Ulrich Drepper * 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]. --- linuxthreads/sysdeps/i386/pt-machine.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'linuxthreads/sysdeps/i386/pt-machine.h') 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; } -- cgit 1.4.1