forked from OSchip/llvm-project
Fix an error message. It must start with a lowercase letter.
llvm-svn: 342992
This commit is contained in:
parent
464ab241e7
commit
ae34348354
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue