diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-23 17:03:26 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-27 13:15:28 +0000 |
commit | c391593402109944bacc6f75693a6d21adb0b071 (patch) | |
tree | a7a04369eeb6e90610041ff4559199cf4b01cc9f /meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch | |
parent | fa2fcaee9785f7eeadad890c40fd075fb85aaa78 (diff) | |
download | poky-c391593402109944bacc6f75693a6d21adb0b071.tar.gz |
gcc: Upgrade 7.2 -> 7.3
The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.
This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.
Two backported patches were dropped as they're included in 7.3.
(From OE-Core rev: a4c1ede6876ad6b84ab2b3bece14bf0afdc9d6b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch new file mode 100644 index 0000000000..7d866d9064 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-7.3/0034-aarch64-Add-support-for-musl-ldso.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From b140d6839cfba9cac892bc736d984540552d6a56 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 28 Apr 2015 23:18:39 -0700 | ||
4 | Subject: [PATCH 34/47] aarch64: Add support for musl ldso | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Inappropriate [OE-Specific] | ||
9 | |||
10 | gcc/config/aarch64/aarch64-linux.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h | ||
14 | index a7afe197266..580c2c7ea15 100644 | ||
15 | --- a/gcc/config/aarch64/aarch64-linux.h | ||
16 | +++ b/gcc/config/aarch64/aarch64-linux.h | ||
17 | @@ -24,7 +24,7 @@ | ||
18 | #define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
19 | |||
20 | #undef MUSL_DYNAMIC_LINKER | ||
21 | -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
22 | +#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
23 | |||
24 | #undef ASAN_CC1_SPEC | ||
25 | #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" | ||
26 | -- | ||
27 | 2.12.2 | ||
28 | |||