mythos
mythos copied to clipboard
fix alignment in linker script
The kernel's segments have 2MiB alignment and the program headers should show this. Otherwise the system's loader may do stupid things. At the moment there are weird values:
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x00000000000000f0 0x0000000000200000 0x0000000000200000
0x0000000000000134 0x0000000000000134 RWE 0x10
LOAD 0x0000000000000234 0xffffffff81200134 0x0000000000200134
0x00000000001446cc 0x00000000001446cc R E 0x40
LOAD 0x0000000000145000 0xffffffff81400000 0x0000000000400000
0x000000000000d0c0 0x000000000043b240 RW 0x1000