From: Alan Modra Date: Wed, 26 Feb 2020 02:27:19 +0000 (+1030) Subject: gas gettext warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da3ec71fd49cb138d597870262a00a82578e96d0;p=binutils-gdb.git gas gettext warning gettext("") returns the header entry with meta information, not the empty string. * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use N_() on empty string. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 001af54cb5f..ddce1819c30 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-02-26 Alan Modra + + * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use + N_() on empty string. + 2020-02-26 Alan Modra * read.c (read_a_source_file): Call strncpy with length one diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index cfbee7e59da..30c69fb7639 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -730,7 +730,7 @@ const char * const reg_expected_msgs[] = [REG_TYPE_MMXWCG] = N_("iWMMXt scalar register expected"), [REG_TYPE_XSCALE] = N_("XScale accumulator register expected"), [REG_TYPE_MQ] = N_("MVE vector register expected"), - [REG_TYPE_RNB] = N_("") + [REG_TYPE_RNB] = "" }; /* Some well known registers that we refer to directly elsewhere. */