0022-powerpcspe-musl-ldsoname.diff 1.1 KB

12345678910111213141516171819202122
  1. --- gcc-8.5.0/gcc/config/rs6000/sysv4.h.orig 2021-07-05 12:56:18.398813835 -0400
  2. +++ gcc-8.5.0/gcc/config/rs6000/sysv4.h 2021-06-23 21:49:57.592408186 -0400
  3. @@ -793,7 +793,7 @@
  4. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  5. #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
  6. #define MUSL_DYNAMIC_LINKER \
  7. - "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
  8. + "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float|mcpu=854*|mspe:-sf}.so.1"
  9. #if DEFAULT_LIBC == LIBC_UCLIBC
  10. #define CHOOSE_DYNAMIC_LINKER(G, U, M) \
  11. "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
  12. --- gcc-8.5.0/gcc/config/rs6000/linux64.h.orig 2021-07-05 12:54:24.704854044 -0400
  13. +++ gcc-8.5.0/gcc/config/rs6000/linux64.h 2021-07-05 12:56:50.010806923 -0400
  14. @@ -426,7 +426,7 @@
  15. #endif
  16. #define MUSL_DYNAMIC_LINKER32 \
  17. - "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
  18. + "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float|mcpu=854*|mspe:-sf}.so.1"
  19. #define MUSL_DYNAMIC_LINKER64 \
  20. "/lib/ld-musl-powerpc64" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"