diff options
Diffstat (limited to 'lld/ELF/InputSection.cpp')
| -rw-r--r-- | lld/ELF/InputSection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index b8946d8be8b..27d1033b2ec 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -532,7 +532,7 @@ template <class ELFT> void InputSection<ELFT>::writeTo(uint8_t *Buf) { return; if (auto *S = dyn_cast<SyntheticSection<ELFT>>(this)) { - S->writeTo(Buf); + S->writeTo(Buf + OutSecOff); return; } |

