diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-10 19:25:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-10 19:25:05 +0000 |
commit | 0e43efeae7695689ecd077397d867c40fbdab7f6 (patch) | |
tree | 29d3fdef6a5a6d5677a3d70412bef87b8980f962 /toolchain | |
parent | 2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4 (diff) | |
download | mtk-20170518-0e43efeae7695689ecd077397d867c40fbdab7f6.zip mtk-20170518-0e43efeae7695689ecd077397d867c40fbdab7f6.tar.gz mtk-20170518-0e43efeae7695689ecd077397d867c40fbdab7f6.tar.bz2 |
uClibc: fix strrchr on i386
SVN-Revision: 18016
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/patches-0.9.30.1/420-i386_strrchr_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.30.1/420-i386_strrchr_fix.patch b/toolchain/uClibc/patches-0.9.30.1/420-i386_strrchr_fix.patch new file mode 100644 index 0000000..c47327a --- /dev/null +++ b/toolchain/uClibc/patches-0.9.30.1/420-i386_strrchr_fix.patch @@ -0,0 +1,11 @@ +--- a/libc/string/i386/strrchr.c ++++ b/libc/string/i386/strrchr.c +@@ -45,7 +45,7 @@ char *strrchr(const char *s, int c) + "leal -1(%%esi),%0\n" + "2:\ttestb %%al,%%al\n\t" + "jne 1b" +- :"=g" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c)); ++ :"=r" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c)); + return __res; + } + libc_hidden_def(strrchr) |