| /kernel/linux/linux-6.6/arch/x86/tools/ |
| H A D | relocs.c | 457 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 D | elfcmp.c | 290 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()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| H A D | elf_types.h | 101 uint64_t sh_flags; /* Miscellaneous section attributes */ member
|
| /third_party/elfutils/tests/ |
| H A D | sectiondump.c | 105 shdr->sh_flags, in handle_section()
|
| H A D | next_cfi.c | 49 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in handle_section()
|
| H A D | update3.c | 129 shdr->sh_flags = 0; in main()
|
| /third_party/elfutils/libasm/ |
| H A D | asm_newscn.c | 149 shdr->sh_flags = flags; in binary_newscn()
|
| /third_party/elfutils/libdwelf/ |
| H A D | dwelf_elf_gnu_build_id.c | 109 if (!(shdr->sh_flags & SHF_ALLOC)) in find_elf_build_id()
|
| /kernel/linux/linux-5.10/arch/mips/boot/tools/ |
| H A D | relocs.c | 281 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 D | relocs.c | 281 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 D | recordmcount.h | 310 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 D | recordmcount.h | 310 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 D | linker.c | 371 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 D | linker.c | 371 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 D | elf.c | 979 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 D | elf.h | 129 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 D | remoteproc_elf_helpers.h | 80 ELF_GEN_FIELD_GET_SET(shdr, sh_flags, u32)
|
| /kernel/linux/linux-5.10/tools/bpf/resolve_btfids/ |
| H A D | main.c | 280 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 D | elf_getdata.c | 236 flags = shdr->sh_flags; in __libelf_set_rawdata_wrlock() 251 flags = shdr->sh_flags; in __libelf_set_rawdata_wrlock()
|
| H A D | elf32_updatenull.c | 272 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 D | elf_types_c_wrapper.hpp | 754 Elf_Word sh_flags; member 768 Elf_Xword sh_flags; member
|
| /third_party/elfutils/libdwfl/ |
| H A D | derelocate.c | 106 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 D | IceELFSection.h | 53 Header.sh_flags = ShFlags; in ELFSection() 319 Str.writeELFXword<IsELF64>(Header.sh_flags); in writeHeader()
|
| /third_party/mesa3d/src/amd/common/ |
| H A D | ac_rtld.c | 357 if (shdr->sh_flags & SHF_ALLOC && shdr->sh_type != SHT_NOTE) { in ac_rtld_open() 358 report_if(shdr->sh_flags & SHF_WRITE); in ac_rtld_open() 362 if (shdr->sh_flags & SHF_EXECINSTR) { in ac_rtld_open()
|
| /kernel/linux/linux-5.10/kernel/ |
| H A D | kexec_file.c | 827 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf() 901 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs() 924 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs() 977 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
|