mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-11-03 20:07:59 +00:00 
			
		
		
		
	toolchain/gcc: fix building gcc 5.5 on newer systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		
				
					committed by
					
						
						John Crispin
					
				
			
			
				
	
			
			
			
						parent
						
							d84982f161
						
					
				
				
					commit
					6f6b40a94f
				
			
							
								
								
									
										11
									
								
								toolchain/gcc/patches/5.5.0/003-build_fix.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								toolchain/gcc/patches/5.5.0/003-build_fix.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					--- a/gcc/reload.h
 | 
				
			||||||
 | 
					+++ b/gcc/reload.h
 | 
				
			||||||
 | 
					@@ -168,7 +168,7 @@ struct target_reload {
 | 
				
			||||||
 | 
					      value indicates the level of indirect addressing supported, e.g., two
 | 
				
			||||||
 | 
					      means that (MEM (MEM (REG n))) is also valid if (REG n) does not get
 | 
				
			||||||
 | 
					      a hard register.  */
 | 
				
			||||||
 | 
					-  bool x_spill_indirect_levels;
 | 
				
			||||||
 | 
					+  unsigned char x_spill_indirect_levels;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					   /* True if caller-save has been reinitialized.  */
 | 
				
			||||||
 | 
					   bool x_caller_save_initialized_p;
 | 
				
			||||||
		Reference in New Issue
	
	Block a user