summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-08-12 03:36:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 19:58:02 +0200
commit31a1b9878c0667945b078c92bce907552f57f2b6 (patch)
treeba62f4d76605efa3defd93d87f9f48a60a405c02 /arch/mips/bcm63xx
parentpanic: make print_oops_end_marker() static (diff)
downloadlinux-31a1b9878c0667945b078c92bce907552f57f2b6.tar.xz
linux-31a1b9878c0667945b078c92bce907552f57f2b6.zip
kcov: unconditionally add -fno-stack-protector to compiler options
Unconditionally add -fno-stack-protector to KCOV's compiler options, as all supported compilers support the option. This saves a compiler invocation to determine if the option is supported. Because Clang does not support -fno-conserve-stack, and -fno-stack-protector was wrapped in the same cc-option, we were missing -fno-stack-protector with Clang. Unconditionally adding this option fixes this for Clang. Suggested-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Andrey Konovalov <andreyknvl@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Link: http://lkml.kernel.org/r/20200615184302.7591-1-elver@google.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/bcm63xx')
0 files changed, 0 insertions, 0 deletions