From c99a84fd7caca010d8c7af6c15e1f6a3fef0d0bf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Mar 2016 04:00:49 +0100 Subject: allow to select nds32 to build uClibc-ng toolchain --- toolchain/binutils/patches/2.25.1/nds32.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 toolchain/binutils/patches/2.25.1/nds32.patch (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/patches/2.25.1/nds32.patch b/toolchain/binutils/patches/2.25.1/nds32.patch new file mode 100644 index 000000000..a7fcc5120 --- /dev/null +++ b/toolchain/binutils/patches/2.25.1/nds32.patch @@ -0,0 +1,14 @@ +diff -Nur binutils-2.25.1.orig/ld/configure.tgt binutils-2.25.1/ld/configure.tgt +--- binutils-2.25.1.orig/ld/configure.tgt 2014-10-14 09:32:04.000000000 +0200 ++++ binutils-2.25.1/ld/configure.tgt 2016-03-10 00:45:31.000000000 +0100 +@@ -525,8 +525,8 @@ + nds32*be-*-elf*) targ_emul=nds32belf + targ_extra_emuls="nds32elf nds32elf16m nds32belf16m" + ;; +-nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; +-nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; ++nds32*le-*-linux*) targ_emul=nds32elf_linux ;; ++nds32*be-*-linux*) targ_emul=nds32belf_linux ;; + nios2*-*-linux*) targ_emul=nios2linux ;; + nios2*-*-*) targ_emul=nios2elf ;; + ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; -- cgit v1.2.3