mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
Make sure stack is aligned to 16 bytes.
This commit is contained in:
parent
d86293dbea
commit
d2cb5f3137
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82074
@ -65,10 +65,13 @@ __asm ("
|
|||||||
.global _start
|
.global _start
|
||||||
.proc _start
|
.proc _start
|
||||||
_start:
|
_start:
|
||||||
alloc r16=ar.pfs,0,0,3,0 ;;
|
alloc r14=ar.pfs,0,0,3,0 ;;
|
||||||
mov out0=sp
|
mov out0=sp
|
||||||
mov out1=r14
|
mov out1=r14
|
||||||
mov out2=r15
|
mov out2=r15
|
||||||
|
mov r14=15 ;;
|
||||||
|
andcm sp=sp,r14 ;;
|
||||||
|
add sp=-16,sp
|
||||||
movl gp=_GLOBAL_OFFSET_TABLE_
|
movl gp=_GLOBAL_OFFSET_TABLE_
|
||||||
br.call.sptk rp=_start2
|
br.call.sptk rp=_start2
|
||||||
.endp _start");
|
.endp _start");
|
||||||
|
Loading…
Reference in New Issue
Block a user