]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg: Add -fno-stack-protector
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sun, 29 Oct 2023 14:50:16 +0000 (14:50 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 2 Nov 2023 12:04:24 +0000 (15:04 +0300)
commit6367e823caead19cfbe5ba0724a93691b65c257d
tree460fba7863f4351c443f435e870de41a41877535
parent30811710fb5c566d71174ac9b3b5bf9cc4d16a1e
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>
(cherry picked from commit 580731dcc87eb27a2b0dc20ec331f1ce51864c97)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
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