[toolchain] add support for uClibc 0.9.30.3
[openwrt.git] / toolchain / uClibc / patches-0.9.30.1 / 420-i386_strrchr_fix.patch
1 --- a/libc/string/i386/strrchr.c
2 +++ b/libc/string/i386/strrchr.c
3 @@ -45,7 +45,7 @@ char *strrchr(const char *s, int c)
4 "leal -1(%%esi),%0\n"
5 "2:\ttestb %%al,%%al\n\t"
6 "jne 1b"
7 - :"=g" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c));
8 + :"=r" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c));
9 return __res;
10 }
11 libc_hidden_def(strrchr)
This page took 0.039781 seconds and 5 git commands to generate.