1MB Linker and GUI bugs?
Posted: Mon Dec 26, 2016 2:47 pm
Could my linker be related to this? I just realized that my kernel is getting loaded at around 1MB barrier, like what!!! Can that make this weird bug appear?
I allocated 1GB to my OS, there should not be any problems with that right? This is my linker script:
I allocated 1GB to my OS, there should not be any problems with that right? This is my linker script:
Code: Select all
OUTPUT_FORMAT(elf32-i386)
ENTRY(Start)
SECTIONS
{
. = 1M;
Kernel_Physical_Address = .;
.text : AT(ADDR(.text))
{
Text_Section_Physical_Address = .;
*(.Multiboot)
*(.Text)
}
.rodata ALIGN (0x1000) : AT(ADDR(.rodata))
{
Rodata_Section_Physical_Address = .;
*(.rodata)
}
.data ALIGN (0x1000) : AT(ADDR(.data))
{
Data_Section_Physical_Address = .;
*(.data)
}
.bss : AT(ADDR(.bss))
{
BSS_Section_Physical_Address = .;
*(COMMON)
*(.bss)
*(.Bootstrap_Stack)
Kernel_End = .;
}
Kernel_Heap_Start = .;
}