[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #39488] multiboot2 failed to load 64-bit ELF image
From: |
Leon Drugi |
Subject: |
[bug #39488] multiboot2 failed to load 64-bit ELF image |
Date: |
Tue, 16 Jul 2013 11:23:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36 |
Follow-up Comment #2, bug #39488 (project grub):
Hello Vladimir,
Thank you for your quick reponse and hints about LMA. You are right that it
should point to physical address space instead of virtual.
But the first part of the bug report still needs to be applied to fix
'invalid entry point for ELF64' message. The reason is that following ELF
specification (http://www.skyfree.org/linux/references/ELF_Format.pdf, page
10) entry address must point to virtual address space:
'e_entry - This member gives the virtual address to which the system first
transfers control, thus
starting the process. If the file has no associated entry point, this member
holds zero.'
So after apply this fix and change LMA to physical address, I can successfully
start 64-bit ELF image.
Best Regards
Leon
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39488>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/