Home
last modified time | relevance | path

Searched refs:sh_type (Results 1 – 32 of 32) sorted by relevance

/linux-4.4.14/arch/mips/vdso/
Dgenvdso.h37 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/
Dmodule-plts.c158 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/
Dkexec_file.c708 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()
Dmodule.c1602 (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/
Dmodule.c106 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/
Dsortextable.h135 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()
Drecordmcount.h220 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/
Drelocs.c278 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/
Dmodule.c91 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/
Dvpe.c621 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/
Dvma_map.c178 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/
Dhw_breakpoint.c138 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/
Dmodule.c245 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/
Delf.h301 Elf32_Word sh_type; member
314 Elf64_Word sh_type; /* Type of section */ member
/linux-4.4.14/arch/ia64/kernel/
Dmodule.c453 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/
Dmodule.c73 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/
Dbpf_load.c276 } 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/
Dlibbpf.c535 (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/
Dmodule.c119 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/
Dmodpost.c483 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()
Dfile2alias.c1340 if (info->sechdrs[get_secindex(info, sym)].sh_type & SHT_NOBITS) { in handle_moddevtable()
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c64 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections()
/linux-4.4.14/arch/powerpc/kernel/
Dmodule_64.c279 if (sechdrs[i].sh_type == SHT_RELA) { in get_stubs_size()
383 if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections()
Dmodule_32.c120 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h68 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
/linux-4.4.14/tools/perf/util/
Dsymbol-elf.c288 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()
Dprobe-finder.c1040 shdr.sh_type == SHT_PROGBITS) { in debuginfo__find_probes()
/linux-4.4.14/include/linux/
Dpe.h424 enum sh_coff_reloc_type sh_type; member
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c207 s->sh_type = swab32(s->sh_type); in convert_elf_shdrs()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c340 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/
Dbinfmt_elf_fdpic.c1508 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
Dbinfmt_elf.c2111 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()