[PATCH] pre8/asm-i386/string.h + de4x5 -> no go

Manuel J. Galan (manolow@step.es)
Tue, 19 Jan 1999 14:15:25 +0000


This is a multi-part message in MIME format.
--------------04BCA3ABFF6A2EC2F4DA7608
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Problems on de4x5.o with asm-i386/string.h
(both with gcc and egcs).
Again :-(.
--------------04BCA3ABFF6A2EC2F4DA7608
Content-Type: text/plain; charset=us-ascii;
name="pre8.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="pre8.diff"

--- linux-2.2.0-pre8/include/asm-i386/string.h Tue Jan 19 13:06:55 1999
+++ linux.de4x5/include/asm-i386/string.h Tue Jan 19 13:21:43 1999
@@ -191,7 +191,7 @@
#define __HAVE_ARCH_STRSTR
extern inline char * strstr(const char * cs,const char * ct)
{
-int d0, d1, d2, d3, d4;
+int d0, d1, d2, d3;
register char * __res;
__asm__ __volatile__(
"cld\n\t" \
@@ -213,7 +213,7 @@
"jne 1b\n\t"
"xorl %%eax,%%eax\n\t"
"2:"
- :"=a" (__res), "=&c" (d0), "=&S" (d1), "=&d" (d2), "=&D" (d3), "=&g" (d4) : "0" (0),"1" (0xffffffff),"2" (cs),"4" (ct));
+ :"=a" (__res), "=&c" (d0), "=&S" (d1), "=&d" (d2), "=&D" (d3) : "0" (0),"1" (0xffffffff),"2" (cs),"b" (ct));
return __res;
}

--------------04BCA3ABFF6A2EC2F4DA7608--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/