(FD_ZERO): Remove unneccessary memory output operand which irritates gcc.

From-SVN: r26890
This commit is contained in:
Ulrich Drepper 1999-05-11 15:11:30 +00:00
parent 81d4a0726c
commit aa85c7f7e1
1 changed files with 3 additions and 7 deletions

View File

@ -45,9 +45,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__ ("cld; rep; stosl" \
: "=m" (((__fd_mask *) \
(fdsetp))[__FDELT (__FD_SETSIZE)]), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (sizeof (__fd_set) \
/ sizeof (__fd_mask)), \
"2" ((__fd_mask *) (fdsetp)) \
@ -84,8 +82,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=m" (*(__kernel_fd_set *) (fdsetp)), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \
"2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
} while (0)
@ -120,8 +117,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=m" (*(__fd_set *) (fdsetp)), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \
"2" ((__fd_set *) (fdsetp)) :"memory"); \
} while (0)