tools/nolibc: s390: disable stackprotector in _start
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 24 May 2023 16:27:06 +0000 (18:27 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:46:09 +0000 (11:46 -0700)
commit79d8d4cad2252dd69076cc7997e56459baf523b1
treef9d136427cd7a3ad4b35e148ae6da36fb3a89ca0
parente76b70dec9c257f4ccebd7f98d1de97ed071f0d1
tools/nolibc: s390: disable stackprotector in _start

s390 does not support the "global" stack protector mode that is
implemented in nolibc.

Now that nolibc detects if stack protectors are enabled at runtime it
could happen that a future compiler does indeed use global mode on
and nolibc would compile but segfault at runtime.

To avoid this hypothetic case and to align s390 with the other
architectures disable stack protectors when compiling _start().

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/arch-s390.h