Home
last modified time | relevance | path

Searched hist:f84dc26252c89e70572f3ddde787262fd3b0da6a (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/
H A Dta.mkf84dc26252c89e70572f3ddde787262fd3b0da6a Thu Mar 27 13:45:01 UTC 2025 Alvin Chang <alvinga@andestech.com> ta: Compile TA with "-fno-stack-protector" if TA stack protector is off

Depends on compiler version and OS distributions, the stack protector
may be enabled by default. This means TA is always compiled with
"-fstack-protector", even if _CFG_TA_STACK_PROTECTOR is not 'y'.

To solve this issue, we explicitly provide "-fno-stack-protector"
compile option when _CFG_TA_STACK_PROTECTOR is not 'y'. Thus, the TA
stack protector is definitely disabled.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>