does the starting address of the section in linker script is applicable to only virtual memory -
i have read linker script. have got 1 confusion regarding allocating memory. when define section starting want load file.
1) memory locations have specified applicable virtual memory ( . = 0x10000 ).
in linker script (and resulting binary), addresses addresses.
whether these meant virtual or physical solely depends on loader (which might tiny bootloader @ system init doesn't know virtual addresses or full blown os provides sophisticated virtual environment).
so it's program brings binary memory decides whether addresses interpreted virtually or physically, not linker script.
unless tell specific environment, can't tell more.
Comments
Post a Comment