at91: add support for the WB50N module from Laird
[openwrt/openwrt.git] / toolchain / gcc / patches / 5.4.0 / 270-musl-add-powerpc-softfloat-fix.patch
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
18 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
19 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
20 -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E ".so.1"
21 +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
22 #if DEFAULT_LIBC == LIBC_UCLIBC
23 #define CHOOSE_DYNAMIC_LINKER(G, U, M) "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
24 #elif DEFAULT_LIBC == LIBC_MUSL