Set up %ebp for the temporary stack too
This commit is contained in:
parent
9c5460c1f5
commit
603e76078d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue