aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/spuelf.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/spuelf.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/spuelf.em')
-rw-r--r--ld/emultempl/spuelf.em20
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index 808f333..43be87b 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -113,7 +113,7 @@ spu_after_open (void)
if (!bfd_link_relocatable (&link_info)
&& link_info.input_bfds != NULL
&& !spu_elf_create_sections (&link_info))
- einfo ("%X%P: can not create note section: %E\n");
+ einfo (_("%X%P: can not create note section: %E\n"));
}
gld${EMULATION_NAME}_after_open ();
@@ -202,7 +202,7 @@ spu_elf_load_ovl_mgr (void)
/* User supplied __ovly_load. */
}
else if (mgr_stream->start == mgr_stream->end)
- einfo ("%F%P: no built-in overlay manager\n");
+ einfo (_("%F%P: no built-in overlay manager\n"));
else
{
lang_input_statement_type *ovl_is;
@@ -212,13 +212,13 @@ spu_elf_load_ovl_mgr (void)
NULL);
if (!spu_elf_open_builtin_lib (&ovl_is->the_bfd, mgr_stream))
- einfo ("%X%P: can not open built-in overlay manager: %E\n");
+ einfo (_("%X%P: can not open built-in overlay manager: %E\n"));
else
{
asection *in;
if (!load_symbols (ovl_is, NULL))
- einfo ("%X%P: can not load built-in overlay manager: %E\n");
+ einfo (_("%X%P: can not load built-in overlay manager: %E\n"));
/* Map overlay manager sections to output sections.
First try for a matching output section name, if that
@@ -278,14 +278,14 @@ spu_before_allocation (void)
/* Find overlays by inspecting section vmas. */
ret = spu_elf_find_overlays (&link_info);
if (ret == 0)
- einfo ("%X%P: can not find overlays: %E\n");
+ einfo (_("%X%P: can not find overlays: %E\n"));
else if (ret == 2)
{
lang_output_section_statement_type *os;
if (params.auto_overlay != 0)
{
- einfo ("%P: --auto-overlay ignored with user overlay script\n");
+ einfo (_("%P: --auto-overlay ignored with user overlay script\n"));
params.auto_overlay = 0;
}
@@ -306,7 +306,7 @@ spu_before_allocation (void)
ret = spu_elf_size_stubs (&link_info);
if (ret == 0)
- einfo ("%X%P: can not size overlay stubs: %E\n");
+ einfo (_("%X%P: can not size overlay stubs: %E\n"));
else if (ret == 2)
spu_elf_load_ovl_mgr ();
@@ -379,7 +379,7 @@ spu_elf_open_overlay_script (void)
if (script == NULL)
{
file_err:
- einfo ("%F%P: can not open script: %E\n");
+ einfo (_("%F%P: can not open script: %E\n"));
}
return script;
}
@@ -426,10 +426,10 @@ gld${EMULATION_NAME}_finish (void)
s = spu_elf_check_vma (&link_info);
if (s != NULL && !params.auto_overlay)
- einfo ("%X%P: %A exceeds local store range\n", s);
+ einfo (_("%X%P: %A exceeds local store range\n"), s);
}
else if (params.auto_overlay)
- einfo ("%P: --auto-overlay ignored with zero local store range\n");
+ einfo (_("%P: --auto-overlay ignored with zero local store range\n"));
}
finish_default ();