Remove full stops from error messages for consistency.
authorRui Ueyama <ruiu@google.com>
Thu, 25 Oct 2018 18:07:55 +0000 (18:07 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 25 Oct 2018 18:07:55 +0000 (18:07 +0000)
llvm-svn: 345294

lld/ELF/Driver.cpp
lld/test/ELF/aarch64-cortex-a53-843419-cli.s
lld/test/ELF/arm-blx-v4t.s
lld/test/ELF/mips-gnu-hash.s
lld/test/ELF/ppc64-tocopt-option.s

index ac70cb1..7f01f6a 100644 (file)
@@ -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
index 9c1d485..b19f6c3 100644 (file)
@@ -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
index 1afc4bf..6c2b698 100644 (file)
@@ -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
index e66bc89..fe4e95f 100644 (file)
@@ -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:
index 82130aa..7849434 100644 (file)
@@ -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