diff --git a/configs/arm.config b/configs/arm.config index 55fd9866..6ad5f18e 100644 --- a/configs/arm.config +++ b/configs/arm.config @@ -69,3 +69,8 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y + +CT_COMP_LIBS_PICOLIBC=y +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/arm64.config b/configs/arm64.config index a35b37ab..0257f9f7 100644 --- a/configs/arm64.config +++ b/configs/arm64.config @@ -68,3 +68,8 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y + +CT_COMP_LIBS_PICOLIBC=y +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/i586.config b/configs/i586.config index f461865d..c544e42d 100644 --- a/configs/i586.config +++ b/configs/i586.config @@ -68,3 +68,7 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y + +CT_COMP_LIBS_PICOLIBC=y +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y diff --git a/configs/riscv64.config b/configs/riscv64.config index 721581c7..5a76b7d3 100644 --- a/configs/riscv64.config +++ b/configs/riscv64.config @@ -69,3 +69,8 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y + +CT_COMP_LIBS_PICOLIBC=y +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/x86_64-zephyr-elf.config b/configs/x86_64-zephyr-elf.config index 45391c4f..b9c93a87 100644 --- a/configs/x86_64-zephyr-elf.config +++ b/configs/x86_64-zephyr-elf.config @@ -69,3 +69,7 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y + +CT_COMP_LIBS_PICOLIBC=y +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y