summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-11 04:00:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-11 04:01:07 +0100
commitc99a84fd7caca010d8c7af6c15e1f6a3fef0d0bf (patch)
treef3494ec2af08d5e905137b03239e7577c0cc7f0d /toolchain/binutils/patches
parente9705123927780f61657cad8f20fe0a4c151d202 (diff)
allow to select nds32 to build uClibc-ng toolchain
Diffstat (limited to 'toolchain/binutils/patches')
-rw-r--r--toolchain/binutils/patches/2.25.1/nds32.patch14
1 files changed, 14 insertions, 0 deletions
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 ;;