mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
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:
@ -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>
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* read.c (read_a_source_file): Call strncpy with length one
|
* 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_MMXWCG] = N_("iWMMXt scalar register expected"),
|
||||||
[REG_TYPE_XSCALE] = N_("XScale accumulator register expected"),
|
[REG_TYPE_XSCALE] = N_("XScale accumulator register expected"),
|
||||||
[REG_TYPE_MQ] = N_("MVE vector 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. */
|
/* Some well known registers that we refer to directly elsewhere. */
|
||||||
|
Reference in New Issue
Block a user