diff options
author | Rui Ueyama <ruiu@google.com> | 2018-09-25 17:12:50 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-09-25 17:12:50 +0000 |
commit | 57da81dacb0b5a76ea85d7b21538361c628d61ba (patch) | |
tree | 1241466f025fa4d4c56256184bf453f5848deab8 /lld | |
parent | a8d89746c574fbf4a2878ee18bd258332fbef61b (diff) |
Fix an error message. It must start with a lowercase letter.
Diffstat (limited to 'lld')
-rw-r--r-- | lld/ELF/InputFiles.cpp | 2 | ||||
-rw-r--r-- | lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index ceaace3eea0..c56687a657a 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -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; diff --git a/lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s b/lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s index f3d09243711..b2d21e1595a 100644 --- a/lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s +++ b/lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s @@ -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 |