1
0

musl-sparc.patch 979 B

123456789101112131415161718192021222324
  1. diff -Nur gcc-4.7.3.orig/gcc/config/sparc/linux64.h gcc-4.7.3/gcc/config/sparc/linux64.h
  2. --- gcc-4.7.3.orig/gcc/config/sparc/linux64.h 2011-11-12 02:05:07.000000000 +0100
  3. +++ gcc-4.7.3/gcc/config/sparc/linux64.h 2013-09-19 11:37:50.000000000 +0200
  4. @@ -95,6 +95,9 @@
  5. #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
  6. #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
  7. +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-sparc.1"
  8. +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-sparc.1"
  9. +
  10. #ifdef SPARC_BI_ARCH
  11. diff -Nur gcc-4.7.3.orig/gcc/config/sparc/linux.h gcc-4.7.3/gcc/config/sparc/linux.h
  12. --- gcc-4.7.3.orig/gcc/config/sparc/linux.h 2011-11-12 02:05:07.000000000 +0100
  13. +++ gcc-4.7.3/gcc/config/sparc/linux.h 2013-09-19 11:37:12.000000000 +0200
  14. @@ -85,6 +85,7 @@
  15. done. */
  16. #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
  17. +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-sparc.1"
  18. #undef LINK_SPEC
  19. #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \