[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add Linux Relibc Target
From: |
Jeremy Soller |
Subject: |
Add Linux Relibc Target |
Date: |
Wed, 4 Aug 2021 07:32:46 -0600 |
diff --git a/config.sub b/config.sub
index d80c5d7..35bc4bc 100755
--- a/config.sub
+++ b/config.sub
@@ -1697,7 +1697,7 @@ fi
# Now, validate our (potentially fixed-up) OS.
case $os in
# Sometimes we do "kernel-libc", so those need to count as OSes.
- musl* | newlib* | uclibc*)
+ musl* | newlib* | relibc* | uclibc*)
;;
# Likewise for "kernel-abi"
eabi* | gnueabi*)
@@ -1755,11 +1755,11 @@ esac
# As a final step for OS-related things, validate the OS-kernel combination
# (given a valid OS), if there is a kernel.
case $kernel-$os in
- linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib*
| linux-musl* | linux-uclibc* )
+ linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib*
| linux-musl* | linux-relibc* | linux-uclibc* )
;;
uclinux-uclibc* )
;;
- -dietlibc* | -newlib* | -musl* | -uclibc* )
+ -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
# These are just libc implementations, not actual OSes, and thus
# require a kernel.
echo "Invalid configuration \`$1': libc \`$os' needs
explicit kernel." 1>&2
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index 8e68cee..4975288 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -827,6 +827,7 @@ x86_64-ericsson-dicos
x86_64-ericsson-dicos
x86_64-fuchsia x86_64-pc-fuchsia
x86_64-genode x86_64-pc-genode
x86_64-glidix x86_64-pc-glidix
+x86_64-linux-relibc x86_64-pc-linux-relibc
x86_64-nto x86_64-pc-nto-qnx
x86_64-os108 x86_64-pc-os108
x86_64-pc-ptx x86_64-pc-ptx
- Add Linux Relibc Target,
Jeremy Soller <=