0002-ssp_nonshared.diff 589 B

1234567891011121314
  1. diff --git a/gcc/gcc.c b/gcc/gcc.c
  2. index 0f042b0..0576ea7 100644
  3. --- a/gcc/gcc.c
  4. +++ b/gcc/gcc.c
  5. @@ -860,7 +860,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" \