summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/SyntheticSections.cpp2
-rw-r--r--lld/test/lit.cfg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index dba60e1d5e1..f643a8d9fa6 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -65,7 +65,7 @@ uint64_t SyntheticSection::getVA() const {
// Returns an LLD version string.
static ArrayRef<uint8_t> getVersion() {
// Check LLD_VERSION first for ease of testing.
- // You can get consitent output by using the environment variable.
+ // You can get consistent output by using the environment variable.
// This is only for testing.
StringRef S = getenv("LLD_VERSION");
if (S.empty())
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 2ac2dd035d7..8fd1a60ffae 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -71,7 +71,7 @@ llvm_config.feature_config(
'X86': 'x86'})
])
-# Set a fake constant version so that we get consitent output.
+# Set a fake constant version so that we get consistent output.
config.environment['LLD_VERSION'] = 'LLD 1.0'
config.environment['LLD_IN_TEST'] = '1'
OpenPOWER on IntegriCloud