aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-05-18 16:14:55 +1200
committerChris Packham <judge.packham@gmail.com>2024-05-24 10:14:13 +1200
commite58fd0a23e84cec8b27a13e614068117076958d9 (patch)
treed890e3290390636ca4f7c5fe562fb12057c0c7ad /config
parentc1b9edd06a4fa14a02b0368ebff6ee702f991527 (diff)
downloadcrosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.tar.gz
crosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.tar.bz2
crosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.zip
musl: Mark not EXPERIMENTAL
Musl was marked experimental in commit 08d91d41 ("musl: config is broken for !EXPERIMENTAL"). Most of the reasoning for that change no longer applies and as it's been about 8 years it's time to let musl loose on the world. Drop the `depends on EXPERIMENTAL` and update the sample configs for aarch64 and x86_64. For powerpc64 the ABI needs to be elfv2. Enforce this via the powerpc config. Add a sample configuration for powerpc-unknown-linux-musl. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/arch/powerpc.in7
-rw-r--r--config/libc/musl.in1
2 files changed, 4 insertions, 4 deletions
diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in
index 26954c88..dddd73a6 100644
--- a/config/arch/powerpc.in
+++ b/config/arch/powerpc.in
@@ -19,9 +19,10 @@
config ARCH_powerpc_ABI
string
- default "" if ARCH_powerpc_ABI_DEFAULT
- default "eabi" if ARCH_powerpc_ABI_EABI
- default "spe" if ARCH_powerpc_ABI_SPE
+ default "" if ARCH_powerpc_ABI_DEFAULT
+ default "eabi" if ARCH_powerpc_ABI_EABI
+ default "spe" if ARCH_powerpc_ABI_SPE
+ default "elfv2" if ARCH_64 && LIBC_MUSL
choice
bool
diff --git a/config/libc/musl.in b/config/libc/musl.in
index 427dd699..71d9c990 100644
--- a/config/libc/musl.in
+++ b/config/libc/musl.in
@@ -1,7 +1,6 @@
# musl second-part option
## depends on ! WINDOWS && ! BARE_METAL
-## depends on EXPERIMENTAL
## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_NEEDED