* aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__
is defined.
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
2013-07-04  Yufeng Zhang  <Yufeng.Zhang@arm.com>
 | 
			
		||||
 | 
			
		||||
	* aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__
 | 
			
		||||
	is defined.
 | 
			
		||||
 | 
			
		||||
2013-07-02  Joey Ye  <joey.ye@arm.com>
 | 
			
		||||
 | 
			
		||||
	* arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini
 | 
			
		||||
 
 | 
			
		||||
@@ -109,7 +109,11 @@ static struct fdent *findslot _PARAMS ((int));
 | 
			
		||||
static int newslot _PARAMS ((void));
 | 
			
		||||
 | 
			
		||||
/* Register name faking - works in collusion with the linker.  */
 | 
			
		||||
#ifdef __ILP32__
 | 
			
		||||
register char * stack_ptr asm ("wsp");
 | 
			
		||||
#else
 | 
			
		||||
register char * stack_ptr asm ("sp");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* following is copied from libc/stdio/local.h to check std streams */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user