You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.3 KiB

  1. --- a/gcc/config/rs6000/linux64.h
  2. +++ b/gcc/config/rs6000/linux64.h
  3. @@ -369,8 +369,8 @@ extern int dot_symbols;
  4. #endif
  5. #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
  6. #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
  7. -#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E ".so.1"
  8. -#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-powerpc64" MUSL_DYNAMIC_LINKER_E ".so.1"
  9. +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
  10. +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-powerpc64" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
  11. #if DEFAULT_LIBC == LIBC_UCLIBC
  12. #define CHOOSE_DYNAMIC_LINKER(G, U, M) "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
  13. #elif DEFAULT_LIBC == LIBC_GLIBC
  14. --- a/gcc/config/rs6000/sysv4.h
  15. +++ b/gcc/config/rs6000/sysv4.h
  16. @@ -765,7 +765,7 @@ ENDIAN_SELECT(" -mbig", " -mlittle", DEF
  17. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  18. #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
  19. -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E ".so.1"
  20. +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
  21. #if DEFAULT_LIBC == LIBC_UCLIBC
  22. #define CHOOSE_DYNAMIC_LINKER(G, U, M) "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
  23. #elif DEFAULT_LIBC == LIBC_MUSL