0015-m68k.diff 885 B

123456789101112131415161718192021222324252627
  1. diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
  2. index c6e005604d4..868c9cc3265 100644
  3. --- a/gcc/config/m68k/linux.h
  4. +++ b/gcc/config/m68k/linux.h
  5. @@ -73,6 +73,9 @@ along with GCC; see the file COPYING3. If not see
  6. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  7. +#undef MUSL_DYNAMIC_LINKER
  8. +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-m68k.so.1"
  9. +
  10. #undef LINK_SPEC
  11. #define LINK_SPEC "-m m68kelf %{shared} \
  12. %{!shared: \
  13. diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h
  14. index 9ea39d454aa..ecab17d3ee7 100644
  15. --- a/libgcc/config/m68k/linux-unwind.h
  16. +++ b/libgcc/config/m68k/linux-unwind.h
  17. @@ -37,7 +37,7 @@ struct uw_ucontext {
  18. stack_t uc_stack;
  19. mcontext_t uc_mcontext;
  20. unsigned long uc_filler[80];
  21. - __sigset_t uc_sigmask;
  22. + sigset_t uc_sigmask;
  23. };
  24. #define MD_FALLBACK_FRAME_STATE_FOR m68k_fallback_frame_state