summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index b4580b5fe7c..677abb116b5 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -296,7 +296,7 @@ void ScriptParser::addFile(StringRef S) {
} else {
std::string Path = findFromSearchPaths(S);
if (Path.empty())
- setError("Unable to find " + S);
+ setError("unable to find " + S);
else
Driver->addFile(Saver.save(Path));
}
@@ -419,7 +419,7 @@ std::vector<uint8_t> ScriptParser::parseHex(StringRef S) {
S = S.substr(2);
uint8_t H;
if (B.getAsInteger(16, H)) {
- setError("Not a HEX value: " + B);
+ setError("not a HEX value: " + B);
return {};
}
Hex.push_back(H);
@@ -442,13 +442,13 @@ void ScriptParser::readOutputSectionDescription() {
readSectionPatterns(OutSec, true);
expect(")");
} else {
- setError("Unknown command " + Tok);
+ setError("unknown command " + Tok);
}
}
StringRef Tok = peek();
if (Tok.startswith("=")) {
if (!Tok.startswith("=0x")) {
- setError("Filler should be a HEX value");
+ setError("filler should be a HEX value");
return;
}
Tok = Tok.substr(3);
OpenPOWER on IntegriCloud