[U-Boot-Users] Elf loader

25 Apr
2006
25 Apr
'06
4:47 p.m.
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
6951
Age (days ago)
6951
Last active (days ago)
0 comments
1 participants
participants (1)
-
nico