commit | d99255362ca1ede7e30c14ea657082caa60de09c | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Tue Aug 23 12:31:46 2022 +0000 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Aug 29 09:49:33 2022 +0200 |
tree | 566094213b18bebd6f2446b61a9589858e4e8807 | |
parent | 2f4d97e7664270c92f4fd9d35fcddcfa4fd5f667 [diff] |
arm32: libutils, libutee, ta: add .note.GNU-stack section to .S files When building for arm32 with GNU binutils 2.39, the linker outputs warnings when linking Trusted Applications: arm-unknown-linux-uclibcgnueabihf-ld.bfd: warning: utee_syscalls_a32.o: missing .note.GNU-stack section implies executable stack arm-unknown-linux-uclibcgnueabihf-ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker We could silence the warning by adding the '--no-warn-execstack' option to the TA link flags, like we did in the parent commit for the TEE core and ldelf. Indeed, ldelf always allocates a non-executable piece of memory for the TA to use as a stack. However it seems preferable to comply with the common ELF practices in this case. A better fix is therefore to add the missing .note.GNU-stack sections in the assembler files. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers