Commit 5dd0c182 by Ulrich Drepper

(FD_ZERO): Fix operand numbers in asm input operands.

From-SVN: r26933
parent 4b5c9f6b
...@@ -46,9 +46,9 @@ cat <<'__EOF__' >$LIB/$file ...@@ -46,9 +46,9 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \ int __d0, __d1; \
__asm__ __volatile__ ("cld; rep; stosl" \ __asm__ __volatile__ ("cld; rep; stosl" \
: "=&c" (__d0), "=&D" (__d1) \ : "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (sizeof (__fd_set) \ : "a" (0), "0" (sizeof (__fd_set) \
/ sizeof (__fd_mask)), \ / sizeof (__fd_mask)), \
"2" ((__fd_mask *) (fdsetp)) \ "1" ((__fd_mask *) (fdsetp)) \
: "memory"); \ : "memory"); \
} while (0) } while (0)
#endif #endif
...@@ -83,8 +83,8 @@ cat <<'__EOF__' >$LIB/$file ...@@ -83,8 +83,8 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \ int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \ __asm__ __volatile__("cld ; rep ; stosl" \
: "=&c" (__d0), "=&D" (__d1) \ : "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \ : "a" (0), "0" (__FDSET_LONGS), \
"2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \ "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
} while (0) } while (0)
#endif #endif
...@@ -118,8 +118,8 @@ cat <<'__EOF__' >$LIB/$file ...@@ -118,8 +118,8 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \ int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \ __asm__ __volatile__("cld ; rep ; stosl" \
: "=&c" (__d0), "=&D" (__d1) \ : "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \ : "a" (0), "0" (__FDSET_LONGS), \
"2" ((__fd_set *) (fdsetp)) :"memory"); \ "1" ((__fd_set *) (fdsetp)) :"memory"); \
} while (0) } while (0)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment