arm,cmake: Set compiler expected tls settings

Add the right TLS variable settings for the gnu-elf-abi used by our
compilers.

Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
Kent McLeod 2025-02-28 15:57:06 +11:00 committed by Kent McLeod
parent fbe1e0b300
commit 4705973e45
1 changed files with 5 additions and 0 deletions

View File

@ -92,3 +92,8 @@ ApplyData61ElfLoaderSettings(${KernelARMPlatform} ${KernelSel4Arch})
# Release settings
ApplyCommonReleaseVerificationSettings(FALSE FALSE)
if (KernelSel4ArchAarch32)
# Set correct aarch32 TLS register config
set(KernelArmTLSReg tpidruro CACHE STRING "" FORCE)
endif()