Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646440
Collapse All | Expand All

(-)a/gcc/gcc.c (-1 / +7 lines)
Lines 857-862 proper position among the other output f Link Here
857
#define LINK_GCC_C_SEQUENCE_SPEC "%G %L %G"
857
#define LINK_GCC_C_SEQUENCE_SPEC "%G %L %G"
858
#endif
858
#endif
859
859
860
#ifdef ENABLE_DEFAULT_SSP
861
#define NO_SSP_SPEC "%{nostdlib|nodefaultlibs|ffreestanding:-fno-stack-protector} "
862
#else
863
#define NO_SSP_SPEC ""
864
#endif
865
860
#ifndef LINK_SSP_SPEC
866
#ifndef LINK_SSP_SPEC
861
#ifdef TARGET_LIBC_PROVIDES_SSP
867
#ifdef TARGET_LIBC_PROVIDES_SSP
862
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
868
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
Lines 1131-1137 static const char *cc1_options = Link Here
1131
 %{-version:--version}\
1148
 %{-version:--version}\
1132
 %{-help=*:--help=%*}\
1149
 %{-help=*:--help=%*}\
1133
 %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\
1150
 %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\
1134
 %{fsyntax-only:-o %j} %{-param*}\
1151
 %{fsyntax-only:-o %j} %{-param*} " NO_SSP_SPEC "\
1135
 %{coverage:-fprofile-arcs -ftest-coverage}";
1152
 %{coverage:-fprofile-arcs -ftest-coverage}";
1136
1153
1137
static const char *asm_options =
1154
static const char *asm_options =
(-)a/gcc/params.def (-1 / +1 lines)
Lines 673-679 DEFPARAM (PARAM_INTEGER_SHARE_LIMIT, Link Here
673
DEFPARAM (PARAM_SSP_BUFFER_SIZE,
673
DEFPARAM (PARAM_SSP_BUFFER_SIZE,
674
	  "ssp-buffer-size",
674
	  "ssp-buffer-size",
675
	  "The lower bound for a buffer to be considered for stack smashing protection.",
675
	  "The lower bound for a buffer to be considered for stack smashing protection.",
676
	  8, 1, 0)
676
	  4, 1, 0)
677
677
678
DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING,
678
DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING,
679
	  "min-size-for-stack-sharing",
679
	  "min-size-for-stack-sharing",

Return to bug 646440