6925a026e7e3e245f1954e6b2c6217555db26d7f
[openwrt/staging/yousong.git] / toolchain / gcc / patches / 5.2.0 / 206-musl_aarch64.patch
1 From: jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
2 Date: Wed, 27 May 2015 16:46:39 +0000 (+0000)
3 Subject: [PATCH 3/13] aarch64 musl support
4 X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=b3ff21cf0531be91bc3fb8200296a7633090ec78
5
6 [PATCH 3/13] aarch64 musl support
7
8 gcc/Changelog:
9
10 2015-05-27 Gregor Richards <gregor.richards@uwaterloo.ca>
11 Szabolcs Nagy <szabolcs.nagy@arm.com>
12
13 * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.
14
15
16
17 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223766 138bc75d-0d04-0410-961f-82ee72b054a4
18 ---
19
20 --- a/gcc/config/aarch64/aarch64-linux.h
21 +++ b/gcc/config/aarch64/aarch64-linux.h
22 @@ -23,6 +23,9 @@
23
24 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
25
26 +#undef MUSL_DYNAMIC_LINKER
27 +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
28 +
29 #undef ASAN_CC1_SPEC
30 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
31