From: nico Date: Tue, 25 Apr 2006 16:47:19 +0200 Subject: [U-Boot-Users] Elf loader Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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