summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/nds32/uclibc-ng.config8
-rw-r--r--toolchain/binutils/Makefile.inc2
-rw-r--r--toolchain/gcc/Makefile.inc2
4 files changed, 10 insertions, 6 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 7d24b3d79..39dc0ad62 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -928,8 +928,8 @@ config ADK_TARGET_CPU_MSP430
config ADK_TARGET_CPU_NDS32
bool "nds32"
select ADK_TARGET_SUPPORTS_THREADS
- select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_NDS32
diff --git a/target/nds32/uclibc-ng.config b/target/nds32/uclibc-ng.config
index 1f899d4d9..57d19fa26 100644
--- a/target/nds32/uclibc-ng.config
+++ b/target/nds32/uclibc-ng.config
@@ -59,6 +59,7 @@ HAVE_DOT_CONFIG=y
# General Library Settings
#
DOPIC=y
+ARCH_HAS_UCONTEXT=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
@@ -78,8 +79,10 @@ LDSO_NO_CLEANUP=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
-UCLIBC_HAS_LINUXTHREADS=y
+# UCLIBC_HAS_LINUXTHREADS is not set
+UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
+UCLIBC_HAS_TLS=y
PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_SYSLOG=y
# MALLOC is not set
@@ -91,6 +94,7 @@ UCLIBC_HAS_UTMPX=y
UCLIBC_HAS_UTMP=y
UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
+# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
# UCLIBC_STRICT_HEADERS is not set
@@ -153,6 +157,7 @@ UCLIBC_HAS_RESOLVER_SUPPORT=y
#
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_STDIO_FUTEXES=y
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
# UCLIBC_HAS_CTYPE_UNSAFE is not set
@@ -231,7 +236,6 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
# DODEBUG is not set
-# DODEBUG_PT is not set
# DOSTRIP is not set
# DOASSERTS is not set
# SUPPORT_LD_DEBUG is not set
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 3e01592ed..e6a023ff3 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -33,7 +33,7 @@ endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_NDS32),y)
PKG_VERSION:= 2.24-nds32
PKG_RELEASE:= 1
-PKG_HASH:= e85638296a8608c8f376bfafe61c7c6fc8a9e7c771042ff07acb697d2ea5f2cd
+PKG_HASH:= ab1c72aeed2d50403bdf67914e60d936279d065943d83d1c19c20462a7b82cda
PKG_SITES:= http://distfiles.openadk.org/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index b78309b09..9756e91d6 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -43,7 +43,7 @@ LIBSTDCXXVER:= 21
endif
ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
PKG_VERSION:= 4.9.3-nds32
-PKG_HASH:= cbc55dac427e44cc56ee01b6b4d5e91ab0a7c79da7d4a4bbd1ebd48e5ce3abd4
+PKG_HASH:= b628ec1abf03c308b78b1c58d0e8fb90a50e48d195d4a8fc94b80fc1e290a9d5
PKG_SITES:= http://distfiles.openadk.org/
PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz