Home
last modified time | relevance | path

Searched refs:sect (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/mclinker/lib/Core/
DModule.cpp39 iterator sect, sectEnd = end(); in getSection() local
40 for (sect = begin(); sect != sectEnd; ++sect) { in getSection()
41 if ((*sect)->name() == pName) in getSection()
42 return *sect; in getSection()
49 const_iterator sect, sectEnd = end(); in getSection() local
50 for (sect = begin(); sect != sectEnd; ++sect) { in getSection()
51 if ((*sect)->name() == pName) in getSection()
52 return *sect; in getSection()
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp242 LDContext::sect_iterator sect, sectEnd = (*obj)->context()->sectEnd(); in mergeSections() local
243 for (sect = (*obj)->context()->sectBegin(); sect != sectEnd; ++sect) { in mergeSections()
244 switch ((*sect)->kind()) { in mergeSections()
255 if (!m_LDBackend.mergeSection(*m_pModule, **sect)) { in mergeSections()
256 error(diag::err_cannot_merge_section) << (*sect)->name() in mergeSections()
262 if (!(*sect)->hasEhFrame()) in mergeSections()
265 if (NULL == builder.MergeSection(**sect)) { in mergeSections()
266 error(diag::err_cannot_merge_section) << (*sect)->name() in mergeSections()
273 if (!(*sect)->hasSectionData()) in mergeSections()
276 LDSection* out_sect = builder.MergeSection(**sect); in mergeSections()
[all …]
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp876 Module::const_iterator sect, sectEnd = pModule.end(); in sizeNamePools() local
877 for (sect = pModule.begin(); sect != sectEnd; ++sect) { in sizeNamePools()
878 switch ((*sect)->kind()) { in sizeNamePools()
883 shstrtab += ((*sect)->name().size() + 1); in sizeNamePools()
886 if (((*sect)->size() != 0) || in sizeNamePools()
887 ((*sect)->hasEhFrame() && in sizeNamePools()
889 shstrtab += ((*sect)->name().size() + 1); in sizeNamePools()
892 if (((*sect)->size() != 0) || in sizeNamePools()
893 ((*sect)->hasRelocData() && in sizeNamePools()
895 shstrtab += ((*sect)->name().size() + 1); in sizeNamePools()
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp145 ELFSegment::sect_iterator sect, sectEnd = (*seg).end(); in writeObject() local
146 for (sect = (*seg).begin(); sect != sectEnd; ++sect) in writeObject()
147 writeSection(pOutput, *sect); in writeObject()
152 Module::iterator sect, sectEnd = pModule.end(); in writeObject() local
153 for (sect = pModule.begin(); sect != sectEnd; ++sect) in writeObject()
154 writeSection(pOutput, *sect); in writeObject()
/frameworks/compile/mclinker/tools/mcld/lib/Core/
DLinker.cpp141 mcld::LDSection* sect = mBuilder->CreateELFHeader(*input, ".text", in addCode() local
145 mcld::SectionData* data = mBuilder->CreateSectionData(*sect); in addCode()
/frameworks/compile/libbcc/lib/Core/
DLinker.cpp148 mcld::LDSection* sect = mBuilder->CreateELFHeader(*input, ".text", in addCode() local
152 mcld::SectionData* data = mBuilder->CreateSectionData(*sect); in addCode()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp367 Module::const_iterator sect, sectEnd = pModule.end(); in sizeNamePools() local
368 for (sect = pModule.begin(); sect != sectEnd; ++sect) { in sizeNamePools()
370 if (0 != (*sect)->size() || LDFileFormat::StackNote == (*sect)->kind()) { in sizeNamePools()
371 shstrtab += ((*sect)->name().size() + 1); in sizeNamePools()