Fix error messages.
llvm-svn: 320772
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index a66c4df..f25ef79 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -808,7 +808,7 @@
}
if (Sym.getBinding() == STB_LOCAL) {
- warn("Found local symbol '" + Name +
+ warn("found local symbol '" + Name +
"' in global part of symbol table in file " + toString(this));
continue;
}
diff --git a/lld/test/ELF/invalid-local-symbol-in-dso.s b/lld/test/ELF/invalid-local-symbol-in-dso.s
index e15fc15..b512621 100644
--- a/lld/test/ELF/invalid-local-symbol-in-dso.s
+++ b/lld/test/ELF/invalid-local-symbol-in-dso.s
@@ -4,7 +4,7 @@
# RUN: echo | llvm-mc - -o %t1.o -filetype=obj -triple x86_64-pc-linux
# RUN: ld.lld %t1.o %p/Inputs/local-symbol-in-dso.so -o %t 2>&1 | \
# RUN: FileCheck -check-prefix=WARN %s
-# WARN: Found local symbol 'foo' in global part of symbol table in file {{.*}}local-symbol-in-dso.so
+# WARN: found local symbol 'foo' in global part of symbol table in file {{.*}}local-symbol-in-dso.so
# RUN: llvm-mc %s -o %t2.o -filetype=obj -triple x86_64-pc-linux
# RUN: not ld.lld %t2.o %p/Inputs/local-symbol-in-dso.so -o %t
diff --git a/lld/wasm/InputFiles.cpp b/lld/wasm/InputFiles.cpp
index 3dc5fa8..9931495 100644
--- a/lld/wasm/InputFiles.cpp
+++ b/lld/wasm/InputFiles.cpp
@@ -135,7 +135,7 @@
return Segment;
}
}
- error("Symbol not found in any segment: " + WasmSym.Name);
+ error("symbol not found in any segment: " + WasmSym.Name);
return nullptr;
}