summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.7.3
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:11 +0200
commit2b1f67debe40049cbaa2f008d6de788ba6d17ca0 (patch)
tree3c83ef1158ad09ad948191c813f3343bc51c12f8 /toolchain/gcc/patches/4.7.3
parentbd66c8f78a365b7e2027c52eb8ec8f7babf707ff (diff)
fix cris build
Diffstat (limited to 'toolchain/gcc/patches/4.7.3')
-rw-r--r--toolchain/gcc/patches/4.7.3/musl-cris.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7.3/musl-cris.patch b/toolchain/gcc/patches/4.7.3/musl-cris.patch
new file mode 100644
index 000000000..4889263a1
--- /dev/null
+++ b/toolchain/gcc/patches/4.7.3/musl-cris.patch
@@ -0,0 +1,11 @@
+diff -Nur gcc-4.7.3.orig/gcc/config/cris/linux.h gcc-4.7.3/gcc/config/cris/linux.h
+--- gcc-4.7.3.orig/gcc/config/cris/linux.h 2011-04-11 20:46:05.000000000 +0200
++++ gcc-4.7.3/gcc/config/cris/linux.h 2013-10-11 10:01:51.000000000 +0200
+@@ -104,6 +104,7 @@
+ #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-cris.1"
+
+ #undef CRIS_LINK_SUBTARGET_SPEC
+ #define CRIS_LINK_SUBTARGET_SPEC \