add patch for s390x musl ldso name to gcc 6.2.0 patchset

This commit is contained in:
Rich Felker 2016-11-11 23:42:54 -05:00
parent a4c1265daa
commit f00b09f654
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- gcc-6.2.0/gcc/config/s390/linux.h.orig 2016-11-11 23:15:14.289495938 -0500
+++ gcc-6.2.0/gcc/config/s390/linux.h 2016-11-11 23:20:25.854648405 -0500
@@ -63,6 +63,9 @@
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
+#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1"
+#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-s390x.so.1"
+
#undef LINK_SPEC
#define LINK_SPEC \
"%{m31:-m elf_s390}%{m64:-m elf64_s390} \