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.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.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.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc-7.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch new file mode 100644 index 0000000000..3aa038c913 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-7.3/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 92beb883ab57a23a35ba76c496bc1f4cabb1690e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 4 May 2016 21:11:34 -0700 | ||
4 | Subject: [PATCH 45/47] Link libgcc using LDFLAGS, not just SHLIB_LDFLAGS | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | libgcc/config/t-slibgcc | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc | ||
15 | index 76be7710960..a1ee2ee26ed 100644 | ||
16 | --- a/libgcc/config/t-slibgcc | ||
17 | +++ b/libgcc/config/t-slibgcc | ||
18 | @@ -32,7 +32,7 @@ SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \ | ||
19 | $(DESTDIR)$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK) | ||
20 | |||
21 | SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ | ||
22 | - $(SHLIB_LDFLAGS) \ | ||
23 | + $(LDFLAGS) $(SHLIB_LDFLAGS) \ | ||
24 | -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \ | ||
25 | $(SHLIB_OBJS) $(SHLIB_LC) && \ | ||
26 | rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \ | ||
27 | -- | ||
28 | 2.12.2 | ||
29 | |||