projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63c1db
)
Cosmetic change. NFC.
author
Rui Ueyama
<ruiu@google.com>
Sun, 13 Mar 2016 06:50:34 +0000
(06:50 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Sun, 13 Mar 2016 06:50:34 +0000
(06:50 +0000)
llvm-svn: 263376
lld/ELF/OutputSections.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/OutputSections.cpp
b/lld/ELF/OutputSections.cpp
index
492f96b
..
a923608
100644
(file)
--- 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>