mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(bl1): add missing spinlock dependency
The spinlock functions from `spinlock.S` are used by `errata_report.c`, which is pulled into BL1. In a normal build it appears that this function call undergoes dead code elimination so the link error is not reported, but when compiled with LTO enabled the linker reports an undefined reference. Change-Id: Id22ffa8c0c8d3ca4b4cd46f0f4aefa53907c8de5 Signed-off-by: Chris Kay <chris.kay@arm.com>
This commit is contained in:
parent
a6cb061b62
commit
e40b563e87
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ BL1_SOURCES += bl1/${ARCH}/bl1_arch_setup.c \
|
|||
lib/cpus/${ARCH}/cpu_helpers.S \
|
||||
lib/cpus/errata_report.c \
|
||||
lib/el3_runtime/${ARCH}/context_mgmt.c \
|
||||
lib/locks/exclusive/${ARCH}/spinlock.S \
|
||||
plat/common/plat_bl1_common.c \
|
||||
plat/common/${ARCH}/platform_up_stack.S \
|
||||
${MBEDTLS_SOURCES}
|
||||
|
|
Loading…
Add table
Reference in a new issue