aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-14 04:06:18 +0000
committerIan Lance Taylor <iant@google.com>2007-10-14 04:06:18 +0000
commit27b7985a736004936de48808cc24e3b19ff71ca1 (patch)
treece47e201d63128261231302c9fc368f027d50882
parent097ec620e1fcc41ed0ab82ebcbb802f25df92a4a (diff)
downloadgdb-27b7985a736004936de48808cc24e3b19ff71ca1.zip
gdb-27b7985a736004936de48808cc24e3b19ff71ca1.tar.gz
gdb-27b7985a736004936de48808cc24e3b19ff71ca1.tar.bz2
From Craig Silverstein: add some internationalization calls.
-rw-r--r--gold/gold.cc2
-rw-r--r--gold/object.cc2
-rw-r--r--gold/resolve.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index 97e5d3d..a426408 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -77,7 +77,7 @@ gold_nomem()
void
do_gold_unreachable(const char* filename, int lineno, const char* function)
{
- fprintf(stderr, "%s: internal error in %s, at %s:%d\n",
+ fprintf(stderr, _("%s: internal error in %s, at %s:%d\n"),
program_name, function, filename, lineno);
gold_exit(false);
}
diff --git a/gold/object.cc b/gold/object.cc
index bbd754b..d8b3b90 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -824,7 +824,7 @@ Input_objects::add_object(Object* obj)
this->target_ = target;
else if (this->target_ != target)
{
- fprintf(stderr, "%s: %s: incompatible target\n",
+ fprintf(stderr, _("%s: %s: incompatible target\n"),
program_name, obj->name().c_str());
gold_exit(false);
}
diff --git a/gold/resolve.cc b/gold/resolve.cc
index 4b12c45..87c175a 100644
--- a/gold/resolve.cc
+++ b/gold/resolve.cc
@@ -276,7 +276,7 @@ Symbol_table::should_override(const Symbol* to, unsigned int frombits,
{
case DEF * 16 + DEF:
// Two definitions of the same symbol.
- fprintf(stderr, "%s: multiple definition of %s\n",
+ fprintf(stderr, _("%s: multiple definition of %s\n"),
program_name, to->name());
// FIXME: Report locations. Record that we have seen an error.
return false;