]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: add new command line options to control diagnostic informational messages
authorMatthieu Longo <matthieu.longo@arm.com>
Thu, 27 Jun 2024 10:02:18 +0000 (11:02 +0100)
committerMatthieu Longo <matthieu.longo@arm.com>
Tue, 17 Dec 2024 11:01:24 +0000 (11:01 +0000)
commit63e8e1a1674225214ee462e3044edf6450f41c10
treeb8cf34cce83f99390cd64f71633f8b690b4f4c9b
parentc2d41e8a42f1d4c6450feb9c2b7c79afa3f67f4a
gas: add new command line options to control diagnostic informational messages

gas currently emits informational 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
    informational messages (default behavior).
  * --no-info, similar to the existing --no-warn flag to disable diagnostic
    informational messages.

It also adds the flags to the existing documentation, and command manual.
gas/as.c
gas/as.h
gas/config/tc-aarch64.c
gas/doc/as.texi
gas/messages.c