H8/300: Fix pseudo registers reads/writes.
[deliverable/binutils-gdb.git] / gold / errors.cc
index b79764bd1d8285308e7bef6468e929c3279b18ef..98db0fdd86e997581f6b8029c0be2269b7ac3baa 100644 (file)
@@ -193,6 +193,11 @@ Errors::undefined_symbol(const Symbol* sym, const std::string& location)
     fprintf(stderr,
             _("%s: %s: undefined reference to '%s', version '%s'\n"),
            location.c_str(), zmsg, sym->demangled_name().c_str(), version);
+
+  if (sym->is_cxx_vtable())
+    gold_info(_("%s: the vtable symbol may be undefined because "
+               "the class is missing its key function"),
+             program_name);
 }
 
 // Issue a debugging message.
This page took 0.027491 seconds and 4 git commands to generate.