Home
last modified time | relevance | path

Searched refs:SHF_ALLOC (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp24 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
27 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
30 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
33 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
36 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
40 ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::XCORE_SHF_DP_SECTION); in Initialize()
43 ELF::SHF_ALLOC | ELF::XCORE_SHF_CP_SECTION); in Initialize()
46 ELF::SHF_ALLOC | ELF::XCORE_SHF_CP_SECTION); in Initialize()
49 ELF::SHF_ALLOC | ELF::SHF_MERGE | ELF::XCORE_SHF_CP_SECTION, 4); in Initialize()
52 ELF::SHF_ALLOC | ELF::SHF_MERGE | ELF::XCORE_SHF_CP_SECTION, 8); in Initialize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp25 Ctx.getELFSection(".progmem.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
27 Ctx.getELFSection(".progmem1.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
29 Ctx.getELFSection(".progmem2.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
31 Ctx.getELFSection(".progmem3.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
33 Ctx.getELFSection(".progmem4.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
35 Ctx.getELFSection(".progmem5.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp93 ELF::SHF_WRITE | ELF::SHF_ALLOC, in ParseSectionDirectiveData()
108 ELF::SHF_ALLOC, in ParseSectionDirectiveRoData()
113 ELF::SHF_ALLOC | in ParseSectionDirectiveTData()
119 ELF::SHF_ALLOC | in ParseSectionDirectiveTBSS()
130 ELF::SHF_ALLOC | in ParseSectionDirectiveDataRelRo()
297 flags |= ELF::SHF_ALLOC; in parseSectionFlags()
375 flags |= ELF::SHF_ALLOC; in parseSunStyleSectionFlags()
558 Flags |= ELF::SHF_ALLOC; in ParseSectionArguments()
561 Flags |= ELF::SHF_ALLOC | ELF::SHF_EXECINSTR; in ParseSectionArguments()
567 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE; in ParseSectionArguments()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp118 ELF::SHF_WRITE | ELF::SHF_ALLOC | in Initialize()
122 ELF::SHF_WRITE | ELF::SHF_ALLOC | in Initialize()
182 ELF::SHF_ALLOC | ELF::SHF_EXECINSTR); in getExplicitSectionGlobal()
185 ELF::SHF_WRITE | ELF::SHF_ALLOC); in getExplicitSectionGlobal()
376 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_HEX_GPREL); in selectSmallSectionForGlobal()
391 ELF::SHF_WRITE | ELF::SHF_ALLOC | in selectSmallSectionForGlobal()
420 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_HEX_GPREL); in selectSmallSectionForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetObjectFile.cpp44 ".sdata", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
47 ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp383 unsigned EHSectionFlags = ELF::SHF_ALLOC; in initELFMCObjectFileInfo()
389 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
392 ELF::SHF_EXECINSTR | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
395 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
398 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
412 ELF::SHF_ALLOC | ELF::SHF_MERGE, 4); in initELFMCObjectFileInfo()
416 ELF::SHF_ALLOC | ELF::SHF_MERGE, 8); in initELFMCObjectFileInfo()
420 ELF::SHF_ALLOC | ELF::SHF_MERGE, 16); in initELFMCObjectFileInfo()
424 ELF::SHF_ALLOC | ELF::SHF_MERGE, 32); in initELFMCObjectFileInfo()
433 ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
[all …]
H A DMCSectionELF.cpp72 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection()
87 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp71 if ((Flags & ELF::SHF_ALLOC) && (Flags & ELF::SHF_EXECINSTR)) in getRelocType()
77 if ((Flags & ELF::SHF_ALLOC) && (Flags & ELF::SHF_WRITE)) in getRelocType()
/freebsd-14.2/contrib/elftoolchain/libelf/
H A Dlibelf_chdr.c66 if ((sh32->sh_flags & SHF_ALLOC) != 0) { in _libelf_getchdr()
82 if ((sh64->sh_flags & SHF_ALLOC) != 0) { in _libelf_getchdr()
H A Dlibelf_checksum.c83 if ((shdr.sh_flags & SHF_ALLOC) == 0 || in _libelf_checksum()
/freebsd-14.2/usr.sbin/btxld/
H A Delfh.c102 htole32(SHF_EXECINSTR | SHF_ALLOC), /* sh_flags */
114 htole32(SHF_ALLOC | SHF_WRITE), /* sh_flags */
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp75 NewFlags |= ELF::SHF_ALLOC; in getNewShfFlags()
129 (!(Sec.Flags & ELF::SHF_ALLOC) || in setSectionFlagsAndType()
410 if ((Sec.Flags & SHF_ALLOC) != 0) in replaceAndRemoveSections()
442 return (Sec.Flags & SHF_ALLOC) == 0 && Sec.ParentSegment == nullptr; in replaceAndRemoveSections()
461 return (Sec.Flags & SHF_ALLOC) == 0; in replaceAndRemoveSections()
470 return (Sec.Flags & SHF_ALLOC) != 0 && !Sec.ParentSegment; in replaceAndRemoveSections()
658 if (Sec.Flags & SHF_ALLOC && Sec.Type != SHT_NOTE) in handleArgs()
723 } else if (RelocSec && !(Sec.Flags & SHF_ALLOC)) in handleArgs()
747 if (Sec.Flags & SHF_ALLOC) { in handleArgs()
759 if (TargetSec && (TargetSec->Flags & SHF_ALLOC)) { in handleArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp38 ELF::SHF_ALLOC | ELF::SHF_MIPS_NOSTRIP, 1); in EmitMipsOptionRecord()
56 ELF::SHF_ALLOC, 24); in EmitMipsOptionRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp33 ".sdata", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
35 ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp217 : SyntheticSection(SHF_ALLOC, SHT_MIPS_REGINFO, 4, ".reginfo"), in MipsReginfoSection()
313 : SyntheticSection(llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOTE, in GnuPropertySection()
358 : SyntheticSection(SHF_ALLOC, SHT_PROGBITS, 1, ".eh_frame") {} in EhFrameSection()
624 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, in GotSection()
1190 : SyntheticSection(SHF_ALLOC | SHF_WRITE, in IgotPltSection()
1263 this->flags = SHF_ALLOC; in DynamicSection()
1614 : SyntheticSection(SHF_ALLOC, type, config->wordsize, name), in RelocationBaseSection()
1725 : SyntheticSection(SHF_ALLOC, in RelrBaseSection()
2477 : SyntheticSection(SHF_ALLOC, SHT_HASH, 4, ".hash") { in HashTableSection()
3594 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, in ThunkSection()
[all …]
H A DLinkerScript.cpp688 aether = make<OutputSection>("", 0, SHF_ALLOC); in processSymbolAssignments()
931 if (!(sec->flags & SHF_ALLOC)) { in findMemoryRegion()
991 if (!(sec->flags & SHF_ALLOC)) { in assignOffsets()
1099 if (!(sec->flags & SHF_ALLOC)) { in assignOffsets()
1147 if (sec.flags & SHF_ALLOC) in maybePropagatePhdrs()
1177 uint64_t flags = SHF_ALLOC; in adjustOutputSections()
1203 flags & ((sec->nonAlloc ? 0 : (uint64_t)SHF_ALLOC) | SHF_WRITE); in adjustOutputSections()
1295 if (sec->flags & SHF_ALLOC) in allocateHeaders()
H A DWriter.cpp127 if (!(s->flags & SHF_ALLOC) || !s->isLive() || s->type != SHT_NOTE) in copySectionsIntoPartitions()
346 Out::programHeaders = make<OutputSection>("", 0, SHF_ALLOC); in createSyntheticSections()
843 if (!(flags & SHF_ALLOC) || !(flags & SHF_WRITE)) in isRelroSection()
938 if (!(osec.flags & SHF_ALLOC)) in getSectionRank()
2352 if (!(sec->flags & SHF_ALLOC)) in needsPtLoad()
2542 if (sec->type == SHT_NOTE && (sec->flags & SHF_ALLOC)) { in createPhdrs()
2665 return sec.type != SHT_NOBITS && (sec.flags & SHF_ALLOC) && sec.size > 0; in assignFileOffsetsBinary()
2701 if (!(sec->flags & SHF_ALLOC)) in assignFileOffsets()
2716 if (!(osec->flags & SHF_ALLOC)) { in assignFileOffsets()
2846 (!config->oFormatBinary || (sec->flags & SHF_ALLOC))) in checkSections()
[all …]
/freebsd-14.2/contrib/elftoolchain/elfcopy/
H A Dbinary.c77 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_binary()
103 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_binary()
205 off, SHT_PROGBITS, ELF_T_BYTE, SHF_ALLOC | SHF_WRITE, 1, 0, 1); in create_elf_from_binary()
H A Dpe.c156 else if (sh.sh_flags & SHF_ALLOC) in create_pe()
194 if ((sh.sh_flags & SHF_ALLOC) && (psh.sh_char & 0xF0) == 0) in create_pe()
H A Dascii.c126 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_srec()
167 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_srec()
432 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_ihex()
647 SHT_PROGBITS, ELF_T_BYTE, SHF_ALLOC | SHF_WRITE, 1, addr, 0)); in new_data_section()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp32 ".sdata", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
34 ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp50 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_MIPS_GPREL); in Initialize()
53 ELF::SHF_WRITE | ELF::SHF_ALLOC | in Initialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp69 ELF::SHF_ALLOC); in emitNoteSection()
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_mod.c131 ctfsect.cts_flags = SHF_ALLOC; in ctf_modopen()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp48 ELF::SHF_EXECINSTR | ELF::SHF_ALLOC | ELF::SHF_ARM_PURECODE; in Initialize()

1234