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-28 10:14:01 +0000 |
commit | c23734c45fb1239406d054039a0f56413b955eb9 (patch) | |
tree | 39cbbea7dbba076db8dc7857848bc99ac21c2398 /meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch | |
parent | c770664d3125a0a0e73444a3a2a97418b7c0d7a5 (diff) | |
download | poky-c23734c45fb1239406d054039a0f56413b955eb9.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: 99b1998157ecbd2bc8ac7c24fae859d48b152f58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch b/meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch deleted file mode 100644 index 879e360cf3..0000000000 --- a/meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 44ef80688b56beea85c0070840dea1e2a4e34aed Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 13 Jun 2017 12:12:52 -0700 | ||
4 | Subject: [PATCH 49/49] gcc: Enable static PIE | ||
5 | |||
6 | Static PIE support in GCC | ||
7 | see | ||
8 | https://gcc.gnu.org/ml/gcc/2015-06/msg00008.html | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | gcc/config/gnu-user.h | 6 +++--- | ||
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h | ||
18 | index 2787a3d16be..ee7b781319e 100644 | ||
19 | --- a/gcc/config/gnu-user.h | ||
20 | +++ b/gcc/config/gnu-user.h | ||
21 | @@ -51,10 +51,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | ||
22 | #if defined HAVE_LD_PIE | ||
23 | #define GNU_USER_TARGET_STARTFILE_SPEC \ | ||
24 | "%{!shared: %{pg|p|profile:gcrt1.o%s;: \ | ||
25 | - %{" PIE_SPEC ":Scrt1.o%s} %{" NO_PIE_SPEC ":crt1.o%s}}} \ | ||
26 | - crti.o%s %{static:crtbeginT.o%s;: %{shared:crtbeginS.o%s} \ | ||
27 | + %{" PIE_SPEC ":%{static:rcrt1.o%s;:Scrt1.o%s}} %{" NO_PIE_SPEC ":crt1.o%s}}} \ | ||
28 | + crti.o%s %{shared:crtbeginS.o%s;: \ | ||
29 | %{" PIE_SPEC ":crtbeginS.o%s} \ | ||
30 | - %{" NO_PIE_SPEC ":crtbegin.o%s}} \ | ||
31 | + %{" NO_PIE_SPEC ":%{static:crtbeginT.o%s;:crtbegin.o%s}}} \ | ||
32 | %{fvtable-verify=none:%s; \ | ||
33 | fvtable-verify=preinit:vtv_start_preinit.o%s; \ | ||
34 | fvtable-verify=std:vtv_start.o%s} \ | ||
35 | -- | ||
36 | 2.13.1 | ||
37 | |||