This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix error spelling in nds32.c (PR 79928)
- From: Chung-Ju Wu <jasonwucj at gmail dot com>
- To: Martin Sebor <msebor at gmail dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>, shiva0217 at gmail dot com
- Date: Wed, 8 Mar 2017 11:16:25 +0800
- Subject: Re: [PATCH] fix error spelling in nds32.c (PR 79928)
- Authentication-results: sourceware.org; auth=none
- References: <bb87e4df-5adc-7089-7620-32935bb9af97@gmail.com>
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