diff options
| author | kotorifan <kotorifan05@gmail.com> | 2026-02-03 22:46:11 +0100 |
|---|---|---|
| committer | kotorifan <kotorifan05@gmail.com> | 2026-02-04 09:01:10 +0100 |
| commit | 7ce57a428f4c85771582c7f486c3553cacf80c15 (patch) | |
| tree | 678d77f9e4e865d7eb544665665dfd6848341e0a /linker.ld | |
| parent | 60b93287592f6d6e1b3157c7f60e1277fb8bb3ba (diff) | |
| download | kotori-os-7ce57a428f4c85771582c7f486c3553cacf80c15.tar.gz | |
Stage 1 seemingly works, Stage 2 doesn't work at all
Diffstat (limited to 'linker.ld')
| -rw-r--r-- | linker.ld | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/linker.ld b/linker.ld deleted file mode 100644 index 0f33778..0000000 --- a/linker.ld +++ /dev/null @@ -1,21 +0,0 @@ -MEMORY -{ - boot_sector (rwx) : ORIGIN = 0x7c00, LENGTH = 512 - stage2 (rwx) : ORIGIN = 0x7e00, LENGTH = 512 - kernel (rwx) : ORIGIN = 0x8000, LENGTH = 0x10000 -} - -ENTRY(_start) -SECTIONS -{ - .boot_sector : { *(.boot_sector); } > boot_sector - .stage2 : { *(.stage2); } > stage2 - .text : { *(.text); } > kernel - .data : { *(.data); } > kernel - .rodata : { *(.rodata); } > kernel - .bss : - { - *(.bss) - *(COMMON) - } > kernel -} |
