sh: Fix incorrect linking with new binutils
Since binutils 2.30 , the resulting U-Boot binary was incorrectly linked against address 0 instead of text base, fix it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
		
							parent
							
								
									87d5b22558
								
							
						
					
					
						commit
						e914109de4
					
				| 
						 | 
					@ -25,6 +25,7 @@ ENTRY(_start)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SECTIONS
 | 
					SECTIONS
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						. = CONFIG_SYS_TEXT_BASE;
 | 
				
			||||||
	reloc_dst = .;
 | 
						reloc_dst = .;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	PROVIDE (_ftext = .);
 | 
						PROVIDE (_ftext = .);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue