[PATCH] D14382: [ELF2] - Basic implementation of -r/--relocatable

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 11:07:22 PST 2016

ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.


Comment at: ELF/OutputSections.cpp:746
@@ +745,3 @@
+  // the section to which the relocation applies.
+  InputSectionBase<ELFT> *RelocatedSection = Sections[0]->getRelocatedSection();
+  this->Header.sh_info = RelocatedSection->OutSec->SectionIndex;
Use S as a variable name.


More information about the llvm-commits mailing list