| /freebsd/contrib/elftoolchain/libelf/ |
| H A D | libelf_chdr.c | 66 if ((sh32->sh_flags & SHF_ALLOC) != 0) { in _libelf_getchdr() 76 if ((sh32->sh_flags & SHF_COMPRESSED) == 0) { in _libelf_getchdr() 82 if ((sh64->sh_flags & SHF_ALLOC) != 0) { in _libelf_getchdr() 92 if ((sh64->sh_flags & SHF_COMPRESSED) == 0) { in _libelf_getchdr()
|
| H A D | gelf_shdr.c | 73 d->sh_flags = (Elf64_Xword) sh32->sh_flags; in gelf_getshdr() 120 LIBELF_COPY_U32(sh32, s, sh_flags); in gelf_update_shdr()
|
| H A D | libelf_checksum.c | 83 if ((shdr.sh_flags & SHF_ALLOC) == 0 || in _libelf_checksum()
|
| H A D | elf_types.m4 | 198 `sh_flags, WORD', 211 `sh_flags, XWORD',
|
| /freebsd/contrib/elftoolchain/elfcopy/ |
| H A D | pe.c | 156 else if (sh.sh_flags & SHF_ALLOC) in create_pe() 189 if (sh.sh_flags & SHF_WRITE) in create_pe() 191 if (sh.sh_flags & SHF_EXECINSTR) in create_pe() 194 if ((sh.sh_flags & SHF_ALLOC) && (psh.sh_char & 0xF0) == 0) in create_pe()
|
| H A D | sections.c | 414 s->flags = ish.sh_flags; in create_scn() 432 (ish.sh_flags & SHF_ALLOC)) in create_scn() 478 if (((ish.sh_flags & SHF_ALLOC) || in create_scn() 479 (ish.sh_flags & SHF_GROUP)) && in create_scn() 1194 osh.sh_flags = 0; in copy_shdr() 1196 osh.sh_flags |= SHF_ALLOC; in copy_shdr() 1198 osh.sh_flags |= SHF_WRITE; in copy_shdr() 1200 osh.sh_flags |= SHF_EXECINSTR; in copy_shdr() 1213 osh.sh_flags = ish.sh_flags; in copy_shdr() 1222 osh.sh_flags |= SHF_INFO_LINK; in copy_shdr() [all …]
|
| H A D | binary.c | 77 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_binary() 103 if ((sh.sh_flags & SHF_ALLOC) == 0 || in create_binary()
|
| /freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
| H A D | ctf_lib.c | 168 dst->sh_flags = src->sh_flags; in shdr_to_gelf() 402 ctfsect.cts_flags = shp->sh_flags; in ctf_fdopen() 410 symsect.cts_flags = shp->sh_flags; in ctf_fdopen() 417 strsect.cts_flags = lhp->sh_flags; in ctf_fdopen()
|
| /freebsd/contrib/elftoolchain/size/ |
| H A D | size.c | 761 if (!(shdr->sh_flags & SHF_ALLOC)) in berkeley_calc() 763 if ((shdr->sh_flags & SHF_ALLOC) && in berkeley_calc() 764 ((shdr->sh_flags & SHF_EXECINSTR) || in berkeley_calc() 765 !(shdr->sh_flags & SHF_WRITE))) in berkeley_calc() 767 else if ((shdr->sh_flags & SHF_ALLOC) && in berkeley_calc() 768 (shdr->sh_flags & SHF_WRITE) && in berkeley_calc()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 966 if (header.sh_flags & SHF_ALLOC) in GetBaseAddress() 1677 if (H.sh_flags & SHF_EXECINSTR) in GetSectionType() 1681 if (H.sh_flags & SHF_ALLOC) in GetSectionType() 1711 if (H.sh_flags & SHF_ALLOC) in GetPermissions() 1713 if (H.sh_flags & SHF_WRITE) in GetPermissions() 1715 if (H.sh_flags & SHF_EXECINSTR) in GetPermissions() 1758 addr_t Size = H.sh_flags & SHF_ALLOC ? H.sh_size : 0; in GetVMRange() 1764 Segments.empty() && (H.sh_flags & SHF_ALLOC)) { in GetVMRange() 1800 if ((H.sh_flags & SHF_ALLOC) && It.valid()) { in GetAddressInfo() 1917 header.sh_flags & SHF_TLS ? tls_provider : regular_provider; in CreateSections() [all …]
|
| H A D | ELFHeader.h | 162 elf_xword sh_flags; ///< Section attributes. member
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 591 return getSection(Sec)->sh_flags; in getSectionFlags() 947 return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED; in isSectionCompressed() 952 return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText() 958 return (EShdr->sh_flags & ELF::SHF_ALLOC) && in isSectionData() 959 !(EShdr->sh_flags & ELF::SHF_EXECINSTR) && in isSectionData() 966 return EShdr->sh_flags & ELF::SHF_ALLOC && EShdr->sh_type == ELF::SHT_NOBITS; in isSectionBSS() 1005 return getSection(Sec)->sh_flags & ELF::SHF_ALLOC && in isBerkeleyText() 1006 (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR || in isBerkeleyText() 1007 !(getSection(Sec)->sh_flags & ELF::SHF_WRITE)); in isBerkeleyText() 1014 EShdr->sh_flags & ELF::SHF_ALLOC; in isBerkeleyData()
|
| /freebsd/contrib/file/src/ |
| H A D | readelf.h | 209 Elf32_Word sh_flags; member 222 Elf64_Off sh_flags; member
|
| /freebsd/sys/dev/ksyms/ |
| H A D | ksyms.c | 326 hdr->kh_shdr[SHDR_SYMTAB].sh_flags = 0; in ksyms_snapshot() 338 hdr->kh_shdr[SHDR_STRTAB].sh_flags = 0; in ksyms_snapshot() 352 hdr->kh_shdr[SHDR_SHSTRTAB].sh_flags = 0; in ksyms_snapshot()
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-decnet.c | 71 byte sh_flags; /* route flags */ member 365 byte sh_flags; /* message flags */ member 495 mflags = GET_U_1(rhp->rh_short.sh_flags); in decnet_print() 511 mflags = GET_U_1(rhp->rh_short.sh_flags); in decnet_print() 581 u_int mflags = GET_U_1(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
|
| /freebsd/stand/i386/libi386/ |
| H A D | biosmemdisk.c | 53 uint32_t sh_flags; member
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_link.c | 545 shp->sh_flags = SHF_ALLOC; in dump_elf32() 554 shp->sh_flags = SHF_ALLOC; in dump_elf32() 563 shp->sh_flags = SHF_ALLOC; in dump_elf32() 585 shp->sh_flags = 0; in dump_elf32() 702 shp->sh_flags = SHF_ALLOC; in dump_elf64() 711 shp->sh_flags = SHF_ALLOC; in dump_elf64() 720 shp->sh_flags = SHF_ALLOC; in dump_elf64() 742 shp->sh_flags = 0; in dump_elf64()
|
| /freebsd/sys/kern/ |
| H A D | link_elf_obj.c | 511 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_link_preload() 847 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 861 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 866 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 970 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1049 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1129 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_load_file() 1172 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1192 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELFLinkGraphBuilder.h | 359 if (Sec.sh_flags & ELF::SHF_EXECINSTR) in graphifySections() 361 if (Sec.sh_flags & ELF::SHF_WRITE) in graphifySections() 369 if (!(Sec.sh_flags & ELF::SHF_ALLOC)) { in graphifySections()
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_irq.c | 287 unsigned long sh_flags = 0; in drm_irq_install() local 317 sh_flags = INTR_TYPE_TTY | INTR_MPSAFE; in drm_irq_install() 327 sh_flags |= INTR_EXCL; in drm_irq_install() 329 ret = -bus_setup_intr(dev->dev, dev->irqr, sh_flags, NULL, in drm_irq_install()
|
| /freebsd/sys/sys/ |
| H A D | elf32.h | 92 Elf32_Word sh_flags; /* Section flags. */ member
|
| H A D | elf64.h | 101 Elf64_Xword sh_flags; /* Section flags. */ member
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | DWARF.cpp | 57 !(objSections[i].sh_flags & ELF::SHF_GROUP)) { in LLDDwarfObj()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 640 To.sh_flags = *From->ShFlags; in overrideFields() 828 SHeader.sh_flags = *Sec->Flags; in initSectionHeaders() 921 !(SHeader.sh_flags & ELF::SHF_ALLOC)) in assignSectionAddress() 1007 SHeader.sh_flags = *YAMLSec->Flags; in initSymtabSectionHeader() 1009 SHeader.sh_flags = ELF::SHF_ALLOC; in initSymtabSectionHeader() 1061 SHeader.sh_flags = *YAMLSec->Flags; in initStrtabSectionHeader() 1063 SHeader.sh_flags = ELF::SHF_ALLOC; in initStrtabSectionHeader() 1127 SHeader.sh_flags = *YAMLSec->Flags; in initDWARFSectionHeader() 1129 SHeader.sh_flags = ELF::SHF_MERGE | ELF::SHF_STRINGS; in initDWARFSectionHeader()
|
| /freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 291 StrTab.Shdr.sh_flags = ShFlags; in fillStrTabShdr() 304 SymTab.Shdr.sh_flags = SHF_ALLOC; in fillSymTabShdr() 320 DynTab.Shdr.sh_flags = SHF_ALLOC; in fillDynTabShdr()
|