Home
last modified time | relevance | path

Searched refs:sh_flags (Results 76 - 100 of 164) sorted by relevance

1234567

/third_party/elfutils/tests/
H A Dnext_cfi.c49 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in handle_section()
H A Dupdate3.c129 shdr->sh_flags = 0; in main()
/third_party/elfutils/libdwelf/
H A Ddwelf_elf_gnu_build_id.c109 if (!(shdr->sh_flags & SHF_ALLOC)) in find_elf_build_id()
/kernel/linux/linux-5.10/arch/x86/tools/
H A Drelocs.c429 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
596 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs()
681 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c467 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
471 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
475 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; in module_frob_arch_sections()
479 mod->arch.opd->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dvpe.c203 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
204 || (s->sh_flags & masks[m][1]) in layout_sections()
654 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in vpe_elfload()
684 if (!(sechdrs[info].sh_flags & SHF_ALLOC)) in vpe_elfload()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c467 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
471 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
475 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; in module_frob_arch_sections()
479 mod->arch.opd->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
/kernel/linux/linux-6.6/kernel/
H A Dkexec_file.c824 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf()
899 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs()
922 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs()
975 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
/kernel/linux/linux-6.6/arch/x86/tools/
H A Drelocs.c457 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
653 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs()
746 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
/third_party/elfutils/src/
H A Delfcmp.c290 if (gaps != gaps_ignore && (shdr1->sh_flags & SHF_ALLOC) != 0) in main()
318 || shdr1->sh_flags != shdr2->sh_flags in main()
321 && (shdr1->sh_flags & SHF_ALLOC) in main()
/kernel/linux/linux-5.10/arch/mips/boot/tools/
H A Drelocs.c281 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
/kernel/linux/linux-6.6/arch/mips/boot/tools/
H A Drelocs.c281 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.h310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
325 mcsec.sh_flags = 0; in append_func()
568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
325 mcsec.sh_flags = 0; in append_func()
568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlinker.c371 sec->shdr->sh_flags = SHF_STRINGS; in init_output_elf()
409 sec->shdr->sh_flags = 0; in init_output_elf()
739 if (sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf()
903 if (link_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf_relos()
1014 shdr->sh_flags = src_sec->shdr->sh_flags; in init_sec()
1058 if (dst->shdr->sh_flags != src->shdr->sh_flags) { in secs_match()
2075 if (src_linked_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_append_elf_relos()
2641 shdr->sh_flags in emit_elf_data_sec()
[all...]
/third_party/libbpf/src/
H A Dlinker.c371 sec->shdr->sh_flags = SHF_STRINGS; in init_output_elf()
409 sec->shdr->sh_flags = 0; in init_output_elf()
739 if (sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf()
903 if (link_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf_relos()
1014 shdr->sh_flags = src_sec->shdr->sh_flags; in init_sec()
1058 if (dst->shdr->sh_flags != src->shdr->sh_flags) { in secs_match()
2075 if (src_linked_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_append_elf_relos()
2641 shdr->sh_flags in emit_elf_data_sec()
[all...]
/kernel/linux/linux-5.10/tools/objtool/
H A Delf.c979 unsigned int sh_flags, size_t entsize, int nr) in elf_create_section()
1038 sec->sh.sh_flags = SHF_ALLOC | sh_flags; in elf_create_section()
1086 sec->sh.sh_flags = SHF_INFO_LINK; in elf_create_rel_reloc_section()
1116 sec->sh.sh_flags = SHF_INFO_LINK; in elf_create_rela_reloc_section()
978 elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr) elf_create_section() argument
H A Delf.h129 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr);
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h80 ELF_GEN_FIELD_GET_SET(shdr, sh_flags, u32)
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
H A Dmain.c280 if (!(sh->sh_flags & SHF_COMPRESSED)) in compressed_section_fix()
363 (int) sh.sh_link, (unsigned long) sh.sh_flags, in elf_collect()
/third_party/elfutils/libelf/
H A Delf_getdata.c236 flags = shdr->sh_flags; in __libelf_set_rawdata_wrlock()
251 flags = shdr->sh_flags; in __libelf_set_rawdata_wrlock()
H A Delf32_updatenull.c272 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in __elfw2()
402 if ((shdr->sh_flags & SHF_COMPRESSED) == 0) in __elfw2()
/third_party/elfio/c_wrapper/
H A Delf_types_c_wrapper.hpp754 Elf_Word sh_flags; member
768 Elf_Xword sh_flags; member
/third_party/elfutils/libdwfl/
H A Dderelocate.c106 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
119 if (shdr->sh_flags & SHF_ALLOC) in cache_sections()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceELFSection.h53 Header.sh_flags = ShFlags; in ELFSection()
319 Str.writeELFXword<IsELF64>(Header.sh_flags); in writeHeader()

Completed in 34 milliseconds

1234567