python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / gcc / 4.9.4 / 901-microblaze-uclibc.patch
blob82c44e149f3dd8b6ba70924f1d3c674b23411d1b
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
8 @@ -36,10 +36,13 @@
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
19 #else
20 #define DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER
21 #endif