summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
-rw-r--r--lld/ELF/InputFiles.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index a0a38de0d8a..cf3672c60b9 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -780,9 +780,7 @@ template <class ELFT> void SharedFile<ELFT>::parseRest() {
if (VersymIndex >= Verdefs.size()) {
error("corrupt input file: version definition index " +
Twine(VersymIndex) + " for symbol " + Name +
- " is greater than the maximum value " +
- Twine(Verdefs.size() - 1) + "\n>>> symbol is defined in " +
- toString(this));
+ " is out of bounds\n>>> defined in " + toString(this));
continue;
}
V = Verdefs[VersymIndex];
OpenPOWER on IntegriCloud