summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2019-09-16 10:07:53 +0000
committerPeter Smith <peter.smith@linaro.org>2019-09-16 10:07:53 +0000
commit1d74940b319c7b6aea49f94730e408586fd76a82 (patch)
tree38ae5a9cb30891894b97fe151ced148bd745e58a
parenta1bc428b897900eb562df45622f01e6f94329dda (diff)
downloadbcm5719-llvm-1d74940b319c7b6aea49f94730e408586fd76a82.tar.gz
bcm5719-llvm-1d74940b319c7b6aea49f94730e408586fd76a82.zip
[ELF][ARM] Fix -Werror buildbots NFC.
Provide a missing initializer to get rid of warning provoking buildbot failures. error: missing field 'rel' initializer [-Werror,-Wmissing-field-initializers] llvm-svn: 371970
-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