diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
| -rw-r--r-- | lld/ELF/Writer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 705cc7bf9766..2994e79cd1de 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1973,8 +1973,8 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() { continue; for (Symbol *sym : file->requiredSymbols) if (sym->isUndefined() && !sym->isWeak()) - diagnose(toString(file) + ": undefined reference to " + - toString(*sym) + " [--no-allow-shlib-undefined]"); + diagnose("undefined reference due to --no-allow-shlib-undefined: " + + toString(*sym) + "\n>>> referenced by " + toString(file)); } } |
