From 7ce57a428f4c85771582c7f486c3553cacf80c15 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Tue, 3 Feb 2026 22:46:11 +0100 Subject: Stage 1 seemingly works, Stage 2 doesn't work at all --- linker.ld | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 linker.ld (limited to 'linker.ld') 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 -} -- cgit v1.3