Set up %ebp for the temporary stack too

This commit is contained in:
Eryn Wells 2016-03-20 03:37:45 -04:00
parent 9c5460c1f5
commit 603e76078d

View file

@ -34,6 +34,7 @@ stack_top:
_start:
# Set up some space for a call stack. The stack grows downwards, so esp gets set to the top of the stack.
movl $stack_top, %esp
movl %esp, %ebp
# Very early initialization done here.
call kearly