| /freebsd-13.1/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-13.1/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() 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() 1320 osh.sh_flags = flags; in create_external_section() [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-13.1/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-13.1/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-13.1/contrib/tcpdump/ |
| H A D | print-decnet.c | 79 byte sh_flags; /* route flags */ member 385 byte sh_flags; /* message flags */ member 514 ND_TCHECK(rhp->rh_short.sh_flags); in decnet_print() 515 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print() 531 ND_TCHECK(rhp->rh_short.sh_flags); in decnet_print() 532 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print() 604 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 1628 if (H.sh_flags & SHF_EXECINSTR) in GetSectionType() 1658 if (H.sh_flags & SHF_ALLOC) in GetPermissions() 1660 if (H.sh_flags & SHF_WRITE) in GetPermissions() 1662 if (H.sh_flags & SHF_EXECINSTR) in GetPermissions() 1742 if ((H.sh_flags & SHF_ALLOC) && It.valid()) { in GetAddressInfo() 3153 s->Printf(" %8.8" PRIx64 " (", sh.sh_flags); in DumpELFSectionHeader() 3154 DumpELFSectionHeader_sh_flags(s, sh.sh_flags); in DumpELFSectionHeader() 3195 *s << ((sh_flags & SHF_WRITE) ? "WRITE" : " ") in DumpELFSectionHeader_sh_flags() 3196 << (((sh_flags & SHF_WRITE) && (sh_flags & SHF_ALLOC)) ? '+' : ' ') in DumpELFSectionHeader_sh_flags() 3197 << ((sh_flags & SHF_ALLOC) ? "ALLOC" : " ") in DumpELFSectionHeader_sh_flags() [all …]
|
| H A D | ELFHeader.h | 162 elf_xword sh_flags; ///< Section attributes. member
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 520 return getSection(Sec)->sh_flags; in getSectionFlags() 859 return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED; in isSectionCompressed() 864 return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText() 871 EShdr->sh_flags & ELF::SHF_ALLOC && in isSectionData() 872 !(EShdr->sh_flags & ELF::SHF_EXECINSTR); in isSectionData() 878 return EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionBSS() 918 return getSection(Sec)->sh_flags & ELF::SHF_ALLOC && in isBerkeleyText() 919 (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR || in isBerkeleyText() 920 !(getSection(Sec)->sh_flags & ELF::SHF_WRITE)); in isBerkeleyText() 927 EShdr->sh_flags & ELF::SHF_ALLOC; in isBerkeleyData()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | readelf.h | 209 Elf32_Word sh_flags; member 222 Elf64_Off sh_flags; member
|
| /freebsd-13.1/sys/dev/ksyms/ |
| H A D | ksyms.c | 328 hdr->kh_shdr[SHDR_SYMTAB].sh_flags = 0; in ksyms_snapshot() 340 hdr->kh_shdr[SHDR_STRTAB].sh_flags = 0; in ksyms_snapshot() 354 hdr->kh_shdr[SHDR_SHSTRTAB].sh_flags = 0; in ksyms_snapshot()
|
| /freebsd-13.1/sys/kern/ |
| H A D | link_elf_obj.c | 505 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_link_preload() 816 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 830 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 835 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 939 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1018 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1094 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_load_file() 1138 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1158 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
|
| /freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_link.c | 535 shp->sh_flags = SHF_ALLOC; in dump_elf32() 544 shp->sh_flags = SHF_ALLOC; in dump_elf32() 553 shp->sh_flags = SHF_ALLOC; in dump_elf32() 575 shp->sh_flags = SHF_ALLOC; in dump_elf32() 678 shp->sh_flags = SHF_ALLOC; in dump_elf64() 687 shp->sh_flags = SHF_ALLOC; in dump_elf64() 696 shp->sh_flags = SHF_ALLOC; in dump_elf64() 718 shp->sh_flags = SHF_ALLOC; in dump_elf64()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELFLinkGraphBuilder.h | 253 if (!(Sec.sh_flags & ELF::SHF_ALLOC)) { in graphifySections() 269 if (Sec.sh_flags & ELF::SHF_EXECINSTR) in graphifySections()
|
| /freebsd-13.1/sys/sys/ |
| H A D | elf32.h | 94 Elf32_Word sh_flags; /* Section flags. */ member
|
| H A D | elf64.h | 103 Elf64_Xword sh_flags; /* Section flags. */ member
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_irq.c | 289 unsigned long sh_flags = 0; in drm_irq_install() local 319 sh_flags = INTR_TYPE_TTY | INTR_MPSAFE; in drm_irq_install() 329 sh_flags |= INTR_EXCL; in drm_irq_install() 331 ret = -bus_setup_intr(dev->dev, dev->irqr, sh_flags, NULL, in drm_irq_install()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | DWARF.cpp | 61 !(objSections[it.index()].sh_flags & ELF::SHF_GROUP)) { in LLDDwarfObj()
|
| /freebsd-13.1/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-13.1/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()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | nlist.c | 285 (sh->sh_flags & SHF_WRITE ? N_DATA : N_TEXT) : in elf_sym_to_nlist()
|