/Linux-v4.19/tools/perf/util/ |
D | genelf.c | 196 shdr->sh_type = SHT_PROGBITS; in jit_add_eh_frame_info() 230 shdr->sh_type = SHT_PROGBITS; in jit_add_eh_frame_info() 318 shdr->sh_type = SHT_PROGBITS; in jit_write_elf() 364 shdr->sh_type = SHT_STRTAB; in jit_write_elf() 400 shdr->sh_type = SHT_SYMTAB; in jit_write_elf() 443 shdr->sh_type = SHT_STRTAB; in jit_write_elf() 485 shdr->sh_type = SHT_NOTE; in jit_write_elf()
|
D | genelf_debug.c | 530 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info() 564 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info() 598 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | module-plts.c | 221 else if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections() 239 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 257 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 264 mod->arch.init.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 272 tramp->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/Linux-v4.19/arch/riscv/kernel/ |
D | module-sections.c | 125 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 135 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() 142 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() 149 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/Linux-v4.19/arch/mips/vdso/ |
D | genvdso.h | 35 switch (swap_uint32(shdr->sh_type)) { in FUNC() 54 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS); in FUNC() 80 if (swap_uint32(shdr->sh_type) == SHT_SYMTAB) in FUNC()
|
/Linux-v4.19/arch/arm/kernel/ |
D | module-plts.c | 208 else if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections() 226 if (s->sh_type != SHT_REL) in module_frob_arch_sections() 244 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 251 mod->arch.init.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/Linux-v4.19/scripts/ |
D | sortextable.h | 135 if ((r(&shdr[i].sh_type) == SHT_REL || in do_func() 136 r(&shdr[i].sh_type) == SHT_RELA) && in do_func() 145 if (r(&shdr[i].sh_type) == SHT_SYMTAB_SHNDX) in do_func()
|
D | recordmcount.h | 220 mcsec.sh_type = w(SHT_PROGBITS); in append_func() 232 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func() 466 if (w(txthdr->sh_type) != SHT_PROGBITS || in __has_rel_mcount() 477 if (w(relhdr->sh_type) != SHT_REL && w(relhdr->sh_type) != SHT_RELA) in has_rel_mcount()
|
/Linux-v4.19/arch/x86/tools/ |
D | relocs.c | 280 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup() 411 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs() 431 if (sec->shdr.sh_type != SHT_STRTAB) { in read_strtabs() 456 if (sec->shdr.sh_type != SHT_SYMTAB) { in read_symtabs() 489 if (sec->shdr.sh_type != SHT_REL_TYPE) { in read_relocs() 535 if (sec->shdr.sh_type != SHT_SYMTAB) { in print_absolute_symbols() 574 if (sec->shdr.sh_type != SHT_REL_TYPE) { in print_absolute_relocs() 659 if (sec->shdr.sh_type != SHT_REL_TYPE) { in walk_relocs()
|
/Linux-v4.19/arch/mips/boot/tools/ |
D | relocs.c | 280 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs() 301 if (sec->shdr.sh_type != SHT_STRTAB) in read_strtabs() 325 if (sec->shdr.sh_type != SHT_SYMTAB) in read_symtabs() 369 if (sec->shdr.sh_type != SHT_REL_TYPE) in read_relocs() 415 if (sec->shdr.sh_type != SHT_REL_TYPE) in remove_relocs() 480 if (sec->shdr.sh_type != SHT_REL_TYPE) in walk_relocs()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | module.c | 91 if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections() 118 got->sh_type = SHT_NOBITS; in module_frob_arch_sections() 123 if (s->sh_type == SHT_RELA) { in module_frob_arch_sections()
|
/Linux-v4.19/arch/mips/kernel/ |
D | vpe.c | 621 if ((sechdrs[i].sh_type != SHT_NOBITS) && in vpe_elfload() 634 if (sechdrs[i].sh_type == SHT_SYMTAB) { in vpe_elfload() 659 if (sechdrs[i].sh_type != SHT_NOBITS) in vpe_elfload() 687 if (sechdrs[i].sh_type == SHT_REL) in vpe_elfload() 690 else if (sechdrs[i].sh_type == SHT_RELA) in vpe_elfload() 714 if (sechdrs[i].sh_type == SHT_SYMTAB) { in vpe_elfload()
|
/Linux-v4.19/kernel/ |
D | kexec_file.c | 741 if (sechdrs[i].sh_type != SHT_NOBITS) { in kexec_purgatory_setup_kbuf() 815 if (sechdrs[i].sh_type == SHT_NOBITS) { in kexec_purgatory_setup_sechdrs() 858 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations() 859 relsec->sh_type != SHT_REL) in kexec_apply_relocations() 890 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations() 893 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations() 969 if (sechdrs[i].sh_type != SHT_SYMTAB) in kexec_purgatory_find_symbol() 1044 if (sec->sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | kexec_elf_64.c | 290 if (shdr->sh_type == SHT_NULL) in elf_is_shdr_sane() 294 switch (shdr->sh_type) { in elf_is_shdr_sane() 330 if (shdr->sh_type != SHT_NOBITS) { in elf_is_shdr_sane() 355 shdr->sh_type = elf32_to_cpu(ehdr, buf_shdr->sh_type); in elf_read_shdr()
|
/Linux-v4.19/arch/sh/kernel/ |
D | hw_breakpoint.c | 138 int arch_bp_generic_fields(int sh_len, int sh_type, in arch_bp_generic_fields() argument 160 switch (sh_type) { in arch_bp_generic_fields()
|
/Linux-v4.19/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 178 if (shdr.sh_type != SHT_SYMTAB) in create_vma_map() 188 if (shdr_str.sh_type != SHT_STRTAB) in create_vma_map()
|
/Linux-v4.19/include/uapi/linux/ |
D | elf.h | 305 Elf32_Word sh_type; member 318 Elf64_Word sh_type; /* Type of section */ member
|
/Linux-v4.19/arch/ia64/kernel/ |
D | module.c | 455 if (s->sh_type != SHT_RELA) in module_frob_arch_sections() 466 mod->arch.core_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 470 mod->arch.init_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 474 mod->arch.got->sh_type = SHT_NOBITS; in module_frob_arch_sections() 478 mod->arch.opd->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/Linux-v4.19/samples/bpf/ |
D | bpf_load.c | 554 } else if (shdr.sh_type == SHT_SYMTAB) { in do_load_bpf_file() 590 if (shdr.sh_type == SHT_REL) { in do_load_bpf_file() 598 if (shdr_prog.sh_type != SHT_PROGBITS || in do_load_bpf_file()
|
/Linux-v4.19/tools/objtool/ |
D | elf.c | 352 if (sec->sh.sh_type != SHT_RELA) in read_relas() 517 sec->sh.sh_type = SHT_PROGBITS; in elf_create_section() 576 sec->sh.sh_type = SHT_RELA; in elf_create_rela_section()
|
/Linux-v4.19/scripts/mod/ |
D | modpost.c | 497 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf() 511 int nobits = sechdrs[i].sh_type == SHT_NOBITS; in parse_elf() 537 if (sechdrs[i].sh_type == SHT_SYMTAB) { in parse_elf() 550 if (sechdrs[i].sh_type == SHT_SYMTAB_SHNDX) { in parse_elf() 861 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 1913 if (sechdrs[i].sh_type == SHT_RELA) in check_sec_ref() 1915 else if (sechdrs[i].sh_type == SHT_REL) in check_sec_ref()
|
/Linux-v4.19/arch/sparc/vdso/ |
D | vdso2c.h | 69 if (GET_BE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | module.c | 65 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections()
|
/Linux-v4.19/arch/s390/kernel/ |
D | module.c | 114 switch (sechdrs[i].sh_type) { in module_frob_arch_sections() 147 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
|
/Linux-v4.19/arch/x86/entry/vdso/ |
D | vdso2c.h | 75 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
|