OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [errors.cc] - Diff between revs 27 and 148

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 148
Line 79... Line 79...
Errors::fatal(const char* format, va_list args)
Errors::fatal(const char* format, va_list args)
{
{
  fprintf(stderr, _("%s: fatal error: "), this->program_name_);
  fprintf(stderr, _("%s: fatal error: "), this->program_name_);
  vfprintf(stderr, format, args);
  vfprintf(stderr, format, args);
  fputc('\n', stderr);
  fputc('\n', stderr);
  gold_exit(false);
  gold_exit(GOLD_ERR);
 
}
 
 
 
// Report a fallback error.
 
 
 
void
 
Errors::fallback(const char* format, va_list args)
 
{
 
  fprintf(stderr, _("%s: fatal error: "), this->program_name_);
 
  vfprintf(stderr, format, args);
 
  fputc('\n', stderr);
 
  gold_exit(GOLD_FALLBACK);
}
}
 
 
// Report an error.
// Report an error.
 
 
void
void
Line 210... Line 221...
  va_start(args, format);
  va_start(args, format);
  parameters->errors()->fatal(format, args);
  parameters->errors()->fatal(format, args);
  va_end(args);
  va_end(args);
}
}
 
 
 
// Report a fallback error.
 
 
 
void
 
gold_fallback(const char* format, ...)
 
{
 
  va_list args;
 
  va_start(args, format);
 
  parameters->errors()->fallback(format, args);
 
  va_end(args);
 
}
 
 
// Report an error.
// Report an error.
 
 
void
void
gold_error(const char* format, ...)
gold_error(const char* format, ...)
{
{

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.