From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1386) id 18D72385B514; Thu, 16 Feb 2023 08:57:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18D72385B514 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jan Beulich To: bfd-cvs@sourceware.org Subject: [binutils-gdb] RISC-V: as_warn() already emits a newline X-Act-Checkin: binutils-gdb X-Git-Author: Jan Beulich X-Git-Refname: refs/heads/master X-Git-Oldrev: 42af03dafee14cf7b3f4e324ceca1b0ababd1eb9 X-Git-Newrev: c84b3d7eaa3aec024ff2482e3a1fea0e89d01839 Message-Id: <20230216085702.18D72385B514@sourceware.org> Date: Thu, 16 Feb 2023 08:57:01 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2023 08:57:02 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dc84b3d7eaa3a= ec024ff2482e3a1fea0e89d01839 commit c84b3d7eaa3aec024ff2482e3a1fea0e89d01839 Author: Jan Beulich Date: Thu Feb 16 09:56:50 2023 +0100 RISC-V: as_warn() already emits a newline =20 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 =3D ch; demand_empty_rest_of_line ();