summary refs log tree commit diff
diff options
context:
space:
mode:
-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)