mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Mach-O: i18n enablement on some error messages.
* config/obj-macho.c (obj_mach_o_get_section_names): Wrap two string literals within with gettext macro.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2022-08-08 Tsukasa OI <research_trasio@irq.a4lg.com>
|
||||||
|
|
||||||
|
* config/obj-macho.c (obj_mach_o_get_section_names): Wrap two
|
||||||
|
string literals within with gettext macro.
|
||||||
|
|
||||||
2022-08-05 Nick Clifton <nickc@redhat.com>
|
2022-08-05 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 29447
|
PR 29447
|
||||||
|
@ -141,7 +141,7 @@ obj_mach_o_get_section_names (char *seg, char *sec,
|
|||||||
/* Zero-length segment and section names are allowed. */
|
/* Zero-length segment and section names are allowed. */
|
||||||
/* Parse segment name. */
|
/* Parse segment name. */
|
||||||
memset (seg, 0, segl);
|
memset (seg, 0, segl);
|
||||||
if (collect_16char_name (seg, "segment", 1))
|
if (collect_16char_name (seg, _("segment"), 1))
|
||||||
{
|
{
|
||||||
ignore_rest_of_line ();
|
ignore_rest_of_line ();
|
||||||
return 0;
|
return 0;
|
||||||
@ -150,7 +150,7 @@ obj_mach_o_get_section_names (char *seg, char *sec,
|
|||||||
|
|
||||||
/* Parse section name, which can be empty. */
|
/* Parse section name, which can be empty. */
|
||||||
memset (sec, 0, secl);
|
memset (sec, 0, secl);
|
||||||
collect_16char_name (sec, "section", 0);
|
collect_16char_name (sec, _("section"), 0);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user