summaryrefslogtreecommitdiff
path: root/package/gcc/patches/musl-sh.patch
blob: 7738f266e0f33ccec0beaac9046aaada61e415b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur gcc-4.7.3.orig/gcc/config/sh/linux.h gcc-4.7.3/gcc/config/sh/linux.h
--- gcc-4.7.3.orig/gcc/config/sh/linux.h	2013-03-25 23:55:56.000000000 +0100
+++ gcc-4.7.3/gcc/config/sh/linux.h	2013-09-26 21:16:39.000000000 +0200
@@ -46,6 +46,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.1"
 
 #undef SUBTARGET_LINK_EMUL_SUFFIX
 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"