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.
This commit is contained in:
parent
42135cadf5
commit
da3ec71fd4
|
@ -1,3 +1,8 @@
|
|||
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
|
||||
N_() on empty string.
|
||||
|
||||
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* read.c (read_a_source_file): Call strncpy with length one
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue