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>
Please register or sign in to comment