From 3145c620aaad8fabf55d3fb6f40ae782e4ff7fa3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Nov 2016 01:05:51 +0100 Subject: musl: add s390 support --- toolchain/gcc/patches/6.2.0/s390-musl.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 toolchain/gcc/patches/6.2.0/s390-musl.patch (limited to 'toolchain') diff --git a/toolchain/gcc/patches/6.2.0/s390-musl.patch b/toolchain/gcc/patches/6.2.0/s390-musl.patch new file mode 100644 index 000000000..f2789e804 --- /dev/null +++ b/toolchain/gcc/patches/6.2.0/s390-musl.patch @@ -0,0 +1,15 @@ +diff -Nur gcc-6.2.0.orig/gcc/config/s390/linux.h gcc-6.2.0/gcc/config/s390/linux.h +--- gcc-6.2.0.orig/gcc/config/s390/linux.h 2016-01-04 15:30:50.000000000 +0100 ++++ gcc-6.2.0/gcc/config/s390/linux.h 2016-11-23 00:05:47.186562086 +0100 +@@ -63,6 +63,11 @@ + #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" + #define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" + ++#undef MUSL_DYNAMIC_LINKER32 ++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1" ++#undef MUSL_DYNAMIC_LINKER64 ++#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