From b9a1baec33e911ca24f51abf882d454e62047ea6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 3 Jun 2017 15:21:18 +0000 Subject: Vendor import of lld trunk r304659: https://llvm.org/svn/llvm-project/lld/trunk@304659 --- ELF/OutputSections.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ELF/OutputSections.cpp') 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 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) { -- cgit v1.3