summaryrefslogtreecommitdiffstats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorJonas Maebe2014-10-24 16:07:15 +0200
committerRiku Voipio2014-11-03 10:03:34 +0100
commita93934fecd4dffc9d4b452b670c9506be5dea30d (patch)
tree8fba143f9591c93908ef2a05c750c9da2b937e97 /include/exec/cpu-common.h
parentlinux-user: Fix fault address truncation AArch64 (diff)
downloadqemu-a93934fecd4dffc9d4b452b670c9506be5dea30d.tar.gz
qemu-a93934fecd4dffc9d4b452b670c9506be5dea30d.tar.xz
qemu-a93934fecd4dffc9d4b452b670c9506be5dea30d.zip
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 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions