diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 18:59:20 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 18:59:20 (GMT) |
commit | b365649a8b14f08b2293f249abe26a6b3d507214 (patch) | |
tree | 48fa838eb9c96d86e13dbdb793c58fbe21d2baa5 /patches/gcc/5.1.0/109-aarch64-musl-support.patch | |
parent | 2f135c9f24c40dffad2ae5cc44fb1d2a72635ed4 (diff) |
gcc/patches: Add musl patches to gcc 5.1.0
This commit adds new musl patches from gcc-6 (in development) to
gcc-5.1.0.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/gcc/5.1.0/109-aarch64-musl-support.patch')
-rw-r--r-- | patches/gcc/5.1.0/109-aarch64-musl-support.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/gcc/5.1.0/109-aarch64-musl-support.patch b/patches/gcc/5.1.0/109-aarch64-musl-support.patch new file mode 100644 index 0000000..d6a95ca --- /dev/null +++ b/patches/gcc/5.1.0/109-aarch64-musl-support.patch @@ -0,0 +1,33 @@ +From: jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> +Date: Wed, 27 May 2015 16:46:39 +0000 (+0000) +Subject: [PATCH 3/13] aarch64 musl support +X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=b3ff21cf0531be91bc3fb8200296a7633090ec78 + +[PATCH 3/13] aarch64 musl support + +gcc/Changelog: + +2015-05-27 Gregor Richards <gregor.richards@uwaterloo.ca> + Szabolcs Nagy <szabolcs.nagy@arm.com> + + * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define. + + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223766 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + +diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h +index ba7fc3b..1600a32 100644 +--- a/gcc/config/aarch64/aarch64-linux.h ++++ b/gcc/config/aarch64/aarch64-linux.h +@@ -23,6 +23,9 @@ + + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" + ++#undef MUSL_DYNAMIC_LINKER ++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" ++ + #undef ASAN_CC1_SPEC + #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" + |