From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: alex.bennee@linaro.org
Subject: [PATCH 0/2] tests/tcg: Fix new cross-compiler warnings
Date: Wed, 24 Jul 2024 11:07:31 +1000 [thread overview]
Message-ID: <20240724010733.22129-1-richard.henderson@linaro.org> (raw)
Recent updates to debian cross-compilers have enabled some
new warnings by default, which encourage good behaviour for
userland binaries.
Neither are applicable for our system mode kernel images,
but we do have a few userland tests that are affected.
The --noexecstack assembler flag takes care of adding the
appropriate .note.GNU-stack elf note for us, rather than
writing a dozen lines of assembly template, and so is a
true fix rather than merely disabling the linker warning.
r~
Richard Henderson (2):
tests/tcg: Use --noexecstack with assembler files
tests/tcg/loongarch64: Use --no-warn-rwx-segments to link system tests
tests/tcg/Makefile.target | 2 +-
tests/tcg/aarch64/Makefile.softmmu-target | 2 +-
tests/tcg/alpha/Makefile.softmmu-target | 2 +-
tests/tcg/arm/Makefile.softmmu-target | 2 +-
tests/tcg/arm/Makefile.target | 2 +-
tests/tcg/i386/Makefile.softmmu-target | 2 +-
tests/tcg/loongarch64/Makefile.softmmu-target | 4 ++--
tests/tcg/riscv64/Makefile.softmmu-target | 2 +-
tests/tcg/s390x/Makefile.softmmu-target | 2 +-
tests/tcg/x86_64/Makefile.softmmu-target | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
--
2.43.0
next reply other threads:[~2024-07-24 1:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 1:07 Richard Henderson [this message]
2024-07-24 1:07 ` [PATCH 1/2] tests/tcg: Use --noexecstack with assembler files Richard Henderson
2024-07-24 6:57 ` Philippe Mathieu-Daudé
2024-07-24 1:07 ` [PATCH 2/2] tests/tcg/loongarch64: Use --no-warn-rwx-segments to link system tests Richard Henderson
2024-07-24 9:54 ` [PATCH 0/2] tests/tcg: Fix new cross-compiler warnings Alex Bennée
2024-07-24 10:50 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240724010733.22129-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).