aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/s390x
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-07-31 18:10:39 +0900
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-01 23:52:23 +0200
commit7a06a8fec9df3b6a0f72e7b37dff0969430aab96 (patch)
treea679c84298281fbd8bc65b8f54ffbb675b94473d /tests/migration/s390x
parent313e162951682906430a6efeffdd1f2d67fd5bb4 (diff)
downloadqemu-7a06a8fec9df3b6a0f72e7b37dff0969430aab96.zip
qemu-7a06a8fec9df3b6a0f72e7b37dff0969430aab96.tar.gz
qemu-7a06a8fec9df3b6a0f72e7b37dff0969430aab96.tar.bz2
tests/migration: 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> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230731091042.139159-2-akihiko.odaki@daynix.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'tests/migration/s390x')
-rw-r--r--tests/migration/s390x/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migration/s390x/Makefile b/tests/migration/s390x/Makefile
index 6393c3e..6671de2 100644
--- a/tests/migration/s390x/Makefile
+++ b/tests/migration/s390x/Makefile
@@ -6,8 +6,8 @@ all: a-b-bios.h
fwdir=../../../pc-bios/s390-ccw
CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \
- -msoft-float -march=z900 -fno-asynchronous-unwind-tables -Wl,-pie \
- -Wl,--build-id=none -nostdlib
+ -msoft-float -march=z900 -fno-asynchronous-unwind-tables \
+ -fno-stack-protector -Wl,-pie -Wl,--build-id=none -nostdlib
a-b-bios.h: s390x.elf
echo "$$__note" > header.tmp