Commit 7904f95f by Eric Christopher

gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.

2005-08-03  Eric Christopher  <echristo@apple.com>

        * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.
        * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp
        spec.

From-SVN: r102719
parent 0646b059
2005-08-03 Eric Christopher <echristo@apple.com>
* gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.
* config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp
spec.
2005-08-04 Jan Hubicka <jh@suse.cz> 2005-08-04 Jan Hubicka <jh@suse.cz>
* profile.c (branch_prob): Split edges with goto locus on them * profile.c (branch_prob): Split edges with goto locus on them
......
...@@ -207,7 +207,7 @@ Boston, MA 02110-1301, USA. */ ...@@ -207,7 +207,7 @@ Boston, MA 02110-1301, USA. */
%{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} \ %{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} \
%{!Zdynamiclib:%{!A:%{!nostdlib:%{!nostartfiles:%S}}}} \ %{!Zdynamiclib:%{!A:%{!nostdlib:%{!nostartfiles:%S}}}} \
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
%{!nostdlib:%{!nodefaultlibs:%G %L}} \ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}}" %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}}"
/* Please keep the random linker options in alphabetical order (modulo /* Please keep the random linker options in alphabetical order (modulo
......
...@@ -674,7 +674,7 @@ proper position among the other output files. */ ...@@ -674,7 +674,7 @@ proper position among the other output files. */
#ifdef TARGET_LIBC_PROVIDES_SSP #ifdef TARGET_LIBC_PROVIDES_SSP
#define LINK_SSP_SPEC "%{fstack-protector:}" #define LINK_SSP_SPEC "%{fstack-protector:}"
#else #else
#define LINK_SSP_SPEC "%{fstack-protector:-lssp_nonshared -lssp }" #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp }"
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment