Home
last modified time | relevance | path

Searched refs:com_sym (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp756 SymbolCategory::iterator com_sym, com_end; in allocateCommonSymbols() local
783 for (com_sym = symbol_list.localBegin(); com_sym != com_end; ++com_sym) { in allocateCommonSymbols()
784 if (ResolveInfo::Common == (*com_sym)->desc()) { in allocateCommonSymbols()
790 (*com_sym)->resolveInfo()->setDesc(ResolveInfo::Define); in allocateCommonSymbols()
791 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols()
793 switch ((*com_sym)->size()) { in allocateCommonSymbols()
798 *frag, *(m_pscommon_1->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols()
799 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols()
805 *frag, *(m_pscommon_2->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols()
806 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp588 SymbolCategory::iterator com_sym, com_end; in allocateCommonSymbols() local
618 for (com_sym = symbol_list.localBegin(); com_sym != com_end; ++com_sym) { in allocateCommonSymbols()
619 if (ResolveInfo::Common == (*com_sym)->desc()) { in allocateCommonSymbols()
625 (*com_sym)->resolveInfo()->setDesc(ResolveInfo::Define); in allocateCommonSymbols()
626 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols()
628 if (ResolveInfo::ThreadLocal == (*com_sym)->type()) { in allocateCommonSymbols()
631 *frag, *tbss_sect_data, (*com_sym)->value()); in allocateCommonSymbols()
632 ObjectBuilder::UpdateSectionAlign(tbss_sect, (*com_sym)->value()); in allocateCommonSymbols()
633 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols()
637 *frag, *bss_sect_data, (*com_sym)->value()); in allocateCommonSymbols()
[all …]
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1510 SymbolCategory::iterator com_sym, com_end; in allocateCommonSymbols() local
1540 for (com_sym = symbol_list.localBegin(); com_sym != com_end; ++com_sym) { in allocateCommonSymbols()
1541 if (ResolveInfo::Common == (*com_sym)->desc()) { in allocateCommonSymbols()
1547 (*com_sym)->resolveInfo()->setDesc(ResolveInfo::Define); in allocateCommonSymbols()
1548 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols()
1550 if (ResolveInfo::ThreadLocal == (*com_sym)->type()) { in allocateCommonSymbols()
1553 *frag, *tbss_sect_data, (*com_sym)->value()); in allocateCommonSymbols()
1554 ObjectBuilder::UpdateSectionAlign(tbss_sect, (*com_sym)->value()); in allocateCommonSymbols()
1555 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols()
1558 *frag, *bss_sect_data, (*com_sym)->value()); in allocateCommonSymbols()
[all …]