Use ui_file_as_string in gdb/rust-lang.c
[binutils-gdb.git] / gold / errors.cc
index f90e53fe53d574850cec6b1306b7f485fa829b14..27392cccde0cdc263cd3cc093557607a02aa5733 100644 (file)
@@ -198,6 +198,9 @@ Errors::undefined_symbol(const Symbol* sym, const std::string& location)
     gold_info(_("%s: the vtable symbol may be undefined because "
                "the class is missing its key function"),
              program_name);
+  if (sym->is_placeholder())
+    gold_info(_("%s: the symbol should have been defined by a plugin"),
+             program_name);
 }
 
 // Issue a debugging message.