Make sure stack is aligned to 16 bytes.

This commit is contained in:
Doug Rabson 2001-08-21 16:53:23 +00:00
parent d86293dbea
commit d2cb5f3137
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82074

View File

@ -65,10 +65,13 @@ __asm ("
.global _start
.proc _start
_start:
alloc r16=ar.pfs,0,0,3,0 ;;
alloc r14=ar.pfs,0,0,3,0 ;;
mov out0=sp
mov out1=r14
mov out2=r15
mov r14=15 ;;
andcm sp=sp,r14 ;;
add sp=-16,sp
movl gp=_GLOBAL_OFFSET_TABLE_
br.call.sptk rp=_start2
.endp _start");