frame, cfa: check unwind stop reason first
[deliverable/binutils-gdb.git] / gold / target-reloc.h
index cf5e389565d5ba6331c076c2e63a1e64aefb6cb0..b544c78f371464c16fed5f749ff8bb029ae1ba20 100644 (file)
@@ -411,7 +411,13 @@ relocate_section(
        }
 
       if (issue_undefined_symbol_error(sym))
-       gold_undefined_symbol_at_location(sym, relinfo, i, offset);
+       {
+         gold_undefined_symbol_at_location(sym, relinfo, i, offset);
+         if (sym->is_cxx_vtable())
+           gold_info(_("%s: the vtable symbol may be undefined because "
+                       "the class is missing its key function"),
+                     program_name);
+       }
       else if (sym != NULL
               && sym->visibility() != elfcpp::STV_DEFAULT
               && (sym->is_undefined() || sym->is_from_dynobj()))
This page took 0.023922 seconds and 4 git commands to generate.