Lines Matching full:subsections
15 // Perhaps the notion that is new to those who know ELF/COFF is "subsections".
19 // consist of multiple subsections, and subsections are a unit of merging and
20 // garbage-collecting. Therefore, Mach-O's subsections are more similar to
29 // The notion of subsections also affects how relocations are represented in
31 // relocations if they refer to different subsections, because we obviously need
32 // to fix up addresses if subsections are laid out in an output file differently
159 subsections.reserve(sections.size()); in parseSections()
177 subsections.push_back({{0, isec}}); in parseSections()
218 if (relInfo.r_symbolnum == 0 || relInfo.r_symbolnum > subsections.size()) in parseRelocations()
223 SubsectionMap &referentSubsecMap = subsections[relInfo.r_symbolnum - 1]; in parseRelocations()
309 SubsectionMap &subsecMap = subsections[sym.n_sect - 1]; in parseSymbols()
312 // If the input file does not use subsections-via-symbols, all symbols can in parseSymbols()
343 // subsections. The new symbol uses the second subsection. in parseSymbols()
360 SubsectionMap &subsecMap = subsections[sym.n_sect - 1]; in parseSymbols()
376 subsections.push_back({{0, isec}}); in OpaqueFile()
412 for (size_t i = 0, n = subsections.size(); i < n; ++i) in ObjFile()
413 parseRelocations(sectionHeaders[i], subsections[i]); in ObjFile()