HAVE_CC_STACKPROTECTOR should be selected by architectures with stack canary implementation. It is not about the compiler support. For the consistency with commit 050e9baa9dc9 ("Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variables"), remove 'CC_' from the config symbol. I moved the 'select' lines to keep the alphabetical sorting.
Showing the changes to Documentation/features/debug/stackprotector (1 of 8 files). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | # |
| 2 | 2 | # Feature name: stackprotector |
| 3 | −# Kconfig: HAVE_CC_STACKPROTECTOR | |
| 3 | +# Kconfig: HAVE_STACKPROTECTOR | |
| 4 | 4 | # description: arch supports compiler driven stack overflow protection |
| 5 | 5 | # |
| 6 | 6 | ----------------------- |