linux-stable/scripts/dummy-tools
Michal Kubecek 44900a8bec kbuild: dummy-tools: adjust to stricter stackprotector check
commit c93db682cf upstream.

Commit 3fb0fdb3bb ("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: 3fb0fdb3bb ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-13 12:59:57 +02:00
..
dummy-plugin-dir/include kbuild: dummy-tools: avoid tmpdir leak in dummy gcc 2022-08-29 11:29:54 +02:00
gcc kbuild: dummy-tools: adjust to stricter stackprotector check 2024-04-13 12:59:57 +02:00
ld
nm
objcopy