Message ID | 6D39441BF12EF246A7ABCE6654B023537E4C6D1A@HHMAIL01.hh.imgtec.org |
---|---|
State | New |
Headers | show |
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index fa253b6..2d79715 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -38,10 +38,13 @@ along with GCC; see the file COPYING3. If not see "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}" #undef MUSL_DYNAMIC_LINKER32 -#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1" +#define MUSL_DYNAMIC_LINKER32 \ + "/lib/ld-musl-mips%{mips32r6:r6}%{EL:el}%{msoft-float:-sf}.so.1 This should be %{mips32r6|mips64r6:r6} as you can target o32 from a 64-bit architecture. Otherwise, OK. Thanks for the patch, Matthew