1 Add dynamic linker support for uClibc
3 Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
5 diff -Nur gcc-4.9.3.orig/gcc/config/microblaze/linux.h gcc-4.9.3/gcc/config/microblaze/linux.h
6 --- gcc-4.9.3.orig/gcc/config/microblaze/linux.h 2016-06-04 21:21:09.430646655 +0200
7 +++ gcc-4.9.3/gcc/config/microblaze/linux.h 2016-06-04 21:21:44.596003509 +0200
10 #undef MUSL_DYNAMIC_LINKER
11 #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-microblaze" MUSL_DYNAMIC_LINKER_E ".so.1"
12 +#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
13 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
15 #if DEFAULT_LIBC == LIBC_MUSL
16 #define DYNAMIC_LINKER MUSL_DYNAMIC_LINKER
17 +#elif DEFAULT_LIBC == LIBC_UCLIBC
18 +#define DYNAMIC_LINKER UCLIBC_DYNAMIC_LINKER
20 #define DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER