diff options
author | Sam James <sam@gentoo.org> | 2024-05-07 10:57:26 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-07 10:57:41 +0100 |
commit | f525de00d17a460aebb382c0d34529ddc383fb9d (patch) | |
tree | 136b4363aee7a5701f42b7253fd86947441732c4 /14.1.0/gentoo/22_all_default_ssp-buffer-size.patch | |
parent | validate_failures.py: fix python 3.12 escape sequence warnings (diff) | |
download | gcc-patches-f525de00d17a460aebb382c0d34529ddc383fb9d.tar.gz gcc-patches-f525de00d17a460aebb382c0d34529ddc383fb9d.tar.bz2 gcc-patches-f525de00d17a460aebb382c0d34529ddc383fb9d.zip |
14.1.0: init
Clone of 14.0.0.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '14.1.0/gentoo/22_all_default_ssp-buffer-size.patch')
-rw-r--r-- | 14.1.0/gentoo/22_all_default_ssp-buffer-size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/14.1.0/gentoo/22_all_default_ssp-buffer-size.patch b/14.1.0/gentoo/22_all_default_ssp-buffer-size.patch new file mode 100644 index 0000000..0e0dd42 --- /dev/null +++ b/14.1.0/gentoo/22_all_default_ssp-buffer-size.patch @@ -0,0 +1,14 @@ +Change the minimal SSP buffer size. + +https://bugs.gentoo.org/484714 +--- a/gcc/params.opt ++++ b/gcc/params.opt +@@ -1012,7 +1012,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= +-Common Joined UInteger Var(param_ssp_buffer_size) Init(8) IntegerRange(1, 65536) Param Optimization ++Common Joined UInteger Var(param_ssp_buffer_size) Init(4) IntegerRange(1, 65536) Param Optimization + The lower bound for a buffer to be considered for stack smashing protection. + + -param=stack-clash-protection-guard-size= |