summaryrefslogtreecommitdiff
path: root/package/gcc/patches/4.8.2/musl-sh.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-06 17:03:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-06 17:03:59 +0100
commit710c7e13df471fe6b5366d4a284d02cd30479cc0 (patch)
treecb334404683c9fb03e6baa337749d6663557a88a /package/gcc/patches/4.8.2/musl-sh.patch
parentb42d26ca729134d31887445856c65a85da69fb65 (diff)
parent3f8e6e157f3183d1af9ce7933b99ff8b3d5e3c20 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/patches/4.8.2/musl-sh.patch')
-rw-r--r--package/gcc/patches/4.8.2/musl-sh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gcc/patches/4.8.2/musl-sh.patch b/package/gcc/patches/4.8.2/musl-sh.patch
new file mode 100644
index 000000000..237f76f63
--- /dev/null
+++ b/package/gcc/patches/4.8.2/musl-sh.patch
@@ -0,0 +1,11 @@
+diff -Nur gcc-4.8.2.orig/gcc/config/sh/linux.h gcc-4.8.2/gcc/config/sh/linux.h
+--- gcc-4.8.2.orig/gcc/config/sh/linux.h 2013-03-14 04:01:53.000000000 +0100
++++ gcc-4.8.2/gcc/config/sh/linux.h 2014-03-01 11:33:10.000000000 +0100
+@@ -44,6 +44,7 @@
+ #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-sh.so.1"
+
+ #undef SUBTARGET_LINK_EMUL_SUFFIX
+ #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"