1
0

musl-mips64.patch 799 B

1234567891011121314
  1. diff -Nur gcc-4.7.3.orig/gcc/config/mips/linux64.h gcc-4.7.3/gcc/config/mips/linux64.h
  2. --- gcc-4.7.3.orig/gcc/config/mips/linux64.h 2011-07-19 20:00:27.000000000 +0200
  3. +++ gcc-4.7.3/gcc/config/mips/linux64.h 2013-09-17 09:24:36.000000000 +0200
  4. @@ -28,6 +28,9 @@
  5. #define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
  6. #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
  7. #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
  8. +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips.so.1"
  9. +#define MUSL_DYNAMIC_LINKERN32 "/lib/ld-musl-mips.so.1"
  10. +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-mips.so.1"
  11. #define GNU_USER_DYNAMIC_LINKERN32 \
  12. CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
  13. - BIONIC_DYNAMIC_LINKERN32)
  14. + BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32)