[PATCH v1 2/3] gas: add new command line options to control diagnostic information messages
Matthieu Longo
matthieu.longo@arm.com
Tue Jul 2 17:40:02 GMT 2024
gas currently emits information messages for context information along warnings.
In the context of system register tests in AArch64 backend, these messages
pollute the tests when checking for error message patterns in stderr output.
This patch aims at providing two new flags while preserving the existing
behavior if none of the options is provided.
* --info, similar to the existing --warn flag to enable diagnostic
information messages (default behavior).
* --no-info, similar to the existing --no-warn flag to disable diagnostic
information messages.
It also adds the flags to the existing documentation, and command manual.
---
gas/as.c | 18 +++++++++++++++++-
gas/as.h | 3 +++
gas/config/tc-aarch64.c | 3 +++
gas/doc/as.texi | 34 ++++++++++++++++++++++++++++++++++
gas/messages.c | 3 +++
5 files changed, 60 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0002-gas-add-new-command-line-options-to-control-diagn.patch
Type: text/x-patch
Size: 6035 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240702/be823db9/attachment.bin>
More information about the Binutils
mailing list