/linux-4.4.14/arch/mips/vdso/ |
D | genvdso.h | 37 switch (swap_uint32(shdr->sh_type)) { in FUNC() 59 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS); in FUNC() 131 if (swap_uint32(shdr->sh_type) == SHT_SYMTAB) in FUNC()
|
/linux-4.4.14/arch/arm/kernel/ |
D | module-plts.c | 158 if (s->sh_type != SHT_REL) in module_frob_arch_sections() 167 mod->arch.core_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 174 mod->arch.init_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/linux-4.4.14/kernel/ |
D | kexec_file.c | 708 if (sechdrs[i].sh_type == SHT_NOBITS) in __kexec_load_purgatory() 748 if (sechdrs[i].sh_type != SHT_NOBITS) { in __kexec_load_purgatory() 796 if (sechdrs[i].sh_type != SHT_NOBITS) { in __kexec_load_purgatory() 853 if (sechdrs[i].sh_type != SHT_RELA && in kexec_apply_relocations() 854 sechdrs[i].sh_type != SHT_REL) in kexec_apply_relocations() 885 if (sechdrs[i].sh_type == SHT_RELA) in kexec_apply_relocations() 888 else if (sechdrs[i].sh_type == SHT_REL) in kexec_apply_relocations() 957 if (sechdrs[i].sh_type != SHT_SYMTAB) in kexec_purgatory_find_symbol() 1032 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol()
|
D | module.c | 1602 (info->sechdrs[i].sh_type == SHT_NOTE)) in add_notes_attrs() 1619 if (info->sechdrs[i].sh_type == SHT_NOTE) { in add_notes_attrs() 2191 if (info->sechdrs[i].sh_type == SHT_REL) in apply_relocations() 2194 else if (info->sechdrs[i].sh_type == SHT_RELA) in apply_relocations() 2414 && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { in elf_type() 2422 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in elf_type() 2776 if (shdr->sh_type != SHT_NOBITS in rewrite_section_headers() 2829 if (info->sechdrs[i].sh_type == SHT_SYMTAB) { in setup_load_info() 3032 if (shdr->sh_type != SHT_NOBITS) in move_module()
|
/linux-4.4.14/arch/metag/kernel/ |
D | module.c | 106 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size() 154 sechdrs[me->arch.core_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections() 157 sechdrs[me->arch.init_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/linux-4.4.14/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-4.4.14/arch/x86/tools/ |
D | relocs.c | 278 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup() 409 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs() 429 if (sec->shdr.sh_type != SHT_STRTAB) { in read_strtabs() 454 if (sec->shdr.sh_type != SHT_SYMTAB) { in read_symtabs() 487 if (sec->shdr.sh_type != SHT_REL_TYPE) { in read_relocs() 533 if (sec->shdr.sh_type != SHT_SYMTAB) { in print_absolute_symbols() 572 if (sec->shdr.sh_type != SHT_REL_TYPE) { in print_absolute_relocs() 657 if (sec->shdr.sh_type != SHT_REL_TYPE) { in walk_relocs()
|
/linux-4.4.14/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-4.4.14/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-4.4.14/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-4.4.14/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-4.4.14/arch/blackfin/kernel/ |
D | module.c | 245 if (sechdrs[i].sh_type == SHT_SYMTAB) { in module_finalize() 261 if (sechdrs[i].sh_type != SHT_RELA) in module_finalize()
|
/linux-4.4.14/include/uapi/linux/ |
D | elf.h | 301 Elf32_Word sh_type; member 314 Elf64_Word sh_type; /* Type of section */ member
|
/linux-4.4.14/arch/ia64/kernel/ |
D | module.c | 453 if (s->sh_type != SHT_RELA) in module_frob_arch_sections() 464 mod->arch.core_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 468 mod->arch.init_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 472 mod->arch.got->sh_type = SHT_NOBITS; in module_frob_arch_sections() 476 mod->arch.opd->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | module.c | 73 switch (sechdrs[i].sh_type) { in module_frob_arch_sections() 105 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
|
/linux-4.4.14/samples/bpf/ |
D | bpf_load.c | 276 } else if (shdr.sh_type == SHT_SYMTAB) { in load_bpf_file() 286 if (shdr.sh_type == SHT_REL) { in load_bpf_file()
|
/linux-4.4.14/tools/lib/bpf/ |
D | libbpf.c | 535 (int)sh.sh_type); in bpf_object__elf_collect() 548 else if (sh.sh_type == SHT_SYMTAB) { in bpf_object__elf_collect() 555 } else if ((sh.sh_type == SHT_PROGBITS) && in bpf_object__elf_collect() 567 } else if (sh.sh_type == SHT_REL) { in bpf_object__elf_collect() 790 if (shdr->sh_type != SHT_REL) { in bpf_object__collect_reloc()
|
/linux-4.4.14/arch/s390/kernel/ |
D | module.c | 119 switch (sechdrs[i].sh_type) { in module_frob_arch_sections() 152 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
|
/linux-4.4.14/scripts/mod/ |
D | modpost.c | 483 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf() 497 int nobits = sechdrs[i].sh_type == SHT_NOBITS; in parse_elf() 523 if (sechdrs[i].sh_type == SHT_SYMTAB) { in parse_elf() 536 if (sechdrs[i].sh_type == SHT_SYMTAB_SHNDX) { in parse_elf() 853 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 1906 if (sechdrs[i].sh_type == SHT_RELA) in check_sec_ref() 1908 else if (sechdrs[i].sh_type == SHT_REL) in check_sec_ref()
|
D | file2alias.c | 1340 if (info->sechdrs[get_secindex(info, sym)].sh_type & SHT_NOBITS) { in handle_moddevtable()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | module.c | 64 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | module_64.c | 279 if (sechdrs[i].sh_type == SHT_RELA) { in get_stubs_size() 383 if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections()
|
D | module_32.c | 120 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vdso2c.h | 68 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-elf.c | 288 if (shdr_rel_plt.sh_type == SHT_RELA) { in dso__synthesize_plt_symbols() 311 } else if (shdr_rel_plt.sh_type == SHT_REL) { in dso__synthesize_plt_symbols() 696 if (ss->symshdr.sh_type != SHT_SYMTAB) in symsrc__init() 702 if (ss->dynshdr.sh_type != SHT_DYNSYM) in symsrc__init() 708 if (ss->opdshdr.sh_type != SHT_PROGBITS) in symsrc__init()
|
D | probe-finder.c | 1040 shdr.sh_type == SHT_PROGBITS) { in debuginfo__find_probes()
|
/linux-4.4.14/include/linux/ |
D | pe.h | 424 enum sh_coff_reloc_type sh_type; member
|
/linux-4.4.14/arch/mips/boot/ |
D | elf2ecoff.c | 207 s->sh_type = swab32(s->sh_type); in convert_elf_shdrs()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | module.c | 340 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 886 if(sechdrs[i].sh_type == SHT_SYMTAB in module_finalize()
|
/linux-4.4.14/fs/ |
D | binfmt_elf_fdpic.c | 1508 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
|
D | binfmt_elf.c | 2111 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
|