diff mbox

fix error spelling in nds32.c (PR 79928)

Message ID bb87e4df-5adc-7089-7620-32935bb9af97@gmail.com
State New
Headers show

Commit Message

Martin Sebor March 8, 2017, 12:09 a.m. UTC
The following one-line patch corrects the spelling of the error
message in the nds32 back end pointed out by a translator.  I'll
go ahead and commit it as trivial unless there are objections in
the next day or so.

Martin

2017-03-07  Martin Sebor  <msebor@redhat.com>

	* gcc/config/nds32/nds32.c (nds32_option_override): Fix spelling
	of error message.

Comments

Chung-Ju Wu March 8, 2017, 3:16 a.m. UTC | #1
Martin Sebor on 2017/3/8 08:09 wrote:
> The following one-line patch corrects the spelling of the error
> message in the nds32 back end pointed out by a translator.  I'll
> go ahead and commit it as trivial unless there are objections in
> the next day or so.
>
> Martin
>
> 2017-03-07  Martin Sebor  <msebor@redhat.com>
>
>     * gcc/config/nds32/nds32.c (nds32_option_override): Fix spelling
>     of error message.
>
> diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
> index 9313712..705d223 100644
> --- a/gcc/config/nds32/nds32.c
> +++ b/gcc/config/nds32/nds32.c
> @@ -2704,7 +2704,7 @@ nds32_option_override (void)
>
>    /* Currently, we don't support PIC code generation yet.  */
>    if (flag_pic)
> -    sorry ("not support -fpic");
> +    sorry ("position-independent code not supported");
>  }

Hi, Martin,

The patch is OK.  Thank you so much. :)


Best regards,
jasonwucj
diff mbox

Patch

diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 9313712..705d223 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -2704,7 +2704,7 @@  nds32_option_override (void)

    /* Currently, we don't support PIC code generation yet.  */
    if (flag_pic)
-    sorry ("not support -fpic");
+    sorry ("position-independent code not supported");
  }