X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gold%2Ferrors.cc;h=8c6c8246afd468bcb749b30afc120627e0aa3647;hb=e9194a1a0e49f0646d5ac415836cc5d133f14bbe;hp=f90e53fe53d574850cec6b1306b7f485fa829b14;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/errors.cc b/gold/errors.cc index f90e53fe53..8c6c8246af 100644 --- a/gold/errors.cc +++ b/gold/errors.cc @@ -1,6 +1,6 @@ // errors.cc -- handle errors for gold -// Copyright (C) 2006-2016 Free Software Foundation, Inc. +// Copyright (C) 2006-2019 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.