gdt: remove anything left from C implementation of GDT
This commit is contained in:
@@ -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 = .;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user