]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: as_warn() already emits a newline
authorJan Beulich <jbeulich@suse.com>
Thu, 16 Feb 2023 08:56:50 +0000 (09:56 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 16 Feb 2023 08:56:50 +0000 (09:56 +0100)
Therefore there shouldn't be any at the end of the format string.

gas/config/tc-riscv.c

index 08b806d8c4e83874052107d752952baa0527057e..40550ba8d7470d9d4676da2012108e6981be4b3b 100644 (file)
@@ -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 ();