[lld] r342992 - Fix an error message. It must start with a lowercase letter.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 10:12:50 PDT 2018


Author: ruiu
Date: Tue Sep 25 10:12:50 2018
New Revision: 342992

URL: http://llvm.org/viewvc/llvm-project?rev=342992&view=rev
Log:
Fix an error message. It must start with a lowercase letter.

Modified:
    lld/trunk/ELF/InputFiles.cpp
    lld/trunk/test/ELF/x86-64-split-stack-prologue-adjust-fail.s

Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=342992&r1=342991&r2=342992&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Tue Sep 25 10:12:50 2018
@@ -706,7 +706,7 @@ InputSectionBase *ObjFile<ELFT>::createI
   // for split stack will include a .note.GNU-split-stack section.
   if (Name == ".note.GNU-split-stack") {
     if (Config->Relocatable) {
-      error("Cannot mix split-stack and non-split-stack in a relocatable link");
+      error("cannot mix split-stack and non-split-stack in a relocatable link");
       return &InputSection::Discarded;
     }
     this->SplitStack = true;

Modified: lld/trunk/test/ELF/x86-64-split-stack-prologue-adjust-fail.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/x86-64-split-stack-prologue-adjust-fail.s?rev=342992&r1=342991&r2=342992&view=diff
==============================================================================
--- lld/trunk/test/ELF/x86-64-split-stack-prologue-adjust-fail.s (original)
+++ lld/trunk/test/ELF/x86-64-split-stack-prologue-adjust-fail.s Tue Sep 25 10:12:50 2018
@@ -9,7 +9,7 @@
 # CHECK: error: {{.*}}.o:(.text): unknown_prologue (with -fsplit-stack) calls non_split (without -fsplit-stack), but couldn't adjust its prologue
 
 # RUN: not ld.lld -r --defsym __morestack=0x100 %t1.o %t2.o -o %t 2>&1 | FileCheck %s -check-prefix=RELOCATABLE
-# RELOCATABLE: Cannot mix split-stack and non-split-stack in a relocatable link
+# RELOCATABLE: cannot mix split-stack and non-split-stack in a relocatable link
 
 # RUN: not ld.lld --defsym __morestack=0x100 --defsym _start=0x300 %t1.o %t2.o %t3.o -o %t 2>&1 | FileCheck %s -check-prefix=ERROR
 # ERROR: Mixing split-stack objects requires a definition of __morestack_non_split




More information about the llvm-commits mailing list