public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gas gettext warning
@ 2020-02-26  3:09 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2020-02-26  3:09 UTC (permalink / raw)
  To: binutils

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/config/tc-arm.c b/gas/config/tc-arm.c
index cfbee7e59d..30c69fb763 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.  */

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-26  3:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26  3:09 gas gettext warning Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).