From f00b09f6541f4b3416dcd65fb1481a6c64215873 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 11 Nov 2016 23:42:54 -0500 Subject: [PATCH] add patch for s390x musl ldso name to gcc 6.2.0 patchset --- patches/gcc-6.2.0/0014-s390x-muslldso.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/gcc-6.2.0/0014-s390x-muslldso.diff diff --git a/patches/gcc-6.2.0/0014-s390x-muslldso.diff b/patches/gcc-6.2.0/0014-s390x-muslldso.diff new file mode 100644 index 0000000..5cf21f8 --- /dev/null +++ b/patches/gcc-6.2.0/0014-s390x-muslldso.diff @@ -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} \