From d003af558092dc521f93d16628b9ccbf434370e3 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 11 Oct 2017 14:48:45 +1030 Subject: 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. --- ld/emultempl/sunos.em | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ld/emultempl/sunos.em') diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index be6375a..44e6e51 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -427,11 +427,11 @@ gld${EMULATION_NAME}_after_open (void) { /* We've found the needed dynamic object. */ if (! bfd_link_add_symbols (abfd, &link_info)) - einfo ("%F%B: error adding symbols: %E\n", abfd); + einfo (_("%F%B: error adding symbols: %E\n"), abfd); } else { - einfo ("%P: warning: %s, needed by %B, not found\n", + einfo (_("%P: warning: %s, needed by %B, not found\n"), lname, l->by); } @@ -491,7 +491,7 @@ fragment <name, l->by); } } @@ -574,7 +574,7 @@ gld${EMULATION_NAME}_try_needed (const char *dir, const char *name) /* Add this file into the symbol table. */ if (! bfd_link_add_symbols (abfd, &link_info)) - einfo ("%F%B: error adding symbols: %E\n", abfd); + einfo (_("%F%B: error adding symbols: %E\n"), abfd); return TRUE; } @@ -717,10 +717,10 @@ gld${EMULATION_NAME}_before_allocation (void) hdyn = bfd_link_hash_lookup (link_info.hash, "__DYNAMIC", TRUE, FALSE, FALSE); if (hdyn == NULL) - einfo ("%P%F: bfd_link_hash_lookup: %E\n"); + einfo (_("%P%F: bfd_link_hash_lookup: %E\n")); if (! bfd_sunos_record_link_assignment (link_info.output_bfd, &link_info, "__DYNAMIC")) - einfo ("%P%F: failed to record assignment to __DYNAMIC: %E\n"); + einfo (_("%P%F: failed to record assignment to __DYNAMIC: %E\n")); } /* If we are going to make any variable assignments, we need to let @@ -732,7 +732,7 @@ gld${EMULATION_NAME}_before_allocation (void) required by dynamic linking. */ if (! bfd_sunos_size_dynamic_sections (link_info.output_bfd, &link_info, &sdyn, &sneed, &srules)) - einfo ("%P%F: failed to set dynamic section sizes: %E\n"); + einfo (_("%P%F: failed to set dynamic section sizes: %E\n")); if (sneed != NULL) { @@ -853,7 +853,7 @@ gld${EMULATION_NAME}_find_exp_assignment (etree_type *exp) if (! bfd_sunos_record_link_assignment (link_info.output_bfd, &link_info, exp->assign.dst)) - einfo ("%P%F: failed to record assignment to %s: %E\n", + einfo (_("%P%F: failed to record assignment to %s: %E\n"), exp->assign.dst); } gld${EMULATION_NAME}_find_exp_assignment (exp->assign.src); -- cgit v1.1