summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-15 21:41:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-15 21:41:29 +0200
commit31a19fcb47c89cf0e3af5650e9ef40637496f037 (patch)
treeac962afcecc612ff579beffa9fac7d15f214f4a4 /toolchain
parentc1d15b8956247011d10bb35a0ff3f83ec98b3a2e (diff)
musl on s390, add missing patch for gcc 8.3.0
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/8.3.0/musl-s390x.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/8.3.0/musl-s390x.patch b/toolchain/gcc/patches/8.3.0/musl-s390x.patch
new file mode 100644
index 000000000..1163bdbf4
--- /dev/null
+++ b/toolchain/gcc/patches/8.3.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} \