summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/ARMErrataFix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/ARMErrataFix.cpp b/lld/ELF/ARMErrataFix.cpp
index 7e7903b38cd..493fafc6a0b 100644
--- a/lld/ELF/ARMErrataFix.cpp
+++ b/lld/ELF/ARMErrataFix.cpp
@@ -250,7 +250,7 @@ static ScanResult scanCortexA8Errata657417(InputSection *isec, uint64_t &off,
if (off >= limit || limit - off < 8) {
// Need at least 2 4-byte sized instructions to trigger erratum.
off = limit;
- return {0, 0};
+ return {0, 0, nullptr};
}
ScanResult scanRes = {0, 0, nullptr};
OpenPOWER on IntegriCloud