[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.
LGTM
================
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.
http://reviews.llvm.org/D14382
More information about the llvm-commits
mailing list