X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Ferrors.cc;h=f464ceef4a2fb31e06b4b6215bf4e3c8f77cf8dd;hb=5430098f1807e084fe4ff5057040d68435f3d8a2;hp=98db0fdd86e997581f6b8029c0be2269b7ac3baa;hpb=1a221d3d9cc474b8a382f6aeed56671d10b71473;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/errors.cc b/gold/errors.cc index 98db0fdd86..f464ceef4a 100644 --- a/gold/errors.cc +++ b/gold/errors.cc @@ -1,6 +1,6 @@ // errors.cc -- handle errors for gold -// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +// Copyright (C) 2006-2017 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of gold. @@ -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.