+1998-05-19 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
+ correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
+
1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/terminal.texi (I/O Queues): Fix typo.
"2:\n\t"
"popl %%ebx"
: "=a" (__res), "=&c" (__d0), "=&S" (__d1), "=&D" (__d2)
- : "0" (0), "1" (0xffffffff), "2" (__haystack), "3" (0), "d" (__needle)
+ : "0" (0), "1" (0xffffffff), "2" (__haystack), "3" (__needle),
+ "d" (__needle)
: "cc");
return __res;
}
"xorl %%eax,%%eax\n"
"2:"
: "=a" (__res), "=&c" (__d0), "=&S" (__d1), "=&D" (__d2), "=&d" (__d3)
- : "0" (0), "1" (0xffffffff), "2" (__haystack), "3" (0), "b" (__needle)
+ : "0" (0), "1" (0xffffffff), "2" (__haystack), "3" (__needle),
+ "b" (__needle)
: "cc");
return __res;
}