From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f66.google.com (mail-it0-f66.google.com [209.85.214.66]) by mail.openembedded.org (Postfix) with ESMTP id 4FA1578699 for ; Wed, 15 Nov 2017 19:00:29 +0000 (UTC) Received: by mail-it0-f66.google.com with SMTP id m191so2982408itg.2 for ; Wed, 15 Nov 2017 11:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rU5IcLCAuim6uA+eIw9ozxKyey0asS6Y1u8cYrqHq1M=; b=kO5dUxZMRHmfm9OWxjnN7qMV5DRBWYreQ769B+og52Zgk12D85YCG32hs58WNbEO5R DFRRGlSrq3Awje4s23kIilrIQ2ZWt+6cyhna1d58IqOmkT0FGusKqlUkFVW3+5lHXjgB yrzskgAC1qiQwW1q31Vv8zUhs5F2K41MVH0wdnMBEbY0YPzeYDR+Fg3e9to7CoaF4xh/ VptNnqn1p5wxsTLJ82LyjageCJoU1xSzc+QGCzxspPgdQW7g768im8tDslRxRYRfQHve +fWdcAmvGZan4jGVb52kVpLMTt0xkbgj1G6g0LjSeRYK4ikMFN89JWxwf6lr/j4C5GCF xvlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rU5IcLCAuim6uA+eIw9ozxKyey0asS6Y1u8cYrqHq1M=; b=kUmFhYJBWx53CN/1HBlm3V6HHeaJArNCwhOwBIivAHjkpDWTDm8lYt6XT+O54durNU E2/tm3j7gE/WU2of636/2kAqg6yQHmkgeTLkzibPQpwmY2IsPQsu7m/PJmzzXQnWtXO6 5RO13A6FgQQvcTONCzkoQhLJliAr3C0VOyuD6NPYbAYjxDVB+Zc0RVhQaU8lVN/y61mF DJrM0rGRsp3iH5DsFDqlKXhlg0UfulJkTabYE58lly1zC7guO4WwdrovOZU/YLaTvFej BOeYpRBQrIlL9wsVdtnhlttTjPk+PP79j7S6yqDfMYQTbUMzIKY9SzSrdBPzxtWgKEqb jo4g== X-Gm-Message-State: AJaThX6gVGLEcv+ivirH+CYFFd+Kyh9v0zChoNHdURq5lbq/kaABvcYY fy8P30Wl46FTo8Nn4qU4j4Tyh77dO/crymqQ0Uw= X-Google-Smtp-Source: AGs4zMaWHEL8p2nBmb6DH116bAJxnF7LmeWaczGY1jMbVmIEFS8ACI19nxJE2S+kV6UbWRp9Lahos0H/HgK6GGYMPhg= X-Received: by 10.36.66.80 with SMTP id i77mr22154442itb.102.1510772430981; Wed, 15 Nov 2017 11:00:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.18.11 with HTTP; Wed, 15 Nov 2017 11:00:30 -0800 (PST) In-Reply-To: <20171113190011.17183-1-florin@resin.io> References: <20171113190011.17183-1-florin@resin.io> From: Florin Ionut Date: Wed, 15 Nov 2017 21:00:30 +0200 Message-ID: To: openembedded-core@lists.openembedded.org Cc: Florin Sarbu Subject: Re: [pyro][PATCH] gcc: Use libssp_nonshared linker specs only for ppc/musl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 19:00:30 -0000 Content-Type: multipart/alternative; boundary="001a1140695815d034055e0a1eef" --001a1140695815d034055e0a1eef Content-Type: text/plain; charset="UTF-8" Hi, any comments on this commit? Thanks On Mon, Nov 13, 2017 at 9:00 PM, Florin Sarbu wrote: > Link libssp_nonshared.a only for ppc/musl because glibc already > provides the content for libssp_nonshared in libc_nonshared.a and > therefore we dont need to make it universal. > > (From OE-Core rev: c08247e3c7c004a40281d4010186a9ace86e0e47) > > Signed-off-by: Florin Sarbu > --- > meta/recipes-devtools/gcc/gcc-6.3.inc | 2 +- > ...shared-to-link-commandline-for-musl-targe.patch | 87 > ++++++++++++++++++++++ > .../gcc/gcc-6.3/0041-ssp_nonshared.patch | 28 ------- > 3 files changed, 88 insertions(+), 29 deletions(-) > create mode 100644 meta/recipes-devtools/gcc/gcc- > 6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch > delete mode 100644 meta/recipes-devtools/gcc/gcc- > 6.3/0041-ssp_nonshared.patch > > diff --git a/meta/recipes-devtools/gcc/gcc-6.3.inc > b/meta/recipes-devtools/gcc/gcc-6.3.inc > index d74f12c466..5c81a33af0 100644 > --- a/meta/recipes-devtools/gcc/gcc-6.3.inc > +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc > @@ -71,7 +71,7 @@ SRC_URI = "\ > file://0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch > \ > file://0039-Fix-various-_FOR_BUILD-and-related-variables.patch > \ > file://0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch \ > - file://0041-ssp_nonshared.patch \ > + file://0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch > \ > file://0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch > \ > file://0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch > \ > file://0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch > \ > diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_ > nonshared-to-link-commandline-for-musl-targe.patch > b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_ > nonshared-to-link-commandline-for-musl-targe.patch > new file mode 100644 > index 0000000000..29b7ce72d2 > --- /dev/null > +++ b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_ > nonshared-to-link-commandline-for-musl-targe.patch > @@ -0,0 +1,87 @@ > +From 210f6b3b82084cc756e02b8bc12f909a43b14ee8 Mon Sep 17 00:00:00 2001 > +From: Khem Raj > +Date: Tue, 27 Jun 2017 18:10:54 -0700 > +Subject: [PATCH 40/49] Add ssp_nonshared to link commandline for musl > targets > + > +when -fstack-protector options are enabled we need to > +link with ssp_shared on musl since it does not provide > +the __stack_chk_fail_local() so essentially it provides > +libssp but not libssp_nonshared something like > +TARGET_LIBC_PROVIDES_SSP_BUT_NOT_SSP_NONSHARED > + where-as for glibc the needed symbols > +are already present in libc_nonshared library therefore > +we do not need any library helper on glibc based systems > +but musl needs the libssp_noshared from gcc > + > +Upstream-Status: Pending > + > +Signed-off-by: Khem Raj > +--- > + gcc/config/linux.h | 7 +++++++ > + gcc/config/rs6000/linux.h | 10 ++++++++++ > + gcc/config/rs6000/linux64.h | 10 ++++++++++ > + 3 files changed, 27 insertions(+) > + > +diff --git a/gcc/config/linux.h b/gcc/config/linux.h > +index 2e683d0c430..1b4df798671 100644 > +--- a/gcc/config/linux.h > ++++ b/gcc/config/linux.h > +@@ -182,6 +182,13 @@ see the files COPYING3 and COPYING.RUNTIME > respectively. If not, see > + { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ > + { 0, 0, 0, 0, 0, 0 } \ > + } > ++#ifdef TARGET_LIBC_PROVIDES_SSP > ++#undef LINK_SSP_SPEC > ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ > ++ "|fstack-protector-strong|fstack-protector-explicit" > \ > ++ ":-lssp_nonshared}" > ++#endif > ++ > + #endif > + > + #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */ > +diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h > +index 684afd6c190..22cfa391b89 100644 > +--- a/gcc/config/rs6000/linux.h > ++++ b/gcc/config/rs6000/linux.h > +@@ -91,6 +91,16 @@ > + " -m elf32ppclinux") > + #endif > + > ++/* link libssp_nonshared.a with musl */ > ++#if DEFAULT_LIBC == LIBC_MUSL > ++#ifdef TARGET_LIBC_PROVIDES_SSP > ++#undef LINK_SSP_SPEC > ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ > ++ "|fstack-protector-strong|fstack-protector-explicit" > \ > ++ ":-lssp_nonshared}" > ++#endif > ++#endif > ++ > + #undef LINK_OS_LINUX_SPEC > + #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \ > + %{rdynamic:-export-dynamic} \ > +diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h > +index 3b00ec0fcf0..8371f8d7b6b 100644 > +--- a/gcc/config/rs6000/linux64.h > ++++ b/gcc/config/rs6000/linux64.h > +@@ -465,6 +465,16 @@ extern int dot_symbols; > + " -m elf64ppc") > + #endif > + > ++/* link libssp_nonshared.a with musl */ > ++#if DEFAULT_LIBC == LIBC_MUSL > ++#ifdef TARGET_LIBC_PROVIDES_SSP > ++#undef LINK_SSP_SPEC > ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ > ++ "|fstack-protector-strong|fstack-protector-explicit" > \ > ++ ":-lssp_nonshared}" > ++#endif > ++#endif > ++ > + #define LINK_OS_LINUX_SPEC32 LINK_OS_LINUX_EMUL32 " %{!shared: > %{!static: \ > + %{rdynamic:-export-dynamic} \ > + -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \ > +-- > +2.13.2 > + > diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch > b/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch > deleted file mode 100644 > index 0744529741..0000000000 > --- a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch > +++ /dev/null > @@ -1,28 +0,0 @@ > -From 551a5db7acb56e085a101f1c222d51b2c1b039a4 Mon Sep 17 00:00:00 2001 > -From: Szabolcs Nagy > -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 > - > -- > 2.13.6 > > --001a1140695815d034055e0a1eef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
any comments on this commit?

<= div>Thanks

On Mon, Nov 13, 2017 at 9:00 PM, Florin Sarbu <samentu1@gmail.com> wrote:
Link libssp_nonshared= .a only for ppc/musl because glibc already
provides the content for libssp_nonshared in libc_nonshared.a and
therefore we dont need to make it universal.

(From OE-Core rev: c08247e3c7c004a40281d4010186a9ace86e0e47)

Signed-off-by: Florin Sarbu <florin@r= esin.io>
---
=C2=A0meta/recipes-devtools/gcc/gcc-6.3.inc=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +-
=C2=A0...shared-to-link-commandline-for-musl-targe.patch | 87 ++++++++= ++++++++++++++
=C2=A0.../gcc/gcc-6.3/0041-ssp_nonshared.patch=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0| 28 -------
=C2=A03 files changed, 88 insertions(+), 29 deletions(-)
=C2=A0create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ss= p_nonshared-to-link-commandline-for-musl-targe.patch
=C2=A0delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_no= nshared.patch

diff --git a/meta/recipes-devtools/gcc/gcc-6.3.inc b/meta/recipes-devt= ools/gcc/gcc-6.3.inc
index d74f12c466..5c81a33af0 100644
--- a/meta/recipes-devtools/gcc/gcc-6.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-6.3.inc
@@ -71,7 +71,7 @@ SRC_URI =3D "\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0038-Search-target-sy= sroot-gcc-version-specific-dirs-with.patch \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0039-Fix-various-_FOR_BUILD-and-related-variables.patch \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0file://0041-ssp_nonshared.pa= tch \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0file://0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0042-gcc-libcpp-suppo= rt-ffile-prefix-map-old-new.patch \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0043-Reuse-fdebug-pre= fix-map-to-replace-ffile-prefix-map.patch \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://0044-gcc-final.c-fdeb= ug-prefix-map-support-to-remap-sourc.patch \
diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonsh= ared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/= gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-m= usl-targe.patch
new file mode 100644
index 0000000000..29b7ce72d2
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to= -link-commandline-for-musl-targe.patch
@@ -0,0 +1,87 @@
+From 210f6b3b82084cc756e02b8bc12f909a43b14ee8 Mon Sep 17 00:00:00 200= 1
+From: Khem Raj <raj.khem@gmail.co= m>
+Date: Tue, 27 Jun 2017 18:10:54 -0700
+Subject: [PATCH 40/49] Add ssp_nonshared to link commandline for musl targ= ets
+
+when -fstack-protector options are enabled we need to
+link with ssp_shared on musl since it does not provide
+the __stack_chk_fail_local() so essentially it provides
+libssp but not libssp_nonshared something like
+TARGET_LIBC_PROVIDES_SSP_BUT_NOT_SSP_NONSHARED
+ where-as for glibc the needed symbols
+are already present in libc_nonshared library therefore
+we do not need any library helper on glibc based systems
+but musl needs the libssp_noshared from gcc
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem= @gmail.com>
+---
+ gcc/config/linux.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++++ + gcc/config/rs6000/linux.h=C2=A0 =C2=A0| 10 ++++++++++
+ gcc/config/rs6000/linux64.h | 10 ++++++++++
+ 3 files changed, 27 insertions(+)
+
+diff --git a/gcc/config/linux.h b/gcc/config/linux.h
+index 2e683d0c430..1b4df798671 100644
+--- a/gcc/config/linux.h
++++ b/gcc/config/linux.h
+@@ -182,6 +182,13 @@ see the files COPYING3 and COPYING.RUNTIME respective= ly.=C2=A0 If not, see
+=C2=A0 =C2=A0 =C2=A0{ GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 },=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
+=C2=A0 =C2=A0 =C2=A0{ 0, 0, 0, 0, 0, 0 }=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \ +=C2=A0 =C2=A0}
++#ifdef TARGET_LIBC_PROVIDES_SSP
++#undef LINK_SSP_SPEC
++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all&= quot; \
++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"|fstack-protector-strong|fstack-protector-explicit" \ ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0":-lssp_nonshared}"
++#endif
++
+ #endif
+
+ #if (DEFAULT_LIBC =3D=3D LIBC_UCLIBC) && defined (SINGLE_LIBC) /*= uClinux */
+diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
+index 684afd6c190..22cfa391b89 100644
+--- a/gcc/config/rs6000/linux.h
++++ b/gcc/config/rs6000/linux.h
+@@ -91,6 +91,16 @@
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 " -= m elf32ppclinux")
+ #endif
+
++/* link libssp_nonshared.a with musl */
++#if DEFAULT_LIBC =3D=3D LIBC_MUSL
++#ifdef TARGET_LIBC_PROVIDES_SSP
++#undef LINK_SSP_SPEC
++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all&= quot; \
++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"|fstack-protector-strong|fstack-protector-explicit" \ ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0":-lssp_nonshared}"
++#endif
++#endif
++
+ #undef LINK_OS_LINUX_SPEC
+ #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static= : \
+=C2=A0 =C2=A0%{rdynamic:-export-dynamic} \
+diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
+index 3b00ec0fcf0..8371f8d7b6b 100644
+--- a/gcc/config/rs6000/linux64.h
++++ b/gcc/config/rs6000/linux64.h
+@@ -465,6 +465,16 @@ extern int dot_symbols;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &= quot; -m elf64ppc")
+ #endif
+
++/* link libssp_nonshared.a with musl */
++#if DEFAULT_LIBC =3D=3D LIBC_MUSL
++#ifdef TARGET_LIBC_PROVIDES_SSP
++#undef LINK_SSP_SPEC
++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all&= quot; \
++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"|fstack-protector-strong|fstack-protector-explicit" \ ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0":-lssp_nonshared}"
++#endif
++#endif
++
+ #define LINK_OS_LINUX_SPEC32 LINK_OS_LINUX_EMUL32 " %{!shared: %{!st= atic: \
+=C2=A0 =C2=A0%{rdynamic:-export-dynamic} \
+=C2=A0 =C2=A0-dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \ +--
+2.13.2
+
diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch b/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.pat= ch
deleted file mode 100644
index 0744529741..0000000000
--- a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch<= br> +++ /dev/null
@@ -1,28 +0,0 @@
-From 551a5db7acb56e085a101f1c222d51b2c1b039a4 Mon Sep 17 00:00:00 200= 1
-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.=C2=A0 */=
- #ifndef LINK_SSP_SPEC
- #ifdef TARGET_LIBC_PROVIDES_SSP
- #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all&= quot; \
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"|fstack-protector-strong|fstack-protector-explicit:}" -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"|fstack-protector-strong|fstack-protector-explicit" \ -+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0":-lssp_nonshared}"
- #else
- #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all&= quot; \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "|fstack-protector-strong|fstack-protector-explicit" \ ---
-2.8.2
-
--
2.13.6


--001a1140695815d034055e0a1eef--