Fix an error message. It must start with a lowercase letter.

llvm-svn: 342992
This commit is contained in:
Rui Ueyama 2018-09-25 17:12:50 +00:00
parent 464ab241e7
commit ae34348354
2 changed files with 2 additions and 2 deletions

View File

@ -706,7 +706,7 @@ InputSectionBase *ObjFile<ELFT>::createInputSection(const Elf_Shdr &Sec) {
// 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;

View File

@ -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