tests/tcg: Add -fno-stack-protector
commit580731dcc87eb27a2b0dc20ec331f1ce51864c97
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sun, 29 Oct 2023 14:50:16 +0000 (29 14:50 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 31 Oct 2023 13:28:19 +0000 (31 13:28 +0000)
tree3c6ef68637dad2143850547c1c59f5e2ae64aeff
parent05c223cef7b50bcd07a388d45b45bdeb517c4082
tests/tcg: Add -fno-stack-protector

A build of GCC 13.2 will have stack protector enabled by default if it
was configured with --enable-default-ssp option. For such a compiler,
it is necessary to explicitly disable stack protector when linking
without standard libraries.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230731091042.139159-3-akihiko.odaki@daynix.com>
[AJB: fix comment string typo]
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231029145033.592566-3-alex.bennee@linaro.org>
tests/tcg/Makefile.target
tests/tcg/aarch64/Makefile.target
tests/tcg/arm/Makefile.target
tests/tcg/cris/Makefile.target
tests/tcg/hexagon/Makefile.target
tests/tcg/i386/Makefile.target
tests/tcg/minilib/Makefile.target
tests/tcg/mips/Makefile.target
tests/tcg/mips/hello-mips.c