Home
last modified time | relevance | path

Searched refs:sh_flags (Results 1 – 25 of 43) sorted by relevance

12

/trueos/contrib/binutils/include/elf/
HDinternal.h81 bfd_vma sh_flags; /* Miscellaneous section attributes */ member
264 (((sec_hdr->sh_flags & SHF_TLS) == 0 \
272 (((((sec_hdr->sh_flags & SHF_TLS) != 0) \
275 || ((sec_hdr->sh_flags & SHF_TLS) == 0 \
284 && ((sec_hdr->sh_flags & SHF_ALLOC) == 0 \
HDexternal.h103 unsigned char sh_flags[4]; /* Miscellaneous section attributes */ member
116 unsigned char sh_flags[8]; /* Miscellaneous section attributes */ member
/trueos/lib/libelf/
HDgelf_shdr.c74 d->sh_flags = (Elf64_Xword) sh32->sh_flags; in gelf_getshdr()
121 LIBELF_COPY_U32(sh32, s, sh_flags); in gelf_update_shdr()
HDlibelf_checksum.c84 if ((shdr.sh_flags & SHF_ALLOC) == 0 || in _libelf_checksum()
HDelf_types.m4204 `sh_flags, WORD',
217 `sh_flags, XWORD',
/trueos/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c167 dst->sh_flags = src->sh_flags; in shdr_to_gelf()
399 ctfsect.cts_flags = shp->sh_flags; in ctf_fdopen()
407 symsect.cts_flags = shp->sh_flags; in ctf_fdopen()
414 strsect.cts_flags = lhp->sh_flags; in ctf_fdopen()
/trueos/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
HDObjectFileELF.cpp944 const uint64_t vm_size = header.sh_flags & SHF_ALLOC ? header.sh_size : 0; in CreateSections()
1038 header.sh_flags)); // Flags for this section. in CreateSections()
1852 s->Printf(" %8.8" PRIx64 " (", sh.sh_flags); in DumpELFSectionHeader()
1853 DumpELFSectionHeader_sh_flags(s, sh.sh_flags); in DumpELFSectionHeader()
1899 ObjectFileELF::DumpELFSectionHeader_sh_flags(Stream *s, elf_xword sh_flags) in DumpELFSectionHeader_sh_flags() argument
1901 *s << ((sh_flags & SHF_WRITE) ? "WRITE" : " ") in DumpELFSectionHeader_sh_flags()
1902 << (((sh_flags & SHF_WRITE) && (sh_flags & SHF_ALLOC)) ? '+' : ' ') in DumpELFSectionHeader_sh_flags()
1903 << ((sh_flags & SHF_ALLOC) ? "ALLOC" : " ") in DumpELFSectionHeader_sh_flags()
1904 << (((sh_flags & SHF_ALLOC) && (sh_flags & SHF_EXECINSTR)) ? '+' : ' ') in DumpELFSectionHeader_sh_flags()
1905 << ((sh_flags & SHF_EXECINSTR) ? "EXECINSTR" : " "); in DumpELFSectionHeader_sh_flags()
HDELFHeader.h157 elf_xword sh_flags; ///< Section attributes. member
HDObjectFileELF.h355 elf::elf_xword sh_flags);
/trueos/contrib/file/src/
HDreadelf.h173 Elf32_Word sh_flags; member
186 Elf64_Off sh_flags; member
/trueos/contrib/tcpdump/
HDdecnet.h66 byte sh_flags; /* route flags */ member
373 byte sh_flags; /* message flags */ member
HDprint-decnet.c94 TCHECK(rhp->rh_short.sh_flags); in decnet_print()
95 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
111 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
181 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
/trueos/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c568 shp->sh_flags = SHF_ALLOC; in dump_elf32()
577 shp->sh_flags = SHF_ALLOC; in dump_elf32()
586 shp->sh_flags = SHF_ALLOC; in dump_elf32()
608 shp->sh_flags = SHF_ALLOC; in dump_elf32()
716 shp->sh_flags = SHF_ALLOC; in dump_elf64()
725 shp->sh_flags = SHF_ALLOC; in dump_elf64()
734 shp->sh_flags = SHF_ALLOC; in dump_elf64()
756 shp->sh_flags = SHF_ALLOC; in dump_elf64()
1970 shdr.sh_flags = SHF_ALLOC;
/trueos/sys/dev/ksyms/
HDksyms.c301 hdr->kh_shdr[SHDR_SYMTAB].sh_flags = 0; in ksyms_snapshot()
313 hdr->kh_shdr[SHDR_STRTAB].sh_flags = 0; in ksyms_snapshot()
327 hdr->kh_shdr[SHDR_SHSTRTAB].sh_flags = 0; in ksyms_snapshot()
/trueos/sys/xen/interface/
HDelfstructs.h194 Elf32_Word sh_flags; /* flags */ member
207 Elf64_Xword sh_flags; /* section flags */ member
/trueos/contrib/binutils/bfd/
HDelf.c692 if ((this_hdr->sh_flags & SHF_LINK_ORDER) != 0) in _bfd_elf_setup_sections()
805 elf_section_flags (newsect) = hdr->sh_flags; in _bfd_elf_make_section_from_shdr()
820 if ((hdr->sh_flags & SHF_ALLOC) != 0) in _bfd_elf_make_section_from_shdr()
826 if ((hdr->sh_flags & SHF_WRITE) == 0) in _bfd_elf_make_section_from_shdr()
828 if ((hdr->sh_flags & SHF_EXECINSTR) != 0) in _bfd_elf_make_section_from_shdr()
832 if ((hdr->sh_flags & SHF_MERGE) != 0) in _bfd_elf_make_section_from_shdr()
836 if ((hdr->sh_flags & SHF_STRINGS) != 0) in _bfd_elf_make_section_from_shdr()
839 if (hdr->sh_flags & SHF_GROUP) in _bfd_elf_make_section_from_shdr()
842 if ((hdr->sh_flags & SHF_TLS) != 0) in _bfd_elf_make_section_from_shdr()
1925 if ((hdr->sh_flags & SHF_ALLOC) != 0 in bfd_section_from_shdr()
[all …]
HDelfcode.h301 dst->sh_flags = H_GET_WORD (abfd, src->sh_flags); in elf_swap_shdr_in()
327 H_PUT_WORD (abfd, src->sh_flags, dst->sh_flags); in elf_swap_shdr_out()
780 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK) in elf_object_p()
789 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 in elf_object_p()
1526 (long) hdr->sh_flags); in elf_debug_section()
/trueos/sys/sys/
HDelf32.h80 Elf32_Word sh_flags; /* Section flags. */ member
HDelf64.h89 Elf64_Xword sh_flags; /* Section flags. */ member
/trueos/sys/dev/drm2/
HDdrm_irq.c289 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()
/trueos/contrib/llvm/include/llvm/Object/
HDELFObjectFile.h475 Result = toELFShdrIter(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText()
483 Result = EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionData()
492 Result = EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionBSS()
501 Result = toELFShdrIter(Sec)->sh_flags & ELF::SHF_ALLOC; in isSectionRequiredForExecution()
523 Result = !(EShdr->sh_flags & (ELF::SHF_WRITE | ELF::SHF_EXECINSTR)); in isSectionReadOnlyData()
HDELFTypes.h114 Elf_Word sh_flags; // Section flags (SHF_*)
129 Elf_Xword sh_flags; // Section flags (SHF_*)
/trueos/sys/ia64/include/
HDmca.h59 uint8_t sh_flags; member
/trueos/usr.bin/elfdump/
HDelfdump.c115 offsetof(Elf32_Shdr, sh_flags), offsetof(Elf32_Shdr, sh_addr),
156 offsetof(Elf64_Shdr, sh_flags), offsetof(Elf64_Shdr, sh_addr),
401 static const char *sh_flags[] = { variable
809 fprintf(out, "\tsh_flags: %s\n", sh_flags[flags & 0x7]); in elf_print_shdr()
/trueos/contrib/binutils/binutils/
HDreadelf.c3653 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
3694 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_64bit_section_headers()
3836 get_elf_section_flags (bfd_vma sh_flags) in get_elf_section_flags() argument
3867 field_size, field_size, (unsigned long) sh_flags); in get_elf_section_flags()
3871 while (sh_flags) in get_elf_section_flags()
3875 flag = sh_flags & - sh_flags; in get_elf_section_flags()
3876 sh_flags &= ~ flag; in get_elf_section_flags()
3941 sh_flags &= ~ SHF_MASKOS; in get_elf_section_flags()
3946 sh_flags &= ~ SHF_MASKPROC; in get_elf_section_flags()
4269 printf (" %3s ", get_elf_section_flags (section->sh_flags)); in process_section_headers()
[all …]

12