* aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__

is defined.
This commit is contained in:
Corinna Vinschen 2013-07-04 10:21:52 +00:00
parent 286eeb8fae
commit a5be77b2fe
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 */