lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] pre8/asm-i386/string.h + de4x5 -> no go

Problems on de4x5.o with asm-i386/string.h
(both with gcc and egcs).
Again :-(.--- 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;
}
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.059 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site