Fix internal error caused by conflicting default version definitions.
[deliverable/binutils-gdb.git] / gold / symtab.h
index fdb75114acd39db92461b42655aa1faf3a7e79b1..089e156b452c82b1c049dfc846076cea6e530ea6 100644 (file)
@@ -344,6 +344,11 @@ class Symbol
   set_in_dyn()
   { this->in_dyn_ = true; }
 
+  // Return whether this symbol is defined in a dynamic object.
+  bool
+  from_dyn() const
+  { return this->source_ == FROM_OBJECT && this->object()->is_dynamic(); }
+
   // Return whether this symbol has been seen in a real ELF object.
   // (IN_REG will return TRUE if the symbol has been seen in either
   // a real ELF object or an object claimed by a plugin.)
This page took 0.023273 seconds and 4 git commands to generate.