aboutsummaryrefslogtreecommitdiff
path: root/gold/target.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 08:03:41 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 08:03:41 +0000
commit601e4987b8dd2639159d387a00b4504744c4abfd (patch)
treea72625b3bd98a7beb23dde4aad331598572564f3 /gold/target.h
parent3728821ffcf74858b028948e224e1dc4695d9112 (diff)
downloadgdb-601e4987b8dd2639159d387a00b4504744c4abfd.zip
gdb-601e4987b8dd2639159d387a00b4504744c4abfd.tar.gz
gdb-601e4987b8dd2639159d387a00b4504744c4abfd.tar.bz2
Revert last patch.
Diffstat (limited to 'gold/target.h')
-rw-r--r--gold/target.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gold/target.h b/gold/target.h
index 33c351c..8ecc078 100644
--- a/gold/target.h
+++ b/gold/target.h
@@ -137,13 +137,6 @@ class Target
code_fill(off_t length)
{ return this->do_code_fill(length); }
- // Return whether SYM is a special symbol which is known to be
- // defined. This is used to avoid inappropriate warnings about
- // undefined symbols.
- bool
- is_always_defined(Symbol* sym) const
- { return this->do_is_always_defined(sym); }
-
protected:
// This struct holds the constant information for a child class. We
// use a struct to avoid the overhead of virtual function calls for
@@ -195,12 +188,6 @@ class Target
do_code_fill(off_t)
{ gold_unreachable(); }
- // Virtual function which may be implemented by the child class if
- // needed.
- virtual bool
- do_is_always_defined(Symbol*) const
- { return false; }
-
private:
Target(const Target&);
Target& operator=(const Target&);