Searched hist:c5a3ce04e0122640af5f1eb14e789cdeb9217c84 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ldelf/ |
| H A D | ta_elf.c | c5a3ce04e0122640af5f1eb14e789cdeb9217c84 Thu Mar 05 13:47:45 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: calculate correct elf->max_addr
Prior to this patch when the different load sections are mapped elf->max_addr is inceased as appropriate, except in one case, when memsz is larger than filesz. With this patch use memsz instead to calculate elf->max_addr in order to also cover .bss and friends.
Reviewed-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|