summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-03-13 06:50:34 +0000
committerRui Ueyama <ruiu@google.com>2016-03-13 06:50:34 +0000
commit1e720b9c0c69123786d9c38c4e72e36f7e436611 (patch)
tree47d0d57ae1741a5dc998938646e9200b45b7b923
parentc63c1dbd6a236a98d82d13bd2e1c5c8097ae208d (diff)
downloadbcm5719-llvm-1e720b9c0c69123786d9c38c4e72e36f7e436611.tar.gz
bcm5719-llvm-1e720b9c0c69123786d9c38c4e72e36f7e436611.zip
Cosmetic change. NFC.
llvm-svn: 263376
-rw-r--r--lld/ELF/OutputSections.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 492f96bc0f2..a9236086a92 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -296,7 +296,8 @@ InterpSection<ELFT>::InterpSection()
}
template <class ELFT> void InterpSection<ELFT>::writeTo(uint8_t *Buf) {
- memcpy(Buf, Config->DynamicLinker.data(), Config->DynamicLinker.size());
+ StringRef S = Config->DynamicLinker;
+ memcpy(Buf, S.data(), S.size());
}
template <class ELFT>
OpenPOWER on IntegriCloud