/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 | 956 if (header.sh_flags & SHF_ALLOC) in GetBaseAddress() 1712 if (H.sh_flags & SHF_EXECINSTR) in GetSectionType() 1716 if (H.sh_flags & SHF_ALLOC) in GetSectionType() 1746 if (H.sh_flags & SHF_ALLOC) in GetPermissions() 1748 if (H.sh_flags & SHF_WRITE) in GetPermissions() 1750 if (H.sh_flags & SHF_EXECINSTR) in GetPermissions() 1793 addr_t Size = H.sh_flags & SHF_ALLOC ? H.sh_size : 0; in GetVMRange() 1799 Segments.empty() && (H.sh_flags & SHF_ALLOC)) { in GetVMRange() 1835 if ((H.sh_flags & SHF_ALLOC) && It.valid()) { in GetAddressInfo() 1952 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 | 585 return getSection(Sec)->sh_flags; in getSectionFlags() 941 return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED; in isSectionCompressed() 946 return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText() 953 EShdr->sh_flags & ELF::SHF_ALLOC && in isSectionData() 954 !(EShdr->sh_flags & ELF::SHF_EXECINSTR); in isSectionData() 960 return EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionBSS() 1000 return getSection(Sec)->sh_flags & ELF::SHF_ALLOC && in isBerkeleyText() 1001 (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR || in isBerkeleyText() 1002 !(getSection(Sec)->sh_flags & ELF::SHF_WRITE)); in isBerkeleyText() 1009 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/sys/kern/ |
H A D | link_elf_obj.c | 512 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_link_preload() 848 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 862 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 867 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 971 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1050 if ((shdr[i].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1126 ef->progtab[pb].flags = shdr[i].sh_flags; in link_elf_load_file() 1169 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file() 1189 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
|
/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/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELFLinkGraphBuilder.h | 358 if (Sec.sh_flags & ELF::SHF_EXECINSTR) in graphifySections() 360 if (Sec.sh_flags & ELF::SHF_WRITE) in graphifySections() 368 if (!(Sec.sh_flags & ELF::SHF_ALLOC)) { in graphifySections()
|
/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/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/contrib/llvm-project/lld/ELF/ |
H A D | DWARF.cpp | 60 !(objSections[i].sh_flags & ELF::SHF_GROUP)) { in LLDDwarfObj()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 647 To.sh_flags = *From->ShFlags; in overrideFields() 835 SHeader.sh_flags = *Sec->Flags; in initSectionHeaders() 928 !(SHeader.sh_flags & ELF::SHF_ALLOC)) in assignSectionAddress() 1014 SHeader.sh_flags = *YAMLSec->Flags; in initSymtabSectionHeader() 1016 SHeader.sh_flags = ELF::SHF_ALLOC; in initSymtabSectionHeader() 1068 SHeader.sh_flags = *YAMLSec->Flags; in initStrtabSectionHeader() 1070 SHeader.sh_flags = ELF::SHF_ALLOC; in initStrtabSectionHeader() 1134 SHeader.sh_flags = *YAMLSec->Flags; in initDWARFSectionHeader() 1136 SHeader.sh_flags = ELF::SHF_MERGE | ELF::SHF_STRINGS; in initDWARFSectionHeader()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 281 (sh->sh_flags & SHF_WRITE ? N_DATA : N_TEXT) : in elf_sym_to_nlist()
|
/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()
|