commit | a93934fecd4dffc9d4b452b670c9506be5dea30d | [log] [tgz] |
---|---|---|
author | Jonas Maebe <jonas.maebe@elis.ugent.be> | Fri Oct 24 16:07:15 2014 +0200 |
committer | Riku Voipio <riku.voipio@linaro.org> | Mon Nov 03 11:03:34 2014 +0200 |
tree | 8fba143f9591c93908ef2a05c750c9da2b937e97 | |
parent | 686581adcfead947b4726d82b1eaf7c25fa597e6 [diff] |
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>