From 129f6d90f727db95ab2876fa943d07e71cef90c3 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 31 Aug 2023 14:38:33 -0700 Subject: [PATCH] xtensa: enable multilib for dc233c and sample_controller This enables multilib support for building GCC. This is needed to support both CALL0 and Windowed ABIs. The corresponding GCC changes are needed to support multilib where Windowed ABI is the default. Signed-off-by: Daniel Leung --- configs/xtensa-dc233c_zephyr-elf.config | 1 + configs/xtensa-sample_controller_zephyr-elf.config | 1 + gcc | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/xtensa-dc233c_zephyr-elf.config b/configs/xtensa-dc233c_zephyr-elf.config index 27261724..3763307c 100644 --- a/configs/xtensa-dc233c_zephyr-elf.config +++ b/configs/xtensa-dc233c_zephyr-elf.config @@ -6,3 +6,4 @@ CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y CT_TARGET_VENDOR="dc233c_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" +CT_MULTILIB=y diff --git a/configs/xtensa-sample_controller_zephyr-elf.config b/configs/xtensa-sample_controller_zephyr-elf.config index b3af0b2d..a95b21eb 100644 --- a/configs/xtensa-sample_controller_zephyr-elf.config +++ b/configs/xtensa-sample_controller_zephyr-elf.config @@ -7,3 +7,4 @@ CT_XTENSA_CUSTOM=y CT_TARGET_VENDOR="sample_controller_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" CT_CC_GCC_CONFIG_TLS=n +CT_MULTILIB=y diff --git a/gcc b/gcc index db5fcf3e..19a0b9e0 160000 --- a/gcc +++ b/gcc @@ -1 +1 @@ -Subproject commit db5fcf3eadd09e69d59d068098854e4666c3b863 +Subproject commit 19a0b9e038538b4481353a354596786126b1e495