Home
last modified time | relevance | path

Searched refs:LDFileFormat (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
DELFFileFormat.cpp70 LDFileFormat::TEXT, in initStdSections()
75 LDFileFormat::Null, in initStdSections()
79 LDFileFormat::TEXT, in initStdSections()
85 LDFileFormat::BSS, in initStdSections()
90 LDFileFormat::MetaData, in initStdSections()
95 LDFileFormat::DATA, in initStdSections()
100 LDFileFormat::DATA, in initStdSections()
105 LDFileFormat::Debug, in initStdSections()
110 LDFileFormat::TEXT, in initStdSections()
115 LDFileFormat::DATA, in initStdSections()
[all …]
DELFDynObjFileFormat.cpp21 LDFileFormat::NamePool, in initObjectFormat()
26 LDFileFormat::NamePool, in initObjectFormat()
31 LDFileFormat::Note, in initObjectFormat()
36 LDFileFormat::NamePool, in initObjectFormat()
41 LDFileFormat::NamePool, in initObjectFormat()
46 LDFileFormat::Relocation, in initObjectFormat()
51 LDFileFormat::Relocation, in initObjectFormat()
56 LDFileFormat::Relocation, in initObjectFormat()
61 LDFileFormat::Relocation, in initObjectFormat()
66 LDFileFormat::Target, in initObjectFormat()
[all …]
DELFExecFileFormat.cpp22 LDFileFormat::NamePool, in initObjectFormat()
27 LDFileFormat::NamePool, in initObjectFormat()
32 LDFileFormat::Note, in initObjectFormat()
37 LDFileFormat::NamePool, in initObjectFormat()
42 LDFileFormat::NamePool, in initObjectFormat()
47 LDFileFormat::Relocation, in initObjectFormat()
52 LDFileFormat::Relocation, in initObjectFormat()
57 LDFileFormat::Relocation, in initObjectFormat()
62 LDFileFormat::Relocation, in initObjectFormat()
67 LDFileFormat::Target, in initObjectFormat()
[all …]
DELFObjectReader.cpp121 case LDFileFormat::Group: { in readSections()
149 pInput.context()->getSection(value[index])->setKind(LDFileFormat::Ignore); in readSections()
157 case LDFileFormat::LinkOnce: { in readSections()
164 (*section)->setKind(LDFileFormat::Debug); in readSections()
166 (*section)->setKind(LDFileFormat::Ignore); in readSections()
174 (*section)->setKind(LDFileFormat::TEXT); in readSections()
176 (*section)->setKind(LDFileFormat::DATA); in readSections()
182 (*section)->setKind(LDFileFormat::Ignore); in readSections()
187 case LDFileFormat::Relocation: { in readSections()
191 if (NULL == link_sect || LDFileFormat::Ignore == link_sect->kind()) { in readSections()
[all …]
DLDSection.cpp26 m_Kind(LDFileFormat::Ignore), in LDSection()
40 LDFileFormat::Kind pKind, in LDSection()
69 LDFileFormat::Kind pKind, in Create()
94 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); in hasSectionData()
100 assert(LDFileFormat::Relocation == kind()); in hasRelocData()
106 assert(LDFileFormat::EhFrame == kind()); in hasEhFrame()
DLDFileFormat.cpp16 LDFileFormat::LDFileFormat() in LDFileFormat() function in LDFileFormat
23 LDFileFormat::~LDFileFormat() in ~LDFileFormat()
DELFObjectWriter.cpp60 case LDFileFormat::Note: in writeSection()
64 case LDFileFormat::TEXT: in writeSection()
65 case LDFileFormat::DATA: in writeSection()
66 case LDFileFormat::Relocation: in writeSection()
67 case LDFileFormat::Target: in writeSection()
68 case LDFileFormat::Debug: in writeSection()
69 case LDFileFormat::GCCExceptTable: in writeSection()
70 case LDFileFormat::EhFrame: { in writeSection()
77 case LDFileFormat::Null: in writeSection()
78 case LDFileFormat::NamePool: in writeSection()
[all …]
DELFBinaryReader.cpp47 LDFileFormat::Null, in readBinary()
55 LDFileFormat::DATA, in readBinary()
68 LDFileFormat::NamePool, in readBinary()
75 LDFileFormat::NamePool, in readBinary()
131 LDFileFormat::NamePool, in readBinary()
DGarbageCollection.cpp67 if (pSection.kind() == LDFileFormat::TEXT || in mayProcessGC()
68 pSection.kind() == LDFileFormat::DATA || in mayProcessGC()
69 pSection.kind() == LDFileFormat::BSS || in mayProcessGC()
70 pSection.kind() == LDFileFormat::GCCExceptTable) in mayProcessGC()
149 if ((LDFileFormat::Ignore == reloc_sect->kind()) || in setUpReachedSections()
347 section->setKind(LDFileFormat::Ignore); in stripSections()
361 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind()) in stripSections()
362 reloc_sect->setKind(LDFileFormat::Ignore); in stripSections()
DELFReaderIf.cpp55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc()
118 if (LDFileFormat::Ignore == sect_hdr->kind()) in getSymFragmentRef()
121 if (LDFileFormat::Group == sect_hdr->kind()) in getSymFragmentRef()
DSectionSymbolSet.cpp74 case LDFileFormat::Relocation: in finalize()
78 case LDFileFormat::EhFrame: in finalize()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp27 LDFileFormat::Kind GetELFSectionKind(uint32_t pType, const char* pName, in GetELFSectionKind()
31 return LDFileFormat::Exclude; in GetELFSectionKind()
34 return LDFileFormat::Target; in GetELFSectionKind()
42 return LDFileFormat::Debug; in GetELFSectionKind()
44 return LDFileFormat::MetaData; in GetELFSectionKind()
46 return LDFileFormat::Note; in GetELFSectionKind()
48 return LDFileFormat::EhFrame; in GetELFSectionKind()
50 return LDFileFormat::EhFrameHdr; in GetELFSectionKind()
52 return LDFileFormat::GCCExceptTable; in GetELFSectionKind()
54 return LDFileFormat::StackNote; in GetELFSectionKind()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DLDSection.h37 LDFileFormat::Kind pKind,
47 LDFileFormat::Kind pKind,
65 LDFileFormat::Kind kind() const in kind()
129 void setKind(LDFileFormat::Kind pKind) in setKind()
196 LDFileFormat::Kind m_Kind;
DLDFileFormat.h23 class LDFileFormat
50 LDFileFormat();
53 virtual ~LDFileFormat();
DDynObjFileFormat.h18 class DynObjFormat : public LDFileFormat
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp238 case LDFileFormat::Relocation: in initStandardSymbols()
240 case LDFileFormat::EhFrame: in initStandardSymbols()
1370 if (LDFileFormat::Null == pSectHdr.kind()) in getSectionOrder()
1384 case LDFileFormat::TEXT: in getSectionOrder()
1385 case LDFileFormat::DATA: in getSectionOrder()
1413 case LDFileFormat::BSS: in getSectionOrder()
1418 case LDFileFormat::NamePool: { in getSectionOrder()
1423 case LDFileFormat::Relocation: in getSectionOrder()
1430 case LDFileFormat::Target: in getSectionOrder()
1434 case LDFileFormat::Note: in getSectionOrder()
[all …]
/frameworks/compile/mclinker/unittests/
DSectionDataTest.cpp44 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
48 s->getSection().kind() == LDFileFormat::Null); in TEST_F()
55 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
DFragmentTest.cpp43 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
58 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp312 case LDFileFormat::Folded: in mergeSections()
313 case LDFileFormat::Ignore: in mergeSections()
314 case LDFileFormat::Null: in mergeSections()
315 case LDFileFormat::NamePool: in mergeSections()
316 case LDFileFormat::Group: in mergeSections()
317 case LDFileFormat::StackNote: in mergeSections()
320 case LDFileFormat::Relocation: { in mergeSections()
324 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore || in mergeSections()
325 (*sect)->getLink()->kind() == LDFileFormat::Folded) in mergeSections()
326 (*sect)->setKind(LDFileFormat::Ignore); in mergeSections()
[all …]
DObjectBuilder.cpp35 LDFileFormat::Kind pKind, in CreateSection()
64 pInputSection.setKind(LDFileFormat::Ignore); in MergeSection()
82 case LDFileFormat::EhFrame: { in MergeSection()
DSectionMap.cpp49 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Input()
62 m_pSection = LDSection::Create("", LDFileFormat::TEXT, 0, 0); in Input()
88 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Output()
101 m_pSection = LDSection::Create(m_Name, LDFileFormat::TEXT, 0, 0); in Output()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp87 LDFileFormat::Target, in initTargetSections()
92 LDFileFormat::Target, in initTargetSections()
97 LDFileFormat::Target, in initTargetSections()
423 if (LDFileFormat::Ignore == pSection.getLink()->kind()) { in mergeSection()
426 pSection.setKind(LDFileFormat::Ignore); in mergeSection()
457 if ((LDFileFormat::Ignore == reloc_sect->kind()) || in setUpReachedSectionsForGC()
481 if (target_sect->kind() != LDFileFormat::TEXT && in setUpReachedSectionsForGC()
482 target_sect->kind() != LDFileFormat::DATA && in setUpReachedSectionsForGC()
483 target_sect->kind() != LDFileFormat::BSS) in setUpReachedSectionsForGC()
619 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in doRelax()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp83 case LDFileFormat::Relocation: in Create()
86 case LDFileFormat::EhFrame: in Create()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp463 LDFileFormat::Target, in initTargetSections()
468 LDFileFormat::Target, in initTargetSections()
475 LDFileFormat::Target, in initTargetSections()
482 LDFileFormat::Target, in initTargetSections()
489 LDFileFormat::Target, in initTargetSections()
496 LDFileFormat::Target, in initTargetSections()
588 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in doRelax()
704 (pInputSection.kind() == LDFileFormat::LinkOnce) || in mergeSection()
705 (pInputSection.kind() == LDFileFormat::Target)) { in mergeSection()
/frameworks/compile/mclinker/include/mcld/Object/
DObjectBuilder.h51 LDFileFormat::Kind pKind,

12