diff options
| author | Bobby <[email protected]> | 2026-02-24 09:28:50 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-02-24 09:28:50 +0530 |
| commit | 60f4c2824c63cef87fea0227ed7229268d1b2931 (patch) | |
| tree | e061e94d0268bf4554bf2fc20756b3e3fd1c45b7 | |
| parent | 311ae8c454bf912bda953902c96e854e566440e9 (diff) | |
| download | akiba-60f4c2824c63cef87fea0227ed7229268d1b2931.tar.xz akiba-60f4c2824c63cef87fea0227ed7229268d1b2931.zip | |
feat: Add Mirai Kernel Linker Script
| -rw-r--r-- | linker/mirai.linker | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/linker/mirai.linker b/linker/mirai.linker new file mode 100644 index 0000000..cabee2c --- /dev/null +++ b/linker/mirai.linker @@ -0,0 +1,40 @@ +/* Mirai Kernel Linker Script */ + +ENTRY(mirai) + +SECTIONS +{ + . = 0x100000; + + .text : ALIGN(4K) + { + *(.text) + *(.text.*) + } + + .rodata : ALIGN(4K) + { + *(.rodata) + *(.rodata.*) + } + + .data : ALIGN(4K) + { + *(.data) + *(.data.*) + } + + .bss : ALIGN(4K) + { + *(COMMON) + *(.bss) + *(.bss.*) + } + + /DISCARD/ : + { + *(.eh_frame) + *(.comment) + *(.note.*) + } +}
\ No newline at end of file |
