aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-08-08 12:41:30 +0100
committerNick Clifton <nickc@redhat.com>2022-08-08 12:41:30 +0100
commitd7872ebb652942b93c9509be7f9f0a06aa47d970 (patch)
treebfef69b7804189b494ccc0901d6c8b921407805c /gas
parent357860e3774abf522a3c2cc1eaa3da69a7142eee (diff)
downloadfsf-binutils-gdb-d7872ebb652942b93c9509be7f9f0a06aa47d970.zip
fsf-binutils-gdb-d7872ebb652942b93c9509be7f9f0a06aa47d970.tar.gz
fsf-binutils-gdb-d7872ebb652942b93c9509be7f9f0a06aa47d970.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-macho.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f6b3577..23c09c4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
PR 29447
diff --git a/gas/config/obj-macho.c b/gas/config/obj-macho.c
index f055aea..119f2fd 100644
--- a/gas/config/obj-macho.c
+++ b/gas/config/obj-macho.c
@@ -141,7 +141,7 @@ obj_mach_o_get_section_names (char *seg, char *sec,
/* Zero-length segment and section names are allowed. */
/* Parse segment name. */
memset (seg, 0, segl);
- if (collect_16char_name (seg, "segment", 1))
+ if (collect_16char_name (seg, _("segment"), 1))
{
ignore_rest_of_line ();
return 0;
@@ -150,7 +150,7 @@ obj_mach_o_get_section_names (char *seg, char *sec,
/* Parse section name, which can be empty. */
memset (sec, 0, secl);
- collect_16char_name (sec, "section", 0);
+ collect_16char_name (sec, _("section"), 0);
return 1;
}