qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Accompany -nostdlib with -fno-stack-protector
@ 2023-07-31  6:58 Akihiko Odaki
  2023-07-31  6:58 ` [PATCH 1/3] pc-bios/optionrom: Add -fno-stack-protector Akihiko Odaki
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Akihiko Odaki @ 2023-07-31  6:58 UTC (permalink / raw)
  Cc: Christian Borntraeger, Thomas Huth, Juan Quintela, Peter Xu,
	Leonardo Bras, Peter Maydell, Richard Henderson,
	Edgar E. Iglesias, Brian Cain, Paolo Bonzini, Eduardo Habkost,
	Song Gao, Xiaojuan Yang, Philippe Mathieu-Daudé,
	Aurelien Jarno, Jiaxun Yang, Aleksandar Rikalo, Chris Wulff,
	Marek Vasut, David Hildenbrand, Ilya Leoshkevich, qemu-devel,
	qemu-s390x, qemu-arm, Akihiko Odaki

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.

This is a tree-wide change to add -fno-stack-protector where -nostdlib is
present.

Akihiko Odaki (3):
  pc-bios/optionrom: Add -fno-stack-protector
  tests/migration: Add -fno-stack-protector
  tests/tcg: Add -fno-stack-protector

 tests/tcg/mips/hello-mips.c                   | 4 ++--
 pc-bios/optionrom/Makefile                    | 2 +-
 pc-bios/s390-ccw/Makefile                     | 2 +-
 tests/migration/s390x/Makefile                | 4 ++--
 tests/tcg/aarch64/Makefile.softmmu-target     | 2 +-
 tests/tcg/aarch64/Makefile.target             | 2 +-
 tests/tcg/alpha/Makefile.softmmu-target       | 2 +-
 tests/tcg/arm/Makefile.target                 | 2 +-
 tests/tcg/cris/Makefile.target                | 2 +-
 tests/tcg/hexagon/Makefile.target             | 2 +-
 tests/tcg/i386/Makefile.softmmu-target        | 2 +-
 tests/tcg/i386/Makefile.target                | 2 +-
 tests/tcg/loongarch64/Makefile.softmmu-target | 2 +-
 tests/tcg/minilib/Makefile.target             | 2 +-
 tests/tcg/mips/Makefile.target                | 2 +-
 tests/tcg/nios2/Makefile.softmmu-target       | 2 +-
 tests/tcg/s390x/Makefile.softmmu-target       | 2 +-
 tests/tcg/x86_64/Makefile.softmmu-target      | 2 +-
 18 files changed, 20 insertions(+), 20 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-08-01 21:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31  6:58 [PATCH 0/3] Accompany -nostdlib with -fno-stack-protector Akihiko Odaki
2023-07-31  6:58 ` [PATCH 1/3] pc-bios/optionrom: Add -fno-stack-protector Akihiko Odaki
2023-07-31  7:46   ` Thomas Huth
2023-07-31  6:58 ` [PATCH 2/3] tests/migration: " Akihiko Odaki
2023-07-31  7:10   ` Juan Quintela
2023-07-31  7:44   ` Thomas Huth
2023-08-01 21:48   ` Philippe Mathieu-Daudé
2023-07-31  6:58 ` [PATCH 3/3] tests/tcg: " Akihiko Odaki
2023-07-31  7:51   ` Ilya Leoshkevich
2023-07-31  7:54   ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).