aboutsummaryrefslogtreecommitdiff
path: root/ld/mpw-elfmips.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-04-22 06:58:37 +0000
committerTom Tromey <tromey@redhat.com>1998-04-22 06:58:37 +0000
commit8bc8f4bc007b581031e155d4f68e39327e241d9b (patch)
tree4a6b4e5829530e8d3c7a06d849d9021899750351 /ld/mpw-elfmips.c
parentb65c61635f7b03c89545bd30ffb97d74be20ce1d (diff)
downloadgdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.zip
gdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.tar.gz
gdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.tar.bz2
* Many files: Added gettext invocations around user-visible
strings. * ld.h: Added gettext-related includes and defines. * ldmain.c: Call setlocale, bindtextdomain, textdomain. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. Use AM_PROG_LEX. (TDIRS): AC_SUBST early on, to avoid having value split when it happens to cross line 90 of the generated sed script. * Makefile.am (SUBDIRS): New macro. (POTFILES): Likewise. (po/POTFILES.in): New target. (ld_new_LDADD): Added INTLLIBS. (ld_new_DEPENDENCIES): Added INTLDEPS. * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
Diffstat (limited to 'ld/mpw-elfmips.c')
-rw-r--r--ld/mpw-elfmips.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/mpw-elfmips.c b/ld/mpw-elfmips.c
index ec88bb7..cbf1589 100644
--- a/ld/mpw-elfmips.c
+++ b/ld/mpw-elfmips.c
@@ -1,7 +1,7 @@
/* This file is is generated by a shell script. DO NOT EDIT! */
/* 32 bit ELF emulation code for elf32ebmip
- Copyright (C) 1991, 93, 94, 95, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1991, 93, 94, 95, 1996, 1998 Free Software Foundation, Inc.
Written by Steve Chamberlain <sac@cygnus.com>
ELF support by Ian Lance Taylor <ian@cygnus.com>
@@ -212,7 +212,7 @@ gldelf32ebmip_after_open ()
if (search != NULL)
continue;
- einfo ("%P: warning: %s, needed by %B, not found\n",
+ einfo (_("%P: warning: %s, needed by %B, not found\n"),
l->name, l->by);
}
}
@@ -296,7 +296,7 @@ gldelf32ebmip_try_needed (name)
can only check that using stat. */
if (bfd_stat (abfd, &global_stat) != 0)
- einfo ("%F%P:%B: bfd_stat failed: %E\n", abfd);
+ einfo (_("%F%P:%B: bfd_stat failed: %E\n"), abfd);
global_found = false;
lang_for_each_input_file (gldelf32ebmip_stat_needed);
if (global_found)
@@ -312,7 +312,7 @@ gldelf32ebmip_try_needed (name)
/* Add this file into the symbol table. */
if (! bfd_link_add_symbols (abfd, &link_info))
- einfo ("%F%B: could not read symbols: %E\n", abfd);
+ einfo (_("%F%B: could not read symbols: %E\n"), abfd);
return true;
}
@@ -381,7 +381,7 @@ gldelf32ebmip_stat_needed (s)
if (bfd_stat (s->the_bfd, &st) != 0)
{
- einfo ("%P:%B: bfd_stat failed: %E\n", s->the_bfd);
+ einfo (_("%P:%B: bfd_stat failed: %E\n"), s->the_bfd);
return;
}
@@ -419,7 +419,7 @@ gldelf32ebmip_stat_needed (s)
f = soname;
if (strncmp (f, global_needed->name, suffix - global_needed->name) == 0)
- einfo ("%P: warning: %s, needed by %B, may conflict with %s\n",
+ einfo (_("%P: warning: %s, needed by %B, may conflict with %s\n"),
global_needed->name, global_needed->by, f);
}
@@ -448,7 +448,7 @@ gldelf32ebmip_before_allocation ()
command_line.export_dynamic,
&link_info,
&sinterp))
- einfo ("%P%F: failed to set dynamic section sizes: %E\n");
+ einfo (_("%P%F: failed to set dynamic section sizes: %E\n"));
/* Let the user override the dynamic linker we are using. */
if (command_line.interpreter != NULL
@@ -481,7 +481,7 @@ gldelf32ebmip_before_allocation ()
sz = bfd_section_size (is->the_bfd, s);
msg = xmalloc ((size_t) sz + 1);
if (! bfd_get_section_contents (is->the_bfd, s, msg, (file_ptr) 0, sz))
- einfo ("%F%B: Can't read contents of section .gnu.warning: %E\n",
+ einfo (_("%F%B: Can't read contents of section .gnu.warning: %E\n"),
is->the_bfd);
msg[sz] = '\0';
ret = link_info.callbacks->warning (&link_info, msg,
@@ -573,7 +573,7 @@ gldelf32ebmip_find_exp_assignment (exp)
if (! (bfd_elf32_record_link_assignment
(output_bfd, &link_info, exp->assign.dst,
exp->type.node_class == etree_provide ? true : false)))
- 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);
}
gldelf32ebmip_find_exp_assignment (exp->assign.src);
@@ -678,7 +678,7 @@ gldelf32ebmip_place_orphan (file, s)
place. This shuffling is to make the output file look neater. */
snew = bfd_make_section (output_bfd, secname);
if (snew == NULL)
- einfo ("%P%F: output format %s cannot represent section called %s\n",
+ einfo (_("%P%F: output format %s cannot represent section called %s\n"),
output_bfd->xvec->name, secname);
if (place->bfd_section != NULL)
{