From d60db907095ae2101d702da3785e01f84d54155e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 17 Oct 2022 18:31:32 -0700 Subject: [PATCH] arc: Add -mtp-regno=26 to CFLAGS Make sure everything is built with the correct TLS configuration. Signed-off-by: Keith Packard Signed-off-by: Stephanos Ioannidis --- configs/arc-zephyr-elf.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/arc-zephyr-elf.config b/configs/arc-zephyr-elf.config index 01a21cab..daafa527 100644 --- a/configs/arc-zephyr-elf.config +++ b/configs/arc-zephyr-elf.config @@ -4,7 +4,7 @@ CT_EXPERIMENTAL=y # CT_LOG_PROGRESS_BAR is not set CT_ARCH_ARC=y CT_MULTILIB=y -CT_TARGET_CFLAGS="-mno-sdata" +CT_TARGET_CFLAGS="-mno-sdata -mtp-regno=26" CT_TARGET_VENDOR="zephyr" CT_BINUTILS_SRC_CUSTOM=y CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils"