From f9fb9efc5f61af6990822517cd3fc5bb29de73e6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 30 Oct 2017 18:53:37 +0100 Subject: musl: patch required for ld.so --- toolchain/gcc/patches/7.2.0/musl-s390x.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/gcc/patches/7.2.0/musl-s390x.patch (limited to 'toolchain') diff --git a/toolchain/gcc/patches/7.2.0/musl-s390x.patch b/toolchain/gcc/patches/7.2.0/musl-s390x.patch new file mode 100644 index 000000000..1163bdbf4 --- /dev/null +++ b/toolchain/gcc/patches/7.2.0/musl-s390x.patch @@ -0,0 +1,13 @@ +diff -Nur gcc-7.2.0.orig/gcc/config/s390/linux.h gcc-7.2.0/gcc/config/s390/linux.h +--- gcc-7.2.0.orig/gcc/config/s390/linux.h 2017-02-06 11:25:05.513198000 +0100 ++++ gcc-7.2.0/gcc/config/s390/linux.h 2017-10-30 13:22:45.348170100 +0100 +@@ -76,6 +76,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} \ -- cgit v1.2.3