ciabatta/src/loader/loader-entry.asm

14 lines
157 B
NASM
Raw Normal View History

2023-08-02 03:43:07 +00:00
bits 64
section .text
default rel
global _dlstart
2023-08-03 13:16:15 +00:00
extern _DYNAMIC:weak
2023-08-02 03:43:07 +00:00
_dlstart:
xor rbp, rbp
mov rdi, rsp
2023-08-03 13:16:15 +00:00
lea rsi, _DYNAMIC
and rsp, -16