diff options
| author | hachem <im@hachem.wtf> | 2026-09-25 11:31:59 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-25 11:31:59 +0200 |
| commit | ed285c9fc665e262ed21c7bf5734acb2b7a532db (patch) | |
| tree | e51434e8069bc7219221cc1136515828d0293aca /user/link.ld | |
| parent | d18d1da05a4d065d54787434d6bc46f3354626a5 (diff) | |
feat: load + run native ELF binaries
Diffstat (limited to 'user/link.ld')
| -rw-r--r-- | user/link.ld | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/link.ld b/user/link.ld new file mode 100644 index 0000000..9dc8402 --- /dev/null +++ b/user/link.ld @@ -0,0 +1,8 @@ +ENTRY(_start) +SECTIONS { + . = 0x400000; + .text : ALIGN(0x1000) { *(.text*) } + .rodata : ALIGN(0x1000) { *(.rodata*) } + .data : ALIGN(0x1000) { *(.data*) } + .bss : ALIGN(0x1000) { *(.bss*) *(COMMON) } +} |
