[PATCH] RISC-V: as_warn() already emits a newline

Nelson Chu nelson@rivosinc.com
Mon Feb 20 02:46:10 GMT 2023


OK, thanks for fixing this.

Nelson

On Thu, Feb 16, 2023 at 4:56 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> Therefore there shouldn't be any at the end of the format string.
>
> --- 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 ();


More information about the Binutils mailing list