// errors.h -- handle errors for gold -*- C++ -*-
-// Copyright 2006, 2007 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
void
warning(const char* format, va_list);
+ // Print an informational message and continue.
+ void
+ info(const char* format, va_list);
+
// Report an error at a reloc location.
template<int size, bool big_endian>
void
error_count() const
{ return this->error_count_; }
+ // Return the number of warnings.
+ int
+ warning_count() const
+ { return this->warning_count_; }
+
private:
Errors(const Errors&);
Errors& operator=(const Errors&);