[U-Boot-Users] Elf loader

nico nico.inc at gmail.com
Tue Apr 25 16:47:19 CEST 2006


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




More information about the U-Boot mailing list