diff options
-rw-r--r-- | gold/gold.cc | 2 | ||||
-rw-r--r-- | gold/object.cc | 2 | ||||
-rw-r--r-- | gold/resolve.cc | 2 |
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; |