summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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