* aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__
is defined.
This commit is contained in:
parent
286eeb8fae
commit
a5be77b2fe
|
@ -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>
|
2013-07-02 Joey Ye <joey.ye@arm.com>
|
||||||
|
|
||||||
* arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini
|
* 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));
|
static int newslot _PARAMS ((void));
|
||||||
|
|
||||||
/* Register name faking - works in collusion with the linker. */
|
/* Register name faking - works in collusion with the linker. */
|
||||||
|
#ifdef __ILP32__
|
||||||
|
register char * stack_ptr asm ("wsp");
|
||||||
|
#else
|
||||||
register char * stack_ptr asm ("sp");
|
register char * stack_ptr asm ("sp");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* following is copied from libc/stdio/local.h to check std streams */
|
/* following is copied from libc/stdio/local.h to check std streams */
|
||||||
|
|
Loading…
Reference in New Issue