summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils/patches')
-rw-r--r--toolchain/binutils/patches/2.17/610-cris_target.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.17/610-cris_target.patch b/toolchain/binutils/patches/2.17/610-cris_target.patch
new file mode 100644
index 0000000000..d048024fb4
--- /dev/null
+++ b/toolchain/binutils/patches/2.17/610-cris_target.patch
@@ -0,0 +1,17 @@
+Index: binutils-2.17/ld/configure.tgt
+===================================================================
+--- binutils-2.17.orig/ld/configure.tgt 2008-06-06 20:41:04.000000000 +0100
++++ binutils-2.17/ld/configure.tgt 2008-06-06 20:40:23.000000000 +0100
+@@ -92,8 +92,10 @@
+ cris-*-*aout*) targ_emul=crisaout
+ targ_extra_emuls="criself crislinux"
+ targ_extra_libpath=$targ_extra_emuls ;;
+-cris-*-linux-* | crisv32-*-linux-*)
+- targ_emul=crislinux ;;
++cris-*-linux-* | crisv32-*-linux-*) targ_emul=crislinux
++ targ_extra_emuls="criself crisaout"
++ targ_extra_libpath=$targ_extra_emuls
++ ;;
+ cris-*-* | crisv32-*-*) targ_emul=criself
+ targ_extra_emuls="crisaout crislinux"
+ targ_extra_libpath=$targ_extra_emuls