python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / gcc / 5.4.0 / 906-mips-musl-support.patch
blob6b473f9898a776771c47b9c2c2ecd236473d66dd
1 From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
2 Date: Fri, 8 May 2015 15:16:50 +0000 (+0000)
3 Subject: [PATCH 6/13] mips musl support
4 X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=2550b6a866c887472b587bef87d433c51cf1ebc8
6 [PATCH 6/13] mips musl support
8 2015-05-08 Gregor Richards <gregor.richards@uwaterloo.ca>
9 Szabolcs Nagy <szabolcs.nagy@arm.com>
11 * config/mips/linux.h (MUSL_DYNAMIC_LINKER32): Define.
12 (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERN32): Define.
13 (GNU_USER_DYNAMIC_LINKERN32): Update.
16 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222915 138bc75d-0d04-0410-961f-82ee72b054a4
17 ---
19 Index: b/gcc/config/mips/linux.h
20 ===================================================================
21 --- a/gcc/config/mips/linux.h
22 +++ b/gcc/config/mips/linux.h
23 @@ -37,7 +37,13 @@
24 #define UCLIBC_DYNAMIC_LINKERN32 \
25 "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
27 +#undef MUSL_DYNAMIC_LINKER32
28 +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1"
29 +#undef MUSL_DYNAMIC_LINKER64
30 +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-mips64%{EL:el}%{msoft-float:-sf}.so.1"
31 +#define MUSL_DYNAMIC_LINKERN32 "/lib/ld-musl-mipsn32%{EL:el}%{msoft-float:-sf}.so.1"
33 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
34 #define GNU_USER_DYNAMIC_LINKERN32 \
35 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
36 - BIONIC_DYNAMIC_LINKERN32)
37 + BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32)