From: Ian Lance Taylor Date: Sun, 14 Oct 2007 04:06:18 +0000 (+0000) Subject: From Craig Silverstein: add some internationalization calls. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27b7985a736004936de48808cc24e3b19ff71ca1;p=binutils-gdb.git From Craig Silverstein: add some internationalization calls. --- diff --git a/gold/gold.cc b/gold/gold.cc index 97e5d3d043e..a4264087e7f 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 bbd754b94ca..d8b3b901d2c 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 4b12c45ee69..87c175ad344 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;