Home
last modified time | relevance | path

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

1234

/openbsd/src/gnu/usr.bin/binutils-2.17/include/elf/
Dinternal.h81 bfd_vma sh_flags; /* Miscellaneous section attributes */ member
259 || (sec_hdr->sh_flags & SHF_TLS) != 0) \
262 && (sec_hdr->sh_flags & SHF_ALLOC \
275 && (!((sec_hdr->sh_flags & SHF_TLS) != 0 \
Dexternal.h103 unsigned char sh_flags[4]; /* Miscellaneous section attributes */ member
116 unsigned char sh_flags[8]; /* Miscellaneous section attributes */ member
/openbsd/src/lib/libelf/
Dgelf_shdr.c73 d->sh_flags = (Elf64_Xword) sh32->sh_flags; in gelf_getshdr()
120 LIBELF_COPY_U32(sh32, s, sh_flags); in gelf_update_shdr()
Dlibelf_checksum.c83 if ((shdr.sh_flags & SHF_ALLOC) == 0 || in _libelf_checksum()
Delf_types.m4198 `sh_flags, WORD',
211 `sh_flags, XWORD',
/openbsd/src/gnu/usr.bin/binutils/include/elf/
Dexternal.h103 unsigned char sh_flags[4]; /* Miscellaneous section attributes */ member
116 unsigned char sh_flags[8]; /* Miscellaneous section attributes */ member
Dinternal.h81 bfd_vma sh_flags; /* Miscellaneous section attributes */ member
/openbsd/src/usr.bin/nm/
Delf.c205 shdr->sh_flags = swap_xword(shdr->sh_flags); in elf_fix_shdrs()
406 if (!(shdr[i].sh_flags & SHF_ALLOC)) in elf_size()
408 else if (shdr[i].sh_flags & SHF_EXECINSTR || in elf_size()
409 !(shdr[i].sh_flags & SHF_WRITE)) in elf_size()
/openbsd/src/gnu/usr.bin/binutils-2.17/ld/emultempl/
Dsh64elf.em102 if (elf_section_data (isec)->this_hdr.sh_flags
160 = (elf_section_data (isec)->this_hdr.sh_flags
187 = (elf_section_data (isec)->this_hdr.sh_flags
291 = (elf_section_data (isec)->this_hdr.sh_flags
318 = (elf_section_data (isec)->this_hdr.sh_flags
369 && ((elf_section_data (isec)->this_hdr.sh_flags
443 && ((elf_section_data (isec)->this_hdr.sh_flags
450 = (elf_section_data (isec)->this_hdr.sh_flags
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf32-sh64-com.c204 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
215 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
Delfcode.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()
747 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK) in elf_object_p()
756 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 in elf_object_p()
1489 (long) hdr->sh_flags); in elf_debug_section()
/openbsd/src/gnu/usr.bin/binutils/ld/emultempl/
Dsh64elf.em102 if (elf_section_data (isec)->this_hdr.sh_flags
160 = (elf_section_data (isec)->this_hdr.sh_flags
187 = (elf_section_data (isec)->this_hdr.sh_flags
291 = (elf_section_data (isec)->this_hdr.sh_flags
318 = (elf_section_data (isec)->this_hdr.sh_flags
369 && ((elf_section_data (isec)->this_hdr.sh_flags
443 && ((elf_section_data (isec)->this_hdr.sh_flags
450 = (elf_section_data (isec)->this_hdr.sh_flags
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf32-sh64-com.c210 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
221 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
Delfcode.h299 dst->sh_flags = H_GET_WORD (abfd, src->sh_flags); in elf_swap_shdr_in()
325 H_PUT_WORD (abfd, src->sh_flags, dst->sh_flags); in elf_swap_shdr_out()
689 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 in elf_object_p()
1411 (long) hdr->sh_flags); in elf_debug_section()
Delf.c657 elf_section_flags (newsect) = hdr->sh_flags; in _bfd_elf_make_section_from_shdr()
672 if ((hdr->sh_flags & SHF_ALLOC) != 0) in _bfd_elf_make_section_from_shdr()
678 if ((hdr->sh_flags & SHF_WRITE) == 0) in _bfd_elf_make_section_from_shdr()
680 if ((hdr->sh_flags & SHF_EXECINSTR) != 0) in _bfd_elf_make_section_from_shdr()
684 if ((hdr->sh_flags & SHF_MERGE) != 0) in _bfd_elf_make_section_from_shdr()
688 if ((hdr->sh_flags & SHF_STRINGS) != 0) in _bfd_elf_make_section_from_shdr()
691 if (hdr->sh_flags & SHF_GROUP) in _bfd_elf_make_section_from_shdr()
694 if ((hdr->sh_flags & SHF_TLS) != 0) in _bfd_elf_make_section_from_shdr()
1726 if ((hdr->sh_flags & SHF_ALLOC) != 0 in bfd_section_from_shdr()
2343 rel_hdr->sh_flags = 0; in _bfd_elf_init_reloc_shdr()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Object/
DELFObjectFile.h536 return getSection(Sec)->sh_flags; in getSectionFlags()
878 return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED; in isSectionCompressed()
883 return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText()
890 EShdr->sh_flags & ELF::SHF_ALLOC && in isSectionData()
891 !(EShdr->sh_flags & ELF::SHF_EXECINSTR); in isSectionData()
897 return EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionBSS()
937 return getSection(Sec)->sh_flags & ELF::SHF_ALLOC && in isBerkeleyText()
938 (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR || in isBerkeleyText()
939 !(getSection(Sec)->sh_flags & ELF::SHF_WRITE)); in isBerkeleyText()
946 EShdr->sh_flags & ELF::SHF_ALLOC; in isBerkeleyData()
/openbsd/src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp1675 if (H.sh_flags & SHF_EXECINSTR) in GetSectionType()
1705 if (H.sh_flags & SHF_ALLOC) in GetPermissions()
1707 if (H.sh_flags & SHF_WRITE) in GetPermissions()
1709 if (H.sh_flags & SHF_EXECINSTR) in GetPermissions()
1752 addr_t Size = H.sh_flags & SHF_ALLOC ? H.sh_size : 0; in GetVMRange()
1753 …if (ObjectType == ObjectFile::Type::eTypeObjectFile && Segments.empty() && (H.sh_flags & SHF_ALLOC… in GetVMRange()
1789 if ((H.sh_flags & SHF_ALLOC) && It.valid()) { in GetAddressInfo()
1873 header.sh_flags & SHF_TLS ? tls_provider : regular_provider; in CreateSections()
1898 header.sh_flags, // Flags for this section. in CreateSections()
1902 section_sp->SetIsThreadSpecific(header.sh_flags & SHF_TLS); in CreateSections()
[all …]
DELFHeader.h162 elf_xword sh_flags; ///< Section attributes. member
/openbsd/src/usr.sbin/tcpdump/
Ddecnet.h60 byte sh_flags; /* route flags */ member
367 byte sh_flags; /* message flags */ member
Dprint-decnet.c92 TCHECK(rhp->rh_short.sh_flags); in decnet_print()
93 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()
/openbsd/src/usr.sbin/mkuboot/
Dcopy_elf.c105 if (esym == 0 && elfoff2h(shp[i].sh_flags) & SHF_WRITE && in ELFNAME()
106 elfoff2h(shp[i].sh_flags) & SHF_ALLOC) in ELFNAME()
/openbsd/src/sys/arch/armv7/stand/efiboot/
Dexec.c155 if (shp[i].sh_flags & SHF_WRITE) { in run_loadfile()
/openbsd/src/gnu/llvm/lld/ELF/
DDWARF.cpp59 !(objSections[i].sh_flags & ELF::SHF_GROUP)) { in LLDDwarfObj()
/openbsd/src/gnu/llvm/llvm/lib/ObjectYAML/
DELFEmitter.cpp640 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()
/openbsd/src/sys/sys/
Dexec_elf.h213 Elf32_Word sh_flags; /* flags */ member
226 Elf64_Xword sh_flags; /* section flags */ member

1234