Home
last modified time | relevance | path

Searched hist:"750 c544ca5b1d498d11b2a16fdfe30411f6ea6ce" (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libutils/isoc/arch/arm/
H A Darm32_aeabi_divmod.c750c544ca5b1d498d11b2a16fdfe30411f6ea6ce Wed May 17 02:07:52 UTC 2023 Yuegui He <yuegui.he@amlogic.com> libutils: Disable stack protector for __aeabi_uidivmod/__aeabi_idivmod

Some toolchain build optee_os with "-fstack-protector-strong",
But the generated codes add "check stack" operations after the
"ret_idivmod_values", which overwrite the r1 value.

So __aeabi_uidivmod/__aeabi_idivmod will got error value,

Link: https://github.com/OP-TEE/optee_os/issues/6007
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Yuegui He <yuegui.he@amlogic.com>
/optee_os/lib/libutils/ext/include/
H A Dcompiler.h750c544ca5b1d498d11b2a16fdfe30411f6ea6ce Wed May 17 02:07:52 UTC 2023 Yuegui He <yuegui.he@amlogic.com> libutils: Disable stack protector for __aeabi_uidivmod/__aeabi_idivmod

Some toolchain build optee_os with "-fstack-protector-strong",
But the generated codes add "check stack" operations after the
"ret_idivmod_values", which overwrite the r1 value.

So __aeabi_uidivmod/__aeabi_idivmod will got error value,

Link: https://github.com/OP-TEE/optee_os/issues/6007
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Yuegui He <yuegui.he@amlogic.com>