diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-11 14:48:45 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-11 15:04:59 +1030 |
commit | d003af558092dc521f93d16628b9ccbf434370e3 (patch) | |
tree | 28cddf0bb4ecb0fd046923465229d9b660c3ac7d /ld/pe-dll.c | |
parent | e8b8ffd3c0676f69d1edd3859d4eebf10d1d62d7 (diff) | |
download | gdb-d003af558092dc521f93d16628b9ccbf434370e3.zip gdb-d003af558092dc521f93d16628b9ccbf434370e3.tar.gz 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/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index e99f753..a88afac 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -1013,7 +1013,7 @@ build_filler_bfd (int include_edata) bfd_get_arch (link_info.output_bfd), bfd_get_mach (link_info.output_bfd))) { - einfo ("%X%P: can not create BFD: %E\n"); + einfo (_("%X%P: can not create BFD: %E\n")); return; } @@ -1028,7 +1028,7 @@ build_filler_bfd (int include_edata) | SEC_KEEP | SEC_IN_MEMORY))) { - einfo ("%X%P: can not create .edata section: %E\n"); + einfo (_("%X%P: can not create .edata section: %E\n")); return; } bfd_set_section_size (filler_bfd, edata_s, edata_sz); @@ -1043,7 +1043,7 @@ build_filler_bfd (int include_edata) | SEC_KEEP | SEC_IN_MEMORY))) { - einfo ("%X%P: can not create .reloc section: %E\n"); + einfo (_("%X%P: can not create .reloc section: %E\n")); return; } @@ -1385,7 +1385,7 @@ generate_reloc (bfd *abfd, struct bfd_link_info *info) if (s->output_section->vma == 0) { /* Huh? Shouldn't happen, but punt if it does. */ - einfo ("DJ: zero vma section reloc detected: `%s' #%d f=%d\n", + einfo (_("zero vma section reloc detected: `%s' #%d f=%d\n"), s->output_section->name, s->output_section->index, s->output_section->flags); continue; @@ -3047,7 +3047,7 @@ add_bfd_to_link (bfd *abfd, const char *name, struct bfd_link_info *linfo) ldlang_add_file (fake_file); if (!bfd_link_add_symbols (abfd, linfo)) - einfo ("%P%X: addsym %s: %E\n", name); + einfo (_("%P%X: add symbols %s: %E\n"), name); } void @@ -3233,14 +3233,14 @@ pe_implied_import_dll (const char *filename) dll = bfd_openr (filename, pe_details->target_name); if (!dll) { - einfo ("%P%X: open %s: %E\n", filename); + einfo (_("%P%X: open %s: %E\n"), filename); return FALSE; } /* PEI dlls seem to be bfd_objects. */ if (!bfd_check_format (dll, bfd_object)) { - einfo ("%P%X: %s: this doesn't appear to be a DLL\n", filename); + einfo (_("%P%X: %s: this doesn't appear to be a DLL\n"), filename); return FALSE; } |