Home
last modified time | relevance | path

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

/arch/loongarch/kernel/
A Dmodule-sections.c143 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
154 got_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
162 plt_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
170 plt_idx_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
178 tramp->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/arch/mips/vdso/
A Dgenvdso.h31 switch (swap_uint32(shdr->sh_type)) { in FUNC()
50 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS); in FUNC()
76 if (swap_uint32(shdr->sh_type) == SHT_SYMTAB) in FUNC()
/arch/riscv/kernel/
A Dmodule-sections.c157 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
188 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
195 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
202 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/arch/arm64/kernel/
A Dmodule-plts.c301 else if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections()
319 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
344 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
352 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
360 tramp->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/arch/arm/kernel/
A Dmodule-plts.c226 else if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections()
244 if (s->sh_type != SHT_REL) in module_frob_arch_sections()
262 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
270 mod->arch.init.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
A Dmodule.c432 s->sh_type != ELF_SECTION_UNWIND) in module_finalize()
/arch/x86/tools/
A Drelocs.c430 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
452 if (sec->shdr.sh_type != SHT_STRTAB) in read_strtabs()
475 switch (sec->shdr.sh_type) { in read_symtabs()
528 if (sec->shdr.sh_type != SHT_REL_TYPE) in read_relocs()
572 if (sec->shdr.sh_type != SHT_SYMTAB) in print_absolute_symbols()
615 if (sec->shdr.sh_type != SHT_REL_TYPE) in print_absolute_relocs()
628 if (sec_applies->shdr.sh_type == SHT_NOTE) in print_absolute_relocs()
709 if (sec->shdr.sh_type != SHT_REL_TYPE) in walk_relocs()
722 if (sec_applies->shdr.sh_type == SHT_NOTE) in walk_relocs()
/arch/mips/boot/tools/
A Drelocs.c280 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()
482 if (sec->shdr.sh_type != SHT_REL_TYPE) in walk_relocs()
/arch/alpha/kernel/
A Dmodule.c79 if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections()
106 got->sh_type = SHT_NOBITS; in module_frob_arch_sections()
111 if (s->sh_type == SHT_RELA) { in module_frob_arch_sections()
/arch/s390/tools/
A Drelocs.c203 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
226 if (sec->shdr.sh_type != SHT_REL_TYPE) in read_relocs()
303 if (sec->shdr.sh_type != SHT_REL_TYPE) in walk_relocs()
/arch/mips/kernel/
A 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()
/arch/sh/include/asm/
A Dhw_breakpoint.h55 extern int arch_bp_generic_fields(int sh_len, int sh_type, int *gen_len,
/arch/sh/kernel/
A Dhw_breakpoint.c135 int arch_bp_generic_fields(int sh_len, int sh_type, in arch_bp_generic_fields() argument
157 switch (sh_type) { in arch_bp_generic_fields()
/arch/arm64/kernel/pi/
A Drelacheck.c83 if (swab_elfword(shdr[i].sh_type) != SHT_RELA) in main()
/arch/parisc/kernel/
A Dmodule.c290 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
860 if(sechdrs[i].sh_type == SHT_SYMTAB in module_finalize()
927 if (s->sh_type == SHT_REL) in module_finalize()
931 else if (s->sh_type == SHT_RELA) in module_finalize()
/arch/sparc/kernel/
A Dmodule.c35 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections()
/arch/sparc/vdso/
A Dvdso2c.h68 if (GET_BE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
/arch/powerpc/kernel/
A Dmodule_64.c218 if (sechdrs[i].sh_type == SHT_RELA) { in get_stubs_size()
307 if (sechdrs[i].sh_type == SHT_SYMTAB) { in get_got_size()
316 if (sechdrs[i].sh_type == SHT_RELA) { in get_got_size()
462 if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections()
A Dmodule_32.c94 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size()
/arch/mips/tools/
A Dloongson3-llsc-check.c288 if (sh->sh_type != SHT_PROGBITS) in main()
/arch/x86/entry/vdso/
A Dvdso2c.h109 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
/arch/s390/kernel/
A 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()
/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c437 switch (elf32toh(shdr->sh_type)) { in emit_all_relocs()
/arch/mips/boot/
A Delf2ecoff.c209 s->sh_type = swab32(s->sh_type); in convert_elf_shdrs()

Completed in 47 milliseconds