* [binutils-gdb] RISC-V: as_warn() already emits a newline
@ 2023-02-16 8:57 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-02-16 8:57 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c84b3d7eaa3aec024ff2482e3a1fea0e89d01839
commit c84b3d7eaa3aec024ff2482e3a1fea0e89d01839
Author: Jan Beulich <jbeulich@suse.com>
Date: Thu Feb 16 09:56:50 2023 +0100
RISC-V: as_warn() already emits a newline
Therefore there shouldn't be any at the end of the format string.
Diff:
---
gas/config/tc-riscv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 08b806d8c4e..40550ba8d74 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -4179,7 +4179,7 @@ s_riscv_option (int x ATTRIBUTE_UNUSED)
}
else
{
- as_warn (_("unrecognized .option directive: %s\n"), name);
+ as_warn (_("unrecognized .option directive: %s"), name);
}
*input_line_pointer = ch;
demand_empty_rest_of_line ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-16 8:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 8:57 [binutils-gdb] RISC-V: as_warn() already emits a newline Jan Beulich
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 read-only IMAP folder(s) and NNTP newsgroup(s).