summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-10-25 18:07:55 +0000
committerRui Ueyama <ruiu@google.com>2018-10-25 18:07:55 +0000
commit9db06423d1c2744da799a2e118667bf1723843a6 (patch)
treed4c3f14fb21d57c94e79979712f069a8556521c1 /lld/ELF/Driver.cpp
parentce0bc3814b51e9b419b3b236cff1b796a4f6f4a2 (diff)
downloadbcm5719-llvm-9db06423d1c2744da799a2e118667bf1723843a6.tar.gz
bcm5719-llvm-9db06423d1c2744da799a2e118667bf1723843a6.zip
Remove full stops from error messages for consistency.
llvm-svn: 345294
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r--lld/ELF/Driver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index ac70cb1a8a8..7f01f6a0b52 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -279,13 +279,13 @@ static void checkOptions(opt::InputArgList &Args) {
// The MIPS ABI as of 2016 does not support the GNU-style symbol lookup
// table which is a relatively new feature.
if (Config->EMachine == EM_MIPS && Config->GnuHash)
- error("the .gnu.hash section is not compatible with the MIPS target.");
+ error("the .gnu.hash section is not compatible with the MIPS target");
if (Config->FixCortexA53Errata843419 && Config->EMachine != EM_AARCH64)
- error("--fix-cortex-a53-843419 is only supported on AArch64 targets.");
+ error("--fix-cortex-a53-843419 is only supported on AArch64 targets");
if (Config->TocOptimize && Config->EMachine != EM_PPC64)
- error("--toc-optimize is only supported on the PowerPC64 target.");
+ error("--toc-optimize is only supported on the PowerPC64 target");
if (Config->Pie && Config->Shared)
error("-shared and -pie may not be used together");
@@ -1617,7 +1617,7 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) {
// supports them.
if (Config->ARMHasBlx == false)
warn("lld uses blx instruction, no object with architecture supporting "
- "feature detected.");
+ "feature detected");
}
// This adds a .comment section containing a version string. We have to add it
OpenPOWER on IntegriCloud