summaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-14 13:33:17 +0000
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-14 13:33:17 +0000
commit06531b1ed9b46cbc16a96e5a5cbc2f49e9cac60e (patch)
tree3552d6041fca690649800bc381af14434ae98bd7 /gcc/fixinc
parentaa7440c7f49e350ad4b939f6912ab18c307e3b1c (diff)
downloadgcc-06531b1ed9b46cbc16a96e5a5cbc2f49e9cac60e.tar.gz
(FD_ZERO): Fix operand numbers in asm input operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixinc.x86-linux-gnu12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fixinc/fixinc.x86-linux-gnu b/gcc/fixinc/fixinc.x86-linux-gnu
index ddb1b542e1f..d53694d9bfa 100644
--- a/gcc/fixinc/fixinc.x86-linux-gnu
+++ b/gcc/fixinc/fixinc.x86-linux-gnu
@@ -46,9 +46,9 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \
__asm__ __volatile__ ("cld; rep; stosl" \
: "=&c" (__d0), "=&D" (__d1) \
- : "a" (0), "1" (sizeof (__fd_set) \
+ : "a" (0), "0" (sizeof (__fd_set) \
/ sizeof (__fd_mask)), \
- "2" ((__fd_mask *) (fdsetp)) \
+ "1" ((__fd_mask *) (fdsetp)) \
: "memory"); \
} while (0)
#endif
@@ -83,8 +83,8 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=&c" (__d0), "=&D" (__d1) \
- : "a" (0), "1" (__FDSET_LONGS), \
- "2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
+ : "a" (0), "0" (__FDSET_LONGS), \
+ "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
} while (0)
#endif
@@ -118,8 +118,8 @@ cat <<'__EOF__' >$LIB/$file
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=&c" (__d0), "=&D" (__d1) \
- : "a" (0), "1" (__FDSET_LONGS), \
- "2" ((__fd_set *) (fdsetp)) :"memory"); \
+ : "a" (0), "0" (__FDSET_LONGS), \
+ "1" ((__fd_set *) (fdsetp)) :"memory"); \
} while (0)
#endif