// parameters.h -- general parameters for a link using 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.
const Target&
default_target() const;
+ // Return true if TARGET is compatible with the current target.
+ bool
+ is_compatible_target(const Target*) const;
+
bool
doing_static_link() const
{
int
debug() const
{
- gold_assert(this->options_valid());
+ // This can be called before the options are set up.
+ if (!this->options_valid())
+ return 0;
return debug_;
}