0001-ssp_nonshared.diff 597 B

1234567891011121314
  1. diff --git a/gcc/gcc.c b/gcc/gcc.c
  2. index 9f790db0daf..e6887590ae2 100644
  3. --- a/gcc/gcc.c
  4. +++ b/gcc/gcc.c
  5. @@ -877,7 +877,8 @@ proper position among the other output files. */
  6. #ifndef LINK_SSP_SPEC
  7. #ifdef TARGET_LIBC_PROVIDES_SSP
  8. #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
  9. - "|fstack-protector-strong|fstack-protector-explicit:}"
  10. + "|fstack-protector-strong|fstack-protector-explicit" \
  11. + ":-lssp_nonshared}"
  12. #else
  13. #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
  14. "|fstack-protector-strong|fstack-protector-explicit" \