* arm/linux-crt0.c: Use ldr instead of adr to get address of
_start_thumb.
This commit is contained in:
		
							parent
							
								
									d409f31ff3
								
							
						
					
					
						commit
						c3a549f687
					
				|  | @ -1,3 +1,8 @@ | ||||||
|  | 2012-01-17  Bin Cheng  <bin.cheng@arm.com> | ||||||
|  | 
 | ||||||
|  | 	* arm/linux-crt0.c: Use ldr instead of adr to get address of | ||||||
|  | 	_start_thumb. | ||||||
|  | 
 | ||||||
| 2011-12-18  Mike Frysinger  <vapier@gentoo.org> | 2011-12-18  Mike Frysinger  <vapier@gentoo.org> | ||||||
| 
 | 
 | ||||||
| 	* bfin/clear_cache_range.c: New file. | 	* bfin/clear_cache_range.c: New file. | ||||||
|  |  | ||||||
|  | @ -18,8 +18,10 @@ asm("\n" | ||||||
| 	".global _start\n" | 	".global _start\n" | ||||||
| 	".type _start, %function\n" | 	".type _start, %function\n" | ||||||
| 	"_start:\n" | 	"_start:\n" | ||||||
| 	"\tadr r0, _start_thumb+1\n" | 	"\tldr r0, .LC0\n" | ||||||
| 	"\tbx r0\n" | 	"\tbx r0\n" | ||||||
|  | 	".LC0:\n" | ||||||
|  | 	"\t.word _start_thumb\n" | ||||||
| 	".size _start, .-_start\n"); | 	".size _start, .-_start\n"); | ||||||
| 
 | 
 | ||||||
| __attribute__((naked, used)) | __attribute__((naked, used)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue