mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 12:53:17 +08:00
From Craig Silverstein: add some internationalization calls.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user