diff options
author | Jonas Maebe <jonas.maebe@elis.ugent.be> | 2014-10-24 16:07:15 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-11-03 11:03:34 +0200 |
commit | a93934fecd4dffc9d4b452b670c9506be5dea30d (patch) | |
tree | 8fba143f9591c93908ef2a05c750c9da2b937e97 /fpu | |
parent | 686581adcfead947b4726d82b1eaf7c25fa597e6 (diff) | |
download | hqemu-a93934fecd4dffc9d4b452b670c9506be5dea30d.zip hqemu-a93934fecd4dffc9d4b452b670c9506be5dea30d.tar.gz |
elf: take phdr offset into account when calculating the program load address
The first program header does not necessarily start at offset 0. This change
corresponds to what the Linux kernel does in load_elf_binary().
Signed-off-by: Jonas Maebe <jonas.maebe@elis.ugent.be>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions