blob: 0d5b5defe64ec0dae41f8fe9e49de3a6cfe9a251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
.section .text
.global _start
.type _start, @function
.weak _start
_start:
mov %rsp, %rdi
and $~0xF, %rsp
call _start2
hlt
/* the call shouldn't return, thus the hlt.
* using a call instead of jmp for stack alignment */
|