0011-m68k.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From cc44e95053140efe41212746882d410052b480a3 Mon Sep 17 00:00:00 2001
  2. From: Szabolcs Nagy <nsz@port70.net>
  3. Date: Sun, 1 Jul 2018 18:34:01 +0000
  4. Subject: [PATCH 11/12] m68k
  5. ---
  6. gcc/config/m68k/linux.h | 3 +++
  7. libgcc/config/m68k/linux-unwind.h | 2 +-
  8. 2 files changed, 4 insertions(+), 1 deletion(-)
  9. diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
  10. index f584d19e179..a3c215550fe 100644
  11. --- a/gcc/config/m68k/linux.h
  12. +++ b/gcc/config/m68k/linux.h
  13. @@ -73,6 +73,9 @@ along with GCC; see the file COPYING3. If not see
  14. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  15. +#undef MUSL_DYNAMIC_LINKER
  16. +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-m68k.so.1"
  17. +
  18. #undef LINK_SPEC
  19. #define LINK_SPEC "-m m68kelf %{shared} \
  20. %{!shared: \
  21. diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h
  22. index 395e4b3212a..432b757541c 100644
  23. --- a/libgcc/config/m68k/linux-unwind.h
  24. +++ b/libgcc/config/m68k/linux-unwind.h
  25. @@ -37,7 +37,7 @@ struct uw_ucontext {
  26. stack_t uc_stack;
  27. mcontext_t uc_mcontext;
  28. unsigned long uc_filler[80];
  29. - __sigset_t uc_sigmask;
  30. + sigset_t uc_sigmask;
  31. };
  32. #define MD_FALLBACK_FRAME_STATE_FOR m68k_fallback_frame_state
  33. --
  34. 2.17.1