about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-04 05:53:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-04 05:53:24 +0000
commit4e73e1151d457981323a7316861a2493a57dbc6c (patch)
tree0463068f1077177d19586e8251b05c6b8c26ea97 /nptl
parentecb2b2fb8aca5aacdae057257891e426d2f32b2f (diff)
downloadglibc-4e73e1151d457981323a7316861a2493a57dbc6c.tar.gz
glibc-4e73e1151d457981323a7316861a2493a57dbc6c.tar.xz
glibc-4e73e1151d457981323a7316861a2493a57dbc6c.zip
Update.
	* string/test-ffs.c: Also test ffsl and ffsll.

	* sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 860e5a4148..2475f1bb45 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
 2004-04-03  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Never use
+	matching constraints for asm mem parameters.
+
 	* tst-clock2.c (tf): Don't define unless needed.
 
 2004-03-30  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
index e107ef5975..8e3f46d534 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
@@ -93,7 +93,7 @@
 		       "	bne-	1b\n"				      \
 		       "2:	" __lll_acq_instr			      \
 		       : "=&r" (__val), "=m" (*futex)			      \
-		       : "r" (futex), "r" (1), "1" (*futex)		      \
+		       : "r" (futex), "r" (1), "m" (*futex)		      \
 		       : "cr0", "memory");				      \
      __val;								      \
   })
@@ -110,7 +110,7 @@
 		       "	bne-	1b\n"				      \
 		       "2:	" __lll_acq_instr			      \
 		       : "=&r" (__val), "=m" (*futex)			      \
-		       : "r" (futex), "r" (2), "1" (*futex)		      \
+		       : "r" (futex), "r" (2), "m" (*futex)		      \
 		       : "cr0", "memory");				      \
      __val;								      \
   })