summaryrefslogtreecommitdiff
path: root/package/gcc/patches/musl-cris.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-24 10:26:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-24 10:26:56 +0200
commit1d6cd4132fa0863213e0aef9a3e6702796776078 (patch)
tree5613cfbb1f58e8c480659bddaaf42a4d87316b8c /package/gcc/patches/musl-cris.patch
parent394927e73c8b93754e3b841e5b8aefbde81c5143 (diff)
parent9e2de8dc3d63c1ba795ca96d98d1272582e441fb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/patches/musl-cris.patch')
-rw-r--r--package/gcc/patches/musl-cris.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gcc/patches/musl-cris.patch b/package/gcc/patches/musl-cris.patch
new file mode 100644
index 000000000..4889263a1
--- /dev/null
+++ b/package/gcc/patches/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 \