summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2021-05-15 12:11:13 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-17 12:10:03 +0900
commitc93db682cfb213501881072a9200a48ce1dc3c3f (patch)
tree4b757f43f6dfed0ad7c8e7850464db639dc03e6e /tools
parent98a499a11ecdd8cb91d03dd5c034aaf7422f2deb (diff)
downloadlinux-c93db682cfb213501881072a9200a48ce1dc3c3f.tar.gz
kbuild: dummy-tools: adjust to stricter stackprotector check
Commit 3fb0fdb3bbe7 ("x86/stackprotector/32: Make the canary into a regular
percpu variable") modified the stackprotector check on 32-bit x86 to check
if gcc supports using %fs as canary. Adjust dummy-tools gcc script to pass
this new test by returning "%fs" rather than "%gs" if it detects
-mstack-protector-guard-reg=fs on command line.

Fixes: 3fb0fdb3bbe7 ("x86/stackprotector/32: Make the canary into a regular percpu variable")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions