summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/arch/arm.in2
-rw-r--r--config/debug/gdb.in.native4
-rw-r--r--config/libc/glibc.in4
-rw-r--r--config/libc/newlib.in7
4 files changed, 14 insertions, 3 deletions
diff --git a/config/arch/arm.in b/config/arch/arm.in
index a6b9694..07ad5ed 100644
--- a/config/arch/arm.in
+++ b/config/arch/arm.in
@@ -58,7 +58,7 @@ config ARCH_ARM_INTERWORKING
> [not to use interwork], since slightly larger code is generated
> when [interwork] is specified.
- NOTE: Interworking in crosstool-NG is not sell-tested. Use at your
+ NOTE: Interworking in crosstool-NG is not well-tested. Use at your
own risks, and report success and/or failure.
# Until we only support EABI:
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index 101e824..917a770 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -6,7 +6,8 @@ config GDB_NATIVE
depends on ! BARE_METAL
depends on ! LIBC_BIONIC
depends on CC_LANG_CXX || !GDB_8_0_or_later
- select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC
+ select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later
+ select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later
select EXPAT_TARGET
select NCURSES_TARGET
help
@@ -18,6 +19,7 @@ config GDB_GDBSERVER
default y
depends on ! BARE_METAL
select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later
+ select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later
help
Build and install a gdbserver for the target, to run on the target.
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 4138707..c753359 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -37,10 +37,12 @@ config GLIBC_DEP_BINUTILS
# Glibc 2.29 requires GCC5+ or, for ppc64le, GCC6.2+. We only support the latest
# release on GCC6 branch, so just assume it is newer than 6.2
+# Glibc 2.30 uncondtionally requires GCC 6.2+
config GLIBC_DEP_GCC
def_bool y
select GCC_REQUIRE_5_or_later if GLIBC_2_29_or_later
select GCC_REQUIRE_6_or_later if GLIBC_2_29_or_later && ARCH_POWERPC && ARCH_64 && ARCH_LE
+ select GCC_REQUIRE_6_or_later if GLIBC_2_30_or_later
# Glibc 2.29 requires bison 2.7 or later. All versions in ct-ng satisfy that
# version requirement.
@@ -57,7 +59,7 @@ config GLIBC_DEP_PYTHON
config GLIBC_DEP_MAKE_4_0
def_bool y
- depends on GLIBC_2_29_or_later && !CONFIGURE_has_make_4_0_or_newer
+ depends on GLIBC_2_28_or_later && !CONFIGURE_has_make_4_0_or_newer
select COMP_TOOLS_MAKE
select MAKE_REQUIRE_4_0_or_later
select MAKE_GNUMAKE_SYMLINK # Override old host make in .build/tools/bin
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 268f956..199eff2 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -152,6 +152,13 @@ config LIBC_NEWLIB_MULTITHREAD
help
Enable support for multiple threads.
+config LIBC_NEWLIB_RETARGETABLE_LOCKING
+ bool
+ prompt "Enable retargetable locking"
+ help
+ Enable retargetable locking to allow the operating system to override
+ the dummy lock functions defined within the newlib.
+
config LIBC_NEWLIB_EXTRA_SECTIONS
bool
prompt "Place each function & data element in their own section"