Weird linker behaviour
Weird linker behaviour
Hi, I'm writting my own kernel and I've encountered strange problem (my OS uses UEFI for boot). I'm linking all stuff with this script . Idk why, vaddr of LOAD section is correct, but paddr is always fixed to 0x0000000000000000. I've already tried everything but my linker always sets this value to 0. Can my bootloader assume that this value is 1MB or I should do something with it? Thanks for replies!
Re: Weird linker behaviour
Why are you using the AT statement at all? Are you planning to move these pieces from ROM or what? I guess you've complicated your task by yourself. Remove AT and forget about paddr fields. they are not needed for you.