summary refs log tree commit diff
path: root/linuxthreads/sysdeps/sparc/sparc64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-29 10:56:31 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-29 10:56:31 +0000
commit2c68584cdd5fdd2ff82292a47410a8602c7c35b5 (patch)
tree0021026d6ae9ad18006ce72f75f8929846e9415f /linuxthreads/sysdeps/sparc/sparc64
parentc4563d2d668675c2d5083f6ad01c801d6ccbe013 (diff)
downloadglibc-2c68584cdd5fdd2ff82292a47410a8602c7c35b5.tar.gz
glibc-2c68584cdd5fdd2ff82292a47410a8602c7c35b5.tar.xz
glibc-2c68584cdd5fdd2ff82292a47410a8602c7c35b5.zip
Update.
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
Diffstat (limited to 'linuxthreads/sysdeps/sparc/sparc64')
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/pt-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
index c4489b3d82..101b85516a 100644
--- a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
+++ b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
@@ -1,6 +1,6 @@
 /* Machine-dependent pthreads configuration and inline functions.
    Sparc v9 version.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson <rth@tamu.edu>.
 
@@ -63,9 +63,9 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
 {
   long int readval;
 
-  __asm__ __volatile__ ("cas %1, %2, %0"
+  __asm__ __volatile__ ("cas	[%4], %2, %0"
 			: "=r"(readval), "=m"(*p)
-			: "r"(oldval), "m"(*p), "0"(newval));
+			: "r"(oldval), "m"(*p), "r"(p), "0"(newval));
 
   return readval == newval;
 }