/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/uapi/linux/ |
D | elf.h | 301 Elf32_Word sh_type; member 314 Elf64_Word sh_type; /* Type of section */ member
|
/linux-4.1.27/samples/bpf/ |
D | bpf_load.c | 243 } else if (shdr.sh_type == SHT_SYMTAB) { in load_bpf_file() 253 if (shdr.sh_type == SHT_REL) { in load_bpf_file()
|
/linux-4.1.27/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.1.27/arch/ia64/kernel/ |
D | module.c | 461 if (s->sh_type != SHT_RELA) in module_frob_arch_sections() 472 mod->arch.core_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 476 mod->arch.init_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 480 mod->arch.got->sh_type = SHT_NOBITS; in module_frob_arch_sections() 484 mod->arch.opd->sh_type = SHT_NOBITS; in module_frob_arch_sections()
|
/linux-4.1.27/kernel/ |
D | kexec.c | 2340 if (sechdrs[i].sh_type == SHT_NOBITS) in __kexec_load_purgatory() 2380 if (sechdrs[i].sh_type != SHT_NOBITS) { in __kexec_load_purgatory() 2428 if (sechdrs[i].sh_type != SHT_NOBITS) { in __kexec_load_purgatory() 2485 if (sechdrs[i].sh_type != SHT_RELA && in kexec_apply_relocations() 2486 sechdrs[i].sh_type != SHT_REL) in kexec_apply_relocations() 2517 if (sechdrs[i].sh_type == SHT_RELA) in kexec_apply_relocations() 2520 else if (sechdrs[i].sh_type == SHT_REL) in kexec_apply_relocations() 2589 if (sechdrs[i].sh_type != SHT_SYMTAB) in kexec_purgatory_find_symbol() 2664 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol()
|
D | module.c | 1439 (info->sechdrs[i].sh_type == SHT_NOTE)) in add_notes_attrs() 1456 if (info->sechdrs[i].sh_type == SHT_NOTE) { in add_notes_attrs() 2020 if (info->sechdrs[i].sh_type == SHT_REL) in apply_relocations() 2023 else if (info->sechdrs[i].sh_type == SHT_RELA) in apply_relocations() 2243 && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { in elf_type() 2251 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in elf_type() 2621 if (shdr->sh_type != SHT_NOBITS in rewrite_section_headers() 2674 if (info->sechdrs[i].sh_type == SHT_SYMTAB) { in setup_load_info() 2877 if (shdr->sh_type != SHT_NOBITS) in move_module()
|
/linux-4.1.27/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.1.27/scripts/mod/ |
D | modpost.c | 482 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf() 496 int nobits = sechdrs[i].sh_type == SHT_NOBITS; in parse_elf() 522 if (sechdrs[i].sh_type == SHT_SYMTAB) { in parse_elf() 535 if (sechdrs[i].sh_type == SHT_SYMTAB_SHNDX) { in parse_elf() 850 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 1902 if (sechdrs[i].sh_type == SHT_RELA) in check_sec_ref() 1904 else if (sechdrs[i].sh_type == SHT_REL) in check_sec_ref()
|
D | file2alias.c | 1261 if (info->sechdrs[get_secindex(info, sym)].sh_type & SHT_NOBITS) { in handle_moddevtable()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | module.c | 64 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections()
|
/linux-4.1.27/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.1.27/arch/x86/vdso/ |
D | vdso2c.h | 68 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
|
/linux-4.1.27/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() 690 if (ss->symshdr.sh_type != SHT_SYMTAB) in symsrc__init() 696 if (ss->dynshdr.sh_type != SHT_DYNSYM) in symsrc__init() 702 if (ss->opdshdr.sh_type != SHT_PROGBITS) in symsrc__init()
|
D | probe-finder.c | 1020 shdr.sh_type == SHT_PROGBITS) { in debuginfo__find_probes()
|
/linux-4.1.27/include/linux/ |
D | pe.h | 424 enum sh_coff_reloc_type sh_type; member
|
/linux-4.1.27/arch/mips/boot/ |
D | elf2ecoff.c | 207 s->sh_type = swab32(s->sh_type); in convert_elf_shdrs()
|
/linux-4.1.27/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.1.27/fs/ |
D | binfmt_elf_fdpic.c | 1468 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
|
D | binfmt_elf.c | 2101 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
|