diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-11 10:35:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:40:50 +0100 |
commit | 93226e8c74be438781df79f0be5cbf563c79df8b (patch) | |
tree | 6f835995f61c293ada1931f2e7a7d58b4bd543ab /meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch | |
parent | 4f2898f598c466fa0fde5be64ac4d6a60aae68f7 (diff) | |
download | openembedded-core-93226e8c74be438781df79f0be5cbf563c79df8b.tar.gz |
gcc: Add gcc6 recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch b/meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch new file mode 100644 index 0000000000..0744529741 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch @@ -0,0 +1,28 @@ +From 551a5db7acb56e085a101f1c222d51b2c1b039a4 Mon Sep 17 00:00:00 2001 +From: Szabolcs Nagy <nsz@port70.net> +Date: Sat, 7 Nov 2015 14:58:40 +0000 +Subject: [PATCH 41/46] ssp_nonshared + +--- +Upstream-Status: Inappropriate [OE Configuration] + + gcc/gcc.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/gcc/gcc.c b/gcc/gcc.c +index 2812819..9de96ee 100644 +--- a/gcc/gcc.c ++++ b/gcc/gcc.c +@@ -863,7 +863,8 @@ proper position among the other output files. */ + #ifndef LINK_SSP_SPEC + #ifdef TARGET_LIBC_PROVIDES_SSP + #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ +- "|fstack-protector-strong|fstack-protector-explicit:}" ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" + #else + #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ + "|fstack-protector-strong|fstack-protector-explicit" \ +-- +2.8.2 + |