summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Driver.cpp8
-rw-r--r--lld/test/ELF/aarch64-cortex-a53-843419-cli.s2
-rw-r--r--lld/test/ELF/arm-blx-v4t.s2
-rw-r--r--lld/test/ELF/mips-gnu-hash.s2
-rw-r--r--lld/test/ELF/ppc64-tocopt-option.s2
5 files changed, 8 insertions, 8 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
diff --git a/lld/test/ELF/aarch64-cortex-a53-843419-cli.s b/lld/test/ELF/aarch64-cortex-a53-843419-cli.s
index 9c1d4858b3a..b19f6c3cd25 100644
--- a/lld/test/ELF/aarch64-cortex-a53-843419-cli.s
+++ b/lld/test/ELF/aarch64-cortex-a53-843419-cli.s
@@ -2,7 +2,7 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: not ld.lld %t -fix-cortex-a53-843419 -o /dev/null 2>&1 | FileCheck %s
-// CHECK: --fix-cortex-a53-843419 is only supported on AArch64 targets.
+// CHECK: --fix-cortex-a53-843419 is only supported on AArch64 targets
.globl entry
.text
.quad 0
diff --git a/lld/test/ELF/arm-blx-v4t.s b/lld/test/ELF/arm-blx-v4t.s
index 1afc4bf6645..6c2b69885a1 100644
--- a/lld/test/ELF/arm-blx-v4t.s
+++ b/lld/test/ELF/arm-blx-v4t.s
@@ -6,7 +6,7 @@
// a thunk. At present we don't support v4t so we give a warning for unsupported
// features.
-// CHECK: warning: lld uses blx instruction, no object with architecture supporting feature detected.
+// CHECK: warning: lld uses blx instruction, no object with architecture supporting feature detected
.text
.syntax unified
diff --git a/lld/test/ELF/mips-gnu-hash.s b/lld/test/ELF/mips-gnu-hash.s
index e66bc893a07..fe4e95fee99 100644
--- a/lld/test/ELF/mips-gnu-hash.s
+++ b/lld/test/ELF/mips-gnu-hash.s
@@ -7,7 +7,7 @@
# RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux %s -o %t-el.o
# RUN: not ld.lld -shared -hash-style=gnu %t-el.o -o /dev/null 2>&1 | FileCheck %s
-# CHECK: the .gnu.hash section is not compatible with the MIPS target.
+# CHECK: the .gnu.hash section is not compatible with the MIPS target
.globl __start
__start:
diff --git a/lld/test/ELF/ppc64-tocopt-option.s b/lld/test/ELF/ppc64-tocopt-option.s
index 82130aacb65..78494346beb 100644
--- a/lld/test/ELF/ppc64-tocopt-option.s
+++ b/lld/test/ELF/ppc64-tocopt-option.s
@@ -3,7 +3,7 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t --toc-optimize -o /dev/null 2>&1 | FileCheck %s
-# CHECK: error: --toc-optimize is only supported on the PowerPC64 target.
+# CHECK: error: --toc-optimize is only supported on the PowerPC64 target
.global __start
.type __start,@function
OpenPOWER on IntegriCloud