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 <mse...@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