Re: [PATCH, rs6000][v3] powerpc musl libc support

2015-10-16 Thread Szabolcs Nagy
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 "}}"

Re: [PATCH, rs6000][v3] powerpc musl libc support

2015-10-16 Thread Segher Boessenkool
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

[PATCH, rs6000][v3] powerpc musl libc support

2015-10-16 Thread Szabolcs Nagy
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