aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2019-03-01 13:37:06 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2019-03-05 12:54:55 +0100
commit0d74580dd013309f76f82ee1c9572d26a63fc7eb (patch)
treeb1fc85d26b3f8ac1c2d048b5e559e68c56cc3afe /mk/config.mk
parent9b294376010e27494a69ccf61690a05e18cbea52 (diff)
core: elf_load: R_ARM_ABS32/R_AARCH64_ABS64 relocations against undefined symbol
The symbol referenced by a R_ARM_ABS32 or R_AARCH64_ABS64 relocation may very well be external to the binary being relocated (for example, defined in a shared library). In this case, the section table index for the symbol is SHN_UNDEF and we need to perform process-wide symbol resolution. This fixes an issue I found when linking a TA against a shared version of libutee (this configuration is introduced in a later commit). In this case, ta_head::entry is set to __utee_entry which is in libutee.so, hence undefined in the TA binary. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
0 files changed, 0 insertions, 0 deletions