Home
last modified time | relevance | path

Searched hist:"3 f050aedbb8d7897bebb2bb07d58c660d85c3473" (Results 1 – 1 of 1) sorted by relevance

/optee_os/lib/libutils/ext/include/
H A Dasm.S3f050aedbb8d7897bebb2bb07d58c660d85c3473 Thu Mar 06 14:09:45 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> libutils: asm.S: fix BTI() macro

The BTI() macro conditionally emits assembly instructions or directives
depending on CFG_CORE_BTI and CFG_TA_BTI configuration, but it doesn't
take ldelf into consideration. ldelf depends on CFG_CORE_BTI just as
OP-TEE core. Fix this by adding __LDELF__ to the mix.

Fixes: af432c48741c ("libutils: asm.S : Introduce BTI in macros for functions")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>