diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-15 22:47:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-15 22:47:03 +0200 |
commit | fc597779adafc38a94c55798e42c11df610b7d4d (patch) | |
tree | 66a8141b879fdee7ae7e64312928ed946213c1ea /toolchain/gcc/patches | |
parent | fe4267fb7eb2ee65a4d63efbe08bc2da89f7fcbe (diff) |
musl m68k patch still required
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r-- | toolchain/gcc/patches/8.3.0/m68k-musl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/8.3.0/m68k-musl.patch b/toolchain/gcc/patches/8.3.0/m68k-musl.patch new file mode 100644 index 000000000..a7effec4c --- /dev/null +++ b/toolchain/gcc/patches/8.3.0/m68k-musl.patch @@ -0,0 +1,25 @@ +diff -Nur gcc-7.3.0.orig/gcc/config/m68k/linux.h gcc-7.3.0/gcc/config/m68k/linux.h +--- gcc-7.3.0.orig/gcc/config/m68k/linux.h 2017-01-06 22:21:02.000000000 +0100 ++++ gcc-7.3.0/gcc/config/m68k/linux.h 2018-10-05 06:38:51.000000000 +0200 +@@ -73,6 +73,9 @@ + + #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" + ++#undef MUSL_DYNAMIC_LINKER ++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-m68k.so.1" ++ + #undef LINK_SPEC + #define LINK_SPEC "-m m68kelf %{shared} \ + %{!shared: \ +diff -Nur gcc-7.3.0.orig/libgcc/config/m68k/linux-unwind.h gcc-7.3.0/libgcc/config/m68k/linux-unwind.h +--- gcc-7.3.0.orig/libgcc/config/m68k/linux-unwind.h 2017-07-04 12:22:56.000000000 +0200 ++++ gcc-7.3.0/libgcc/config/m68k/linux-unwind.h 2018-10-05 06:38:51.000000000 +0200 +@@ -37,7 +37,7 @@ + stack_t uc_stack; + mcontext_t uc_mcontext; + unsigned long uc_filler[80]; +- __sigset_t uc_sigmask; ++ sigset_t uc_sigmask; + }; + + #define MD_FALLBACK_FRAME_STATE_FOR m68k_fallback_frame_state |