diff options
Diffstat (limited to 'main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch')
-rw-r--r-- | main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch b/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch index cfd18dcabc4..69c1bf72545 100644 --- a/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +++ b/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch @@ -1,19 +1,19 @@ -From 3503fd734a33b67ec6a9fdc2c52bb8310864b119 Mon Sep 17 00:00:00 2001 +From 32f24560d0602f7735d5e9efd92fe3151bd72cea Mon Sep 17 00:00:00 2001 From: Ariadne Conill <ariadne@dereferenced.org> Date: Fri, 21 Aug 2020 06:49:40 +0000 -Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding - Change the buffer size. +Subject: [PATCH 08/35] Disable ssp on -nostdlib, -nodefaultlibs and + -ffreestanding Change the buffer size. --- - gcc/gcc.c | 8 +++++++- + gcc/gcc.cc | 8 +++++++- gcc/params.opt | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) -diff --git a/gcc/gcc.c b/gcc/gcc.c -index 1ad5da6d769..99314032ec2 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -989,6 +989,12 @@ proper position among the other output files. */ +diff --git a/gcc/gcc.cc b/gcc/gcc.cc +index da6417dd0d1..b5a6f200635 100644 +--- a/gcc/gcc.cc ++++ b/gcc/gcc.cc +@@ -983,6 +983,12 @@ proper position among the other output files. */ #define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}" #endif @@ -26,7 +26,7 @@ index 1ad5da6d769..99314032ec2 100644 #ifndef LINK_SSP_SPEC #ifdef TARGET_LIBC_PROVIDES_SSP #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ -@@ -1288,7 +1294,7 @@ static const char *cc1_options = +@@ -1282,7 +1288,7 @@ static const char *cc1_options = %{-version:--version}\ %{-help=*:--help=%*}\ %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %w%b.s}}}\ @@ -36,10 +36,10 @@ index 1ad5da6d769..99314032ec2 100644 %{fprofile-arcs|fprofile-generate*|coverage:\ %{!fprofile-update=single:\ diff --git a/gcc/params.opt b/gcc/params.opt -index 8ba281b4cfa..bab39cdf8a2 100644 +index 823cdb2ff85..5b096899b40 100644 --- a/gcc/params.opt +++ b/gcc/params.opt -@@ -946,7 +946,7 @@ Common Joined UInteger Var(param_ssa_name_def_chain_limit) Init(512) Param Optim +@@ -1006,7 +1006,7 @@ Common Joined UInteger Var(param_ssa_name_def_chain_limit) Init(512) Param Optim The maximum number of SSA_NAME assignments to follow in determining a value. -param=ssp-buffer-size= @@ -49,5 +49,5 @@ index 8ba281b4cfa..bab39cdf8a2 100644 -param=stack-clash-protection-guard-size= -- -2.35.1 +2.41.0 |