From 9db06423d1c2744da799a2e118667bf1723843a6 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 25 Oct 2018 18:07:55 +0000 Subject: [PATCH] Remove full stops from error messages for consistency. llvm-svn: 345294 --- lld/ELF/Driver.cpp | 8 ++++---- lld/test/ELF/aarch64-cortex-a53-843419-cli.s | 2 +- lld/test/ELF/arm-blx-v4t.s | 2 +- lld/test/ELF/mips-gnu-hash.s | 2 +- lld/test/ELF/ppc64-tocopt-option.s | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index ac70cb1..7f01f6a 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 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 9c1d485..b19f6c3 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 1afc4bf..6c2b698 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 e66bc89..fe4e95f 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 82130aa..7849434 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 -- 2.7.4