Home
last modified time | relevance | path

Searched refs:SHF_WRITE (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/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()
85 Flags |= ELF::SHF_WRITE; in getXCoreSectionFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp33 ".sdata", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
35 ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
119 ELF::SHF_WRITE | ELF::SHF_ALLOC); in SelectSectionForGlobal()
130 ELF::SHF_WRITE | ELF::SHF_ALLOC); in SelectSectionForGlobal()
/freebsd/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()
185 ELF::SHF_WRITE | ELF::SHF_ALLOC); in getExplicitSectionGlobal()
375 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_HEX_GPREL); in selectSmallSectionForGlobal()
390 ELF::SHF_WRITE | ELF::SHF_ALLOC | in selectSmallSectionForGlobal()
419 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_HEX_GPREL); in selectSmallSectionForGlobal()
H A DHexagonAsmPrinter.cpp203 sectionName, ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in smallData()
231 ".lita", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in smallData()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp30 ".sdata", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
32 ELF::SHF_WRITE | ELF::SHF_ALLOC); in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp87 ELF::SHF_WRITE | ELF::SHF_ALLOC, in parseSectionDirectiveData()
97 ELF::SHF_WRITE | in parseSectionDirectiveBSS()
108 ELF::SHF_TLS | ELF::SHF_WRITE, in parseSectionDirectiveTData()
114 ELF::SHF_TLS | ELF::SHF_WRITE, in parseSectionDirectiveTBSS()
282 flags |= ELF::SHF_WRITE; in parseSectionFlags()
358 flags |= ELF::SHF_WRITE; in parseSunStyleSectionFlags()
524 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE; in parseSectionArguments()
526 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_TLS; in parseSectionArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp49 ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_MIPS_GPREL); in Initialize()
52 ELF::SHF_WRITE | ELF::SHF_ALLOC | in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp75 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
92 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
H A DMCObjectFileInfo.cpp388 EHSectionFlags |= ELF::SHF_WRITE; in initELFMCObjectFileInfo()
392 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
398 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
405 ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
408 ".tbss", ELF::SHT_NOBITS, ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
411 ELF::SHF_ALLOC | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
1233 unsigned Flags = ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_LINK_ORDER; in getPCSection()
H A DMCELFStreamer.cpp277 ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in emitCommonSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp76 if ((Flags & ELF::SHF_ALLOC) && (Flags & ELF::SHF_WRITE)) in getRelocType()
/freebsd/usr.sbin/btxld/
H A Delfh.c114 htole32(SHF_ALLOC | SHF_WRITE), /* sh_flags */
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DTargetImpl.h55 (target->section->flags & llvm::ELF::SHF_WRITE) || in applyBranchToBranchOptImpl()
/freebsd/contrib/llvm-project/lld/docs/ELF/
H A Dlinker_script.rst106 GNU ld sets the ``SHF_WRITE`` flag. LLD sets the SHF_WRITE flag only if the
107 preceding output section with non-empty input sections also has the SHF_WRITE
/freebsd/contrib/elftoolchain/elfcopy/
H A Dpe.c189 if (sh.sh_flags & SHF_WRITE) in create_pe()
H A Dbinary.c205 off, SHT_PROGBITS, ELF_T_BYTE, SHF_ALLOC | SHF_WRITE, 1, 0, 1); in create_elf_from_binary()
/freebsd/lib/libc/gen/
H A Dnlist.c295 (sh->sh_flags & SHF_WRITE ? N_DATA : N_TEXT) :
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp111 SectionName, ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in HexagonMCEmitCommonSymbol()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp410 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_GROUP; in emitPersonalityValue()
549 Flags |= ELF::SHF_WRITE; in getELFSectionFlags()
1086 ELF::SHF_ALLOC | ELF::SHF_WRITE); in getSectionForConstant()
1146 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in getStaticStructorSection()
1247 ELF::SHF_ALLOC | ELF::SHF_WRITE); in InitializeELF()
1250 ELF::SHF_ALLOC | ELF::SHF_WRITE); in InitializeELF()
1255 ELF::SHF_WRITE | ELF::SHF_ALLOC); in InitializeELF()
1257 ELF::SHF_WRITE | ELF::SHF_ALLOC); in InitializeELF()
/freebsd/contrib/elftoolchain/size/
H A Dsize.c765 !(shdr->sh_flags & SHF_WRITE))) in berkeley_calc()
768 (shdr->sh_flags & SHF_WRITE) && in berkeley_calc()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp394 : SyntheticSection(ctx, name, SHT_NOBITS, SHF_ALLOC | SHF_WRITE, in BssSection()
672 : SyntheticSection(ctx, ".got", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, in GotSection()
782 SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL, 16) {} in MipsGotSection()
1215 : SyntheticSection(ctx, ".got.plt", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, in GotPltSection()
1269 SHF_ALLOC | SHF_WRITE, ctx.target->gotEntrySize) {} in IgotPltSection()
1332 : SyntheticSection(ctx, ".dynamic", SHT_DYNAMIC, SHF_ALLOC | SHF_WRITE, in DynamicSection()
2625 this->flags |= SHF_WRITE; in PltSection()
2795 : SyntheticSection(ctx, ".relro_padding", SHT_NOBITS, SHF_ALLOC | SHF_WRITE, in RelroPaddingSection()
4075 : SyntheticSection(ctx, ".rld_map", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, in MipsRldMapSection()
4356 : SyntheticSection(ctx, ".got2", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, 4) {} in PPC32Got2Section()
[all …]
H A DICF.cpp168 if ((s->flags & SHF_WRITE) && s->name != ".data.rel.ro" && in isEligible()
H A DScriptParser.cpp1399 .Case(CASE_ENT(SHF_WRITE)) in parseFlag()
1879 flags |= SHF_WRITE; in readMemoryAttributes()
1885 invFlags |= SHF_WRITE; in readMemoryAttributes()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h361 if (Sec.sh_flags & ELF::SHF_WRITE) in graphifySections()

123