| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 24 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 D | RISCVTargetObjectFile.cpp | 33 ".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 D | HexagonTargetObjectFile.cpp | 118 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 D | HexagonAsmPrinter.cpp | 203 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 D | M68kTargetObjectFile.cpp | 44 ".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 D | LanaiTargetObjectFile.cpp | 30 ".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 D | ELFAsmParser.cpp | 87 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 D | MipsTargetObjectFile.cpp | 49 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 D | MCSectionELF.cpp | 75 if (Flags & ELF::SHF_WRITE) in printSwitchToSection() 92 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
|
| H A D | MCObjectFileInfo.cpp | 388 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 D | MCELFStreamer.cpp | 277 ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in emitCommonSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFELFObjectWriter.cpp | 76 if ((Flags & ELF::SHF_ALLOC) && (Flags & ELF::SHF_WRITE)) in getRelocType()
|
| /freebsd/usr.sbin/btxld/ |
| H A D | elfh.c | 114 htole32(SHF_ALLOC | SHF_WRITE), /* sh_flags */
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | TargetImpl.h | 55 (target->section->flags & llvm::ELF::SHF_WRITE) || in applyBranchToBranchOptImpl()
|
| /freebsd/contrib/llvm-project/lld/docs/ELF/ |
| H A D | linker_script.rst | 106 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 D | pe.c | 189 if (sh.sh_flags & SHF_WRITE) in create_pe()
|
| H A D | binary.c | 205 off, SHT_PROGBITS, ELF_T_BYTE, SHF_ALLOC | SHF_WRITE, 1, 0, 1); in create_elf_from_binary()
|
| /freebsd/lib/libc/gen/ |
| H A D | nlist.c | 295 (sh->sh_flags & SHF_WRITE ? N_DATA : N_TEXT) :
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCELFStreamer.cpp | 111 SectionName, ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in HexagonMCEmitCommonSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 410 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 D | size.c | 765 !(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 D | SyntheticSections.cpp | 394 : 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 D | ICF.cpp | 168 if ((s->flags & SHF_WRITE) && s->name != ".data.rel.ro" && in isEligible()
|
| H A D | ScriptParser.cpp | 1399 .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 D | ELFLinkGraphBuilder.h | 361 if (Sec.sh_flags & ELF::SHF_WRITE) in graphifySections()
|