SID ELF loader using wrong load address?
Frank Ch. Eigler
fche@redhat.com
Mon Feb 4 12:42:00 GMT 2002
Hi -
brolley wrote:
> [...]
> This is a section of code which should be loaded at the end of the .text
> section and is intended to be copied (by the application itself) to
> address 0x1000 before being executed. However, the SID ELF loader
> currently loads this section at address 0x1000 (the VMA) instead of at
> the given LMA. [...]
Good catch, thanks! Looking at include/elf/external.h, I guess we want
Elf32_External_Phdr.p_paddr instead of p_vaddr.
- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/sid/attachments/20020204/80bcb17d/attachment.sig>
More information about the Sid
mailing list