mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47024
This commit is contained in:
		
							parent
							
								
									3d64edb024
								
							
						
					
					
						commit
						6c6508d0e1
					
				@ -194,3 +194,16 @@ gcc/Changelog:
 | 
			
		||||
 
 | 
			
		||||
+#undef MUSL_DYNAMIC_LINKER_E
 | 
			
		||||
+#define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","le")
 | 
			
		||||
--- a/gcc/config.gcc
 | 
			
		||||
+++ b/gcc/config.gcc
 | 
			
		||||
@@ -2410,6 +2410,10 @@ powerpc*-*-linux*)
 | 
			
		||||
 	    powerpc*-*-linux*paired*)
 | 
			
		||||
 		tm_file="${tm_file} rs6000/750cl.h" ;;
 | 
			
		||||
 	esac
 | 
			
		||||
+	case ${target} in
 | 
			
		||||
+		*-linux*-musl*)
 | 
			
		||||
+			enable_secureplt=yes ;;
 | 
			
		||||
+	esac
 | 
			
		||||
 	if test x${enable_secureplt} = xyes; then
 | 
			
		||||
 		tm_file="rs6000/secureplt.h ${tm_file}"
 | 
			
		||||
 	fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user