You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							1.2 KiB
						
					
					
				# --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
						|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
						|
# | 
						|
# Filename: package/.../uclibc/420-i386_strrchr_fix.patch.disable | 
						|
# Copyright (C) 2009 The OpenSDE Project | 
						|
# | 
						|
# More information can be found in the files COPYING and README. | 
						|
# | 
						|
# This patch file is dual-licensed. It is available under the license the | 
						|
# patched project is licensed under, as long as it is an OpenSource license | 
						|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms | 
						|
# of the GNU General Public License as published by the Free Software | 
						|
# Foundation; either version 2 of the License, or (at your option) any later | 
						|
# version. | 
						|
# --- SDE-COPYRIGHT-NOTE-END --- | 
						|
 | 
						|
https://dev.openwrt.org/browser/trunk/toolchain/uClibc/patches-0.9.30.1/420-i386_strrchr_fix.patch | 
						|
--- ./libc/string/i386/strrchr.c.orig | 
						|
+++ ./libc/string/i386/strrchr.c | 
						|
@@ -45,7 +45,7 @@ | 
						|
            "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) | 
						|
 | 
						|
 |