Searched hist:a73b5878c89dc0b719139085c1104c2c52a1f8f8 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutee/include/ |
| H A D | user_ta_header.h | a73b5878c89dc0b719139085c1104c2c52a1f8f8 Thu Feb 07 13:07:32 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> Replace ta_head.entry with elf entry
Prior to this patch the entry function of the TA was stored in ta_head which is located in a read-only section of the TA. This results in the linker emitting a relocation modifying a read-only section. This is a problem if the read-only section is mapped read-only while relocations are performed. To avoid this problematic relocation the ta_head.entry is removed and the ELF entry point is used instead.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|