gdt: remove anything left from C implementation of GDT

This commit is contained in:
2025-03-18 16:24:11 +03:00
parent 086bac07ed
commit 22c7380c8d
8 changed files with 52 additions and 112 deletions
+14 -7
View File
@@ -1,10 +1,17 @@
OUTPUT_FORMAT(elf32-i386)
ENTRY(start)
SECTIONS
{
. = 0x100000;
.text : { *(.text) }
.rodata : { *(.rodata) }
.data : { *(.data) }
.bss : { *(.bss) }
}
{
. = 0x100000;
.text BLOCK(4K) : ALIGN(4K) {
*(.multiboot)
*(.text)
}
.rodata BLOCK(4K) : ALIGN(4K) { *(.rodata) }
.data BLOCK(4K) : ALIGN(4K) { *(.data) }
.bss BLOCK(4K) : ALIGN(4K) {
*(.COMMON)
*(.bss)
}
kernel_end = .;
}