about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-03 22:05:54 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-03 22:05:54 +0000
commit6dc0d457ecab90cad69f62ffd0386a8f4830f38e (patch)
treecc2662e02cfc1ab5f0c936d0c20731ce2897de04
parentab7eb292307152e706948a7b19164ff5e6d593d4 (diff)
downloadglibc-6dc0d457ecab90cad69f62ffd0386a8f4830f38e.tar.gz
glibc-6dc0d457ecab90cad69f62ffd0386a8f4830f38e.tar.xz
glibc-6dc0d457ecab90cad69f62ffd0386a8f4830f38e.zip
Update.
	* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
	specification.  It's not necessary.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/bits/select.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b9ec0c920..31f0b3a328 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
 
+	* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
+	specification.  It's not necessary.
+
 	* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
 	* elf/gen-trusted-dirs.awk: New file.
 	* elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
diff --git a/sysdeps/i386/bits/select.h b/sysdeps/i386/bits/select.h
index 0d1b71bd6f..6acfc5b9ae 100644
--- a/sysdeps/i386/bits/select.h
+++ b/sysdeps/i386/bits/select.h
@@ -27,11 +27,10 @@
   do {									      \
     int __d0, __d1;							      \
     __asm__ __volatile__ ("cld; rep; stosl"				      \
-			  : "=m" (__FDS_BITS (fdsp)[__FDELT (__FD_SETSIZE)]), \
-			    "=c" (__d0), "=D" (__d1)			      \
-			  : "a" (0), "1" (sizeof (__fd_set)		      \
+			  : "=c" (__d0), "=D" (__d1)			      \
+			  : "a" (0), "0" (sizeof (__fd_set)		      \
 					  / sizeof (__fd_mask)),	      \
-			    "2" (&__FDS_BITS (fdsp)[0])			      \
+			    "1" (&__FDS_BITS (fdsp)[0])			      \
 			  : "memory");					      \
   } while (0)