[PATCH 0/3] Accompany -nostdlib with -fno-stack-protector

Akihiko Odaki posted 3 patches 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230731065904.5869-1-akihiko.odaki@daynix.com
Maintainers: Christian Borntraeger <borntraeger@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Leonardo Bras <leobras@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Brian Cain <bcain@quicinc.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Song Gao <gaosong@loongson.cn>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Chris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>
There is a newer version of this series
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(-)
[PATCH 0/3] Accompany -nostdlib with -fno-stack-protector
Posted by Akihiko Odaki 9 months ago
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