summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Writer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 1fb2895e42d..99718c97928 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -1933,9 +1933,8 @@ template <class ELFT> void Writer<ELFT>::setPhdrs() {
static std::string rangeToString(uint64_t Addr, uint64_t Len) {
if (Len == 0)
- return "<emtpy range at 0x" + utohexstr(Addr) + ">";
- return "[0x" + utohexstr(Addr) + " -> 0x" +
- utohexstr(Addr + Len - 1) + "]";
+ return "<empty range at 0x" + utohexstr(Addr) + ">";
+ return "[0x" + utohexstr(Addr) + " -> 0x" + utohexstr(Addr + Len - 1) + "]";
}
// Check whether sections overlap for a specific address range (file offsets,
OpenPOWER on IntegriCloud