summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-06-20 13:48:16 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-06-20 13:48:16 +0000
commit35728c34658c2d99fbe3a033d323a8bb42d8b2a1 (patch)
treef8ccc44f680a36a4c708b9f61b449d941ba62133
parentd5d544757e43ecb2c9547dcafcca8f080809e611 (diff)
downloadbcm5719-llvm-35728c34658c2d99fbe3a033d323a8bb42d8b2a1.tar.gz
bcm5719-llvm-35728c34658c2d99fbe3a033d323a8bb42d8b2a1.zip
[ELF] - Lowercase the error messages text. NFC.
llvm-svn: 273156
-rw-r--r--lld/ELF/Relocations.cpp4
-rw-r--r--lld/test/ELF/copy-errors.s4
2 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 32c7b6a29ed..ba61edd396b 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -406,7 +406,7 @@ static RelExpr adjustExpr(const elf::ObjectFile<ELFT> &File, SymbolBody &Body,
return Expr;
}
if (Body.getVisibility() != STV_DEFAULT) {
- error("Cannot preempt symbol");
+ error("cannot preempt symbol");
return Expr;
}
if (Body.isObject()) {
@@ -440,7 +440,7 @@ static RelExpr adjustExpr(const elf::ObjectFile<ELFT> &File, SymbolBody &Body,
Body.NeedsCopyOrPltAddr = true;
return toPlt(Expr);
}
- error("Symbol is missing type");
+ error("symbol is missing type");
return Expr;
}
diff --git a/lld/test/ELF/copy-errors.s b/lld/test/ELF/copy-errors.s
index bc28e328ce6..9d8b72ddb43 100644
--- a/lld/test/ELF/copy-errors.s
+++ b/lld/test/ELF/copy-errors.s
@@ -9,7 +9,7 @@ _start:
call bar
-// CHECK: Cannot preempt symbol
+// CHECK: cannot preempt symbol
call zed
-// CHECK: Symbol is missing type
+// CHECK: symbol is missing type
OpenPOWER on IntegriCloud