aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ppc64elf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-10-11 14:48:45 +1030
committerAlan Modra <amodra@gmail.com>2017-10-11 15:04:59 +1030
commitd003af558092dc521f93d16628b9ccbf434370e3 (patch)
tree28cddf0bb4ecb0fd046923465229d9b660c3ac7d /ld/emultempl/ppc64elf.em
parente8b8ffd3c0676f69d1edd3859d4eebf10d1d62d7 (diff)
downloadfsf-binutils-gdb-d003af558092dc521f93d16628b9ccbf434370e3.zip
fsf-binutils-gdb-d003af558092dc521f93d16628b9ccbf434370e3.tar.gz
fsf-binutils-gdb-d003af558092dc521f93d16628b9ccbf434370e3.tar.bz2
ld internationalization fixes
* emultempl/aarch64elf.em: Wrap einfo strings in _(). Formatting. * emultempl/aix.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/avrelf.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/cr16elf.em: Likewise. * emultempl/elf-generic.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/genelf.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68hc1xelf.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/m68kelf.em: Likewise. * emultempl/metagelf.em: Likewise. * emultempl/mipself.em: Likewise. * emultempl/mmix-elfnmmo.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/msp430.em: Likewise. * emultempl/nds32elf.em: Likewise. * emultempl/nios2elf.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/riscvelf.em: Likewise. * emultempl/s390.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/tic6xdsbt.em: Likewise. * emultempl/v850elf.em: Likewise. * emultempl/vms.em: Likewise. * emultempl/vxworks.em: Likewise. * ldcref.c: Likewise. * ldlang.c: Likewise. * ldlex.l: Likewise. * ldmain.c: Likewise. * pe-dll.c: Likewise. * plugin.c: Likewise.
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r--ld/emultempl/ppc64elf.em26
1 files changed, 13 insertions, 13 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index cf75957..5c3ecb0 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -86,7 +86,7 @@ ppc_create_output_section_statements (void)
bfd_get_arch (link_info.output_bfd),
bfd_get_mach (link_info.output_bfd)))
{
- einfo ("%F%P: can not create BFD: %E\n");
+ einfo (_("%F%P: can not create BFD: %E\n"));
return;
}
@@ -96,7 +96,7 @@ ppc_create_output_section_statements (void)
if (params.save_restore_funcs < 0)
params.save_restore_funcs = !bfd_link_relocatable (&link_info);
if (!ppc64_elf_init_stub_bfd (&link_info, &params))
- einfo ("%F%P: can not init BFD: %E\n");
+ einfo (_("%F%P: can not init BFD: %E\n"));
}
/* Called after opening files but before mapping sections. */
@@ -280,7 +280,7 @@ ppc_before_allocation (void)
{
if (!no_opd_opt
&& !ppc64_elf_edit_opd (&link_info))
- einfo ("%X%P: can not edit %s: %E\n", "opd");
+ einfo (_("%X%P: can not edit %s: %E\n"), "opd");
if (ppc64_elf_tls_setup (&link_info)
&& !no_tls_opt)
@@ -290,7 +290,7 @@ ppc_before_allocation (void)
prelim_size_sections ();
if (!ppc64_elf_tls_optimize (&link_info))
- einfo ("%X%P: TLS problem %E\n");
+ einfo (_("%X%P: TLS problem %E\n"));
}
if (!no_toc_opt
@@ -299,7 +299,7 @@ ppc_before_allocation (void)
prelim_size_sections ();
if (!ppc64_elf_edit_toc (&link_info))
- einfo ("%X%P: can not edit %s: %E\n", "toc");
+ einfo (_("%X%P: can not edit %s: %E\n"), "toc");
}
if (!no_toc_sort)
@@ -429,7 +429,7 @@ ppc_add_stub_section (const char *stub_sec_name, asection *input_section)
return stub_sec;
err_ret:
- einfo ("%X%P: can not make stub section: %E\n");
+ einfo (_("%X%P: can not make stub section: %E\n"));
return NULL;
}
@@ -463,7 +463,7 @@ build_toc_list (lang_statement_union_type *statement)
&& i->output_section == toc_section)
{
if (!ppc64_elf_next_toc_section (&link_info, i))
- einfo ("%X%P: linker script separates .got and .toc\n");
+ einfo (_("%X%P: linker script separates .got and .toc\n"));
}
}
}
@@ -482,7 +482,7 @@ build_section_lists (lang_statement_union_type *statement)
&& i->output_section->owner == link_info.output_bfd)
{
if (!ppc64_elf_next_input_section (&link_info, i))
- einfo ("%X%P: can not size stub section: %E\n");
+ einfo (_("%X%P: can not size stub section: %E\n"));
}
}
}
@@ -501,7 +501,7 @@ gld${EMULATION_NAME}_after_allocation (void)
{
ret = ppc64_elf_setup_section_lists (&link_info);
if (ret < 0)
- einfo ("%X%P: can not size stub section: %E\n");
+ einfo (_("%X%P: can not size stub section: %E\n"));
else
{
ppc64_elf_start_multitoc_partition (&link_info);
@@ -524,11 +524,11 @@ gld${EMULATION_NAME}_after_allocation (void)
lang_for_each_statement (build_section_lists);
if (!ppc64_elf_check_init_fini (&link_info))
- einfo ("%P: .init/.fini fragments use differing TOC pointers\n");
+ einfo (_("%P: .init/.fini fragments use differing TOC pointers\n"));
/* Call into the BFD backend to do the real work. */
if (!ppc64_elf_size_stubs (&link_info))
- einfo ("%X%P: can not size stub section: %E\n");
+ einfo (_("%X%P: can not size stub section: %E\n"));
}
}
@@ -539,7 +539,7 @@ gld${EMULATION_NAME}_after_allocation (void)
ret = bfd_elf_discard_info (link_info.output_bfd, &link_info);
if (ret < 0)
{
- einfo ("%X%P: .eh_frame/.stab edit: %E\n");
+ einfo (_("%X%P: .eh_frame/.stab edit: %E\n"));
return;
}
else if (ret > 0)
@@ -578,7 +578,7 @@ gld${EMULATION_NAME}_finish (void)
if (stub_file != NULL
&& !bfd_link_relocatable (&link_info)
&& !ppc64_elf_build_stubs (&link_info, config.stats ? &msg : NULL))
- einfo ("%X%P: can not build stubs: %E\n");
+ einfo (_("%X%P: can not build stubs: %E\n"));
fflush (stdout);
for (line = msg; line != NULL; line = endline)