elf: start writing elf loader

This commit is contained in:
RaphProductions 2025-05-08 15:17:13 +02:00
parent 175805604e
commit a6f371b4ad
12 changed files with 4706 additions and 72 deletions

20
testing/link.ld Normal file
View file

@ -0,0 +1,20 @@
SECTIONS {
. = 0x1000;
.text : {
*(.text*)
}
.rodata : {
*(.rodata*)
}
.data : {
*(.data*)
}
.bss : {
*(.bss*)
*(COMMON)
}
}

BIN
testing/sk-hello.elf Executable file

Binary file not shown.

8
testing/test.asm Normal file
View file

@ -0,0 +1,8 @@
bits 64
section .text
global _start
_start:
int 0x80
lol:
jmp lol

BIN
testing/test.o Normal file

Binary file not shown.