Lines Matching refs:ELF
94 return ParseSectionSwitch(".data", ELF::SHT_PROGBITS, in ParseSectionDirectiveData()
95 ELF::SHF_WRITE | ELF::SHF_ALLOC, in ParseSectionDirectiveData()
99 return ParseSectionSwitch(".text", ELF::SHT_PROGBITS, in ParseSectionDirectiveText()
100 ELF::SHF_EXECINSTR | in ParseSectionDirectiveText()
101 ELF::SHF_ALLOC, SectionKind::getText()); in ParseSectionDirectiveText()
104 return ParseSectionSwitch(".bss", ELF::SHT_NOBITS, in ParseSectionDirectiveBSS()
105 ELF::SHF_WRITE | in ParseSectionDirectiveBSS()
106 ELF::SHF_ALLOC, SectionKind::getBSS()); in ParseSectionDirectiveBSS()
109 return ParseSectionSwitch(".rodata", ELF::SHT_PROGBITS, in ParseSectionDirectiveRoData()
110 ELF::SHF_ALLOC, in ParseSectionDirectiveRoData()
114 return ParseSectionSwitch(".tdata", ELF::SHT_PROGBITS, in ParseSectionDirectiveTData()
115 ELF::SHF_ALLOC | in ParseSectionDirectiveTData()
116 ELF::SHF_TLS | ELF::SHF_WRITE, in ParseSectionDirectiveTData()
120 return ParseSectionSwitch(".tbss", ELF::SHT_NOBITS, in ParseSectionDirectiveTBSS()
121 ELF::SHF_ALLOC | in ParseSectionDirectiveTBSS()
122 ELF::SHF_TLS | ELF::SHF_WRITE, in ParseSectionDirectiveTBSS()
126 return ParseSectionSwitch(".data.rel", ELF::SHT_PROGBITS, in ParseSectionDirectiveDataRel()
127 ELF::SHF_ALLOC | ELF::SHF_WRITE, in ParseSectionDirectiveDataRel()
131 return ParseSectionSwitch(".data.rel.ro", ELF::SHT_PROGBITS, in ParseSectionDirectiveDataRelRo()
132 ELF::SHF_ALLOC | in ParseSectionDirectiveDataRelRo()
133 ELF::SHF_WRITE, in ParseSectionDirectiveDataRelRo()
137 return ParseSectionSwitch(".eh_frame", ELF::SHT_PROGBITS, in ParseSectionDirectiveEhFrame()
138 ELF::SHF_ALLOC | ELF::SHF_WRITE, in ParseSectionDirectiveEhFrame()
292 flags |= ELF::SHF_ALLOC; in parseSectionFlags()
295 flags |= ELF::SHF_EXCLUDE; in parseSectionFlags()
298 flags |= ELF::SHF_EXECINSTR; in parseSectionFlags()
301 flags |= ELF::SHF_WRITE; in parseSectionFlags()
304 flags |= ELF::SHF_LINK_ORDER; in parseSectionFlags()
307 flags |= ELF::SHF_MERGE; in parseSectionFlags()
310 flags |= ELF::SHF_STRINGS; in parseSectionFlags()
313 flags |= ELF::SHF_TLS; in parseSectionFlags()
316 flags |= ELF::XCORE_SHF_CP_SECTION; in parseSectionFlags()
319 flags |= ELF::XCORE_SHF_DP_SECTION; in parseSectionFlags()
322 flags |= ELF::SHF_ARM_PURECODE; in parseSectionFlags()
325 flags |= ELF::SHF_HEX_GPREL; in parseSectionFlags()
328 flags |= ELF::SHF_GROUP; in parseSectionFlags()
351 flags |= ELF::SHF_ALLOC; in parseSunStyleSectionFlags()
353 flags |= ELF::SHF_EXECINSTR; in parseSunStyleSectionFlags()
355 flags |= ELF::SHF_WRITE; in parseSunStyleSectionFlags()
357 flags |= ELF::SHF_TLS; in parseSunStyleSectionFlags()
504 Flags |= ELF::SHF_ALLOC; in ParseSectionArguments()
507 Flags |= ELF::SHF_ALLOC | ELF::SHF_EXECINSTR; in ParseSectionArguments()
513 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE; in ParseSectionArguments()
516 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_TLS; in ParseSectionArguments()
546 bool Mergeable = Flags & ELF::SHF_MERGE; in ParseSectionArguments()
547 bool Group = Flags & ELF::SHF_GROUP; in ParseSectionArguments()
571 if (Flags & ELF::SHF_LINK_ORDER) in ParseSectionArguments()
583 unsigned Type = ELF::SHT_PROGBITS; in ParseSectionArguments()
587 Type = ELF::SHT_NOTE; in ParseSectionArguments()
589 Type = ELF::SHT_INIT_ARRAY; in ParseSectionArguments()
591 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
593 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
595 Type = ELF::SHT_FINI_ARRAY; in ParseSectionArguments()
597 Type = ELF::SHT_PREINIT_ARRAY; in ParseSectionArguments()
600 Type = ELF::SHT_INIT_ARRAY; in ParseSectionArguments()
602 Type = ELF::SHT_FINI_ARRAY; in ParseSectionArguments()
604 Type = ELF::SHT_PREINIT_ARRAY; in ParseSectionArguments()
606 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
608 Type = ELF::SHT_PROGBITS; in ParseSectionArguments()
610 Type = ELF::SHT_NOTE; in ParseSectionArguments()
612 Type = ELF::SHT_X86_64_UNWIND; in ParseSectionArguments()
614 Type = ELF::SHT_LLVM_ODRTAB; in ParseSectionArguments()
616 Type = ELF::SHT_LLVM_LINKER_OPTIONS; in ParseSectionArguments()
618 Type = ELF::SHT_LLVM_CALL_GRAPH_PROFILE; in ParseSectionArguments()
629 Flags |= ELF::SHF_GROUP; in ParseSectionArguments()
793 MCSection *Note = getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in ParseDirectiveVersion()