Home
last modified time | relevance | path

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

12

/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/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/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()
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()
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/MC/MCParser/
H A DELFAsmParser.cpp93 ELF::SHF_WRITE | ELF::SHF_ALLOC, in ParseSectionDirectiveData()
103 ELF::SHF_WRITE | in ParseSectionDirectiveBSS()
114 ELF::SHF_TLS | ELF::SHF_WRITE, in ParseSectionDirectiveTData()
120 ELF::SHF_TLS | ELF::SHF_WRITE, in ParseSectionDirectiveTBSS()
125 ELF::SHF_ALLOC | ELF::SHF_WRITE, in ParseSectionDirectiveDataRel()
131 ELF::SHF_WRITE, in ParseSectionDirectiveDataRelRo()
136 ELF::SHF_ALLOC | ELF::SHF_WRITE, in ParseSectionDirectiveEhFrame()
306 flags |= ELF::SHF_WRITE; in parseSectionFlags()
379 flags |= ELF::SHF_WRITE; in parseSunStyleSectionFlags()
567 Flags |= ELF::SHF_ALLOC | ELF::SHF_WRITE; in ParseSectionArguments()
[all …]
/freebsd/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/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/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/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp76 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
93 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
H A DMCObjectFileInfo.cpp385 EHSectionFlags |= ELF::SHF_WRITE; in initELFMCObjectFileInfo()
389 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
395 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
402 ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
405 ".tbss", ELF::SHT_NOBITS, ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
408 ELF::SHF_ALLOC | ELF::SHF_WRITE); in initELFMCObjectFileInfo()
1240 unsigned Flags = ELF::SHF_WRITE | ELF::SHF_ALLOC | ELF::SHF_LINK_ORDER; in getPCSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp77 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/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/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp109 SectionName, ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in HexagonMCEmitCommonSymbol()
/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.c281 (sh->sh_flags & SHF_WRITE ? N_DATA : N_TEXT) : in elf_sym_to_nlist()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp424 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_GROUP; in emitPersonalityValue()
551 Flags |= ELF::SHF_WRITE; in getELFSectionFlags()
1080 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in getStaticStructorSection()
1173 ELF::SHF_ALLOC | ELF::SHF_WRITE); in InitializeELF()
1176 ELF::SHF_ALLOC | ELF::SHF_WRITE); in InitializeELF()
1181 ELF::SHF_WRITE | ELF::SHF_ALLOC); in InitializeELF()
1183 ELF::SHF_WRITE | ELF::SHF_ALLOC); in InitializeELF()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp352 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_NOBITS, alignment, name) { in BssSection()
624 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, in GotSection()
707 : SyntheticSection(SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL, SHT_PROGBITS, 16, in MipsGotSection()
1138 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotPltSection()
1190 : SyntheticSection(SHF_ALLOC | SHF_WRITE, in IgotPltSection()
1254 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_DYNAMIC, config->wordsize, in DynamicSection()
2534 this->flags |= SHF_WRITE; in PltSection()
2697 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_NOBITS, 1, ".relro_padding") { in RelroPaddingSection()
3373 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in MipsRldMapSection()
3638 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, 4, ".got2") {} in PPC32Got2Section()
[all …]
H A DScriptParser.cpp1305 .Case(CASE_ENT(SHF_WRITE)) in parseFlag()
1781 flags |= SHF_WRITE; in readMemoryAttributes()
1787 invFlags |= SHF_WRITE; in readMemoryAttributes()
H A DICF.cpp167 if ((s->flags & SHF_WRITE) && s->name != ".data.rel.ro" && in isEligible()
H A DLinkerScript.cpp434 sections, [](InputSectionBase *sec) { return sec->flags & SHF_WRITE; }); in matchConstraints()
1203 flags & ((sec->nonAlloc ? 0 : (uint64_t)SHF_ALLOC) | SHF_WRITE); in adjustOutputSections()
/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/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h360 if (Sec.sh_flags & ELF::SHF_WRITE) in graphifySections()
/freebsd/sys/sys/
H A Delf_common.h500 #define SHF_WRITE 0x1 /* Section contains writable data. */ macro

12