JJérôme Forissierlibutils: riscv: provide setjmp_rv.S
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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> | 3 年前 | |
libutils: riscv: provide setjmp_rv.S Implement setjmp() and longjmp() in setjmp_rv.S Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 |