On 16/10/15 17:35, Segher Boessenkool wrote:
Hi!
On Fri, Oct 16, 2015 at 04:58:06PM +0100, Szabolcs Nagy wrote:
#if DEFAULT_LIBC == LIBC_UCLIBC
-#define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
+#define CHOOSE_DYNAMIC_LINKER(G, U, M) \
+ "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
Hi!
On Fri, Oct 16, 2015 at 04:58:06PM +0100, Szabolcs Nagy wrote:
> #if DEFAULT_LIBC == LIBC_UCLIBC
> -#define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
> +#define CHOOSE_DYNAMIC_LINKER(G, U, M) \
> + "%{mglibc:" G ";:%{mmusl:" M ";:" U "}}"
> #elif DEFAULT_LIBC == LIBC_GLIBC
> -#de
Revision of
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01640.html
This adds musl libc support to powerpc:
- The dynamic-linker name is /lib/ld-musl-powerpc{64}{le}{-sf}.so.1
- The include order is changed for musl as in linux.h.
New in this revision:
Soft float abi detection through "{msoft