diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 15:21:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 15:21:18 +0000 |
commit | b9a1baec33e911ca24f51abf882d454e62047ea6 (patch) | |
tree | d426cb84117bdb3ec63a7bef741444456d30e414 /ELF/OutputSections.cpp | |
parent | 80350c116f86dbb87e055a630b1b2be0c66b244b (diff) |
Notes
Diffstat (limited to 'ELF/OutputSections.cpp')
-rw-r--r-- | ELF/OutputSections.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ELF/OutputSections.cpp b/ELF/OutputSections.cpp index 4f8906a32081..8357d6b03bb1 100644 --- a/ELF/OutputSections.cpp +++ b/ELF/OutputSections.cpp @@ -128,6 +128,7 @@ template <class ELFT> void OutputSection::finalize() { // the section to which the relocation applies. InputSectionBase *S = First->getRelocatedSection(); Info = S->getOutputSection()->SectionIndex; + Flags |= SHF_INFO_LINK; } static uint64_t updateOffset(uint64_t Off, InputSection *S) { |