Skip to contentSkip to conversation

Elf loader

U-Boot-Users nico 1 participant 1 message Apr 25, 2006

lore
Share & tools
lore

nico

author
#0 lore raw

Hi all,

I'm investigating the integrated elf loader procedure in the cmd_elf.c file. And I'm wondering why the function "load_elf_image()" relocates the elf file using only the Symbol table... this is not wrong, but doing this only allows to follow the virtual adresses scheme. So if you have differences between virtual adresses and physical adresses (ex: loading a kernel that will enable the MMU...) you will f*** this up... Why not using the Program table, isn't this supposed to give you all the relocations to do ?

thx,
nicolas