Home
last modified time | relevance | path

Searched refs:shstrtab (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/arch/mips/vdso/
Dgenvdso.h12 char *shstrtab, *name; in FUNC() local
20 shstrtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC()
24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/Linux-v6.1/scripts/
Drecordmcount.h555 char const *const shstrtab, in __has_rel_mcount() argument
560 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount()
575 char const *const shstrtab, in has_rel_mcount() argument
580 return __has_rel_mcount(relhdr, shdr0, shstrtab, fname); in has_rel_mcount()
586 const char *const shstrtab, in tot_relsize() argument
594 txtname = has_rel_mcount(shdrp, shdr0, shstrtab, fname); in tot_relsize()
613 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func() local
636 totrelsz = tot_relsize(shdr0, nhdr, shstrtab, fname); in do_func()
656 shstrtab, fname); in do_func()
/Linux-v6.1/include/linux/
Dlivepatch.h233 const char *shstrtab, const char *strtab,
247 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
/Linux-v6.1/arch/x86/kernel/
Dmachine_kexec_64.c407 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local
413 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
418 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add()
451 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/Linux-v6.1/arch/s390/kernel/
Dmachine_kexec_file.c303 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local
312 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
328 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/Linux-v6.1/arch/riscv/kernel/
Delf_kexec.c350 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local
358 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
375 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/Linux-v6.1/tools/objtool/
Delf.c1019 struct section *sec, *shstrtab; in elf_create_section() local
1078 shstrtab = find_section_by_name(elf, ".shstrtab"); in elf_create_section()
1079 if (!shstrtab) in elf_create_section()
1080 shstrtab = find_section_by_name(elf, ".strtab"); in elf_create_section()
1081 if (!shstrtab) { in elf_create_section()
1085 sec->sh.sh_name = elf_add_string(elf, shstrtab, sec->name); in elf_create_section()
/Linux-v6.1/kernel/livepatch/
Dcore.c288 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
301 cnt = sscanf(shstrtab + sec->sh_name, ".klp.rela.%55[^.]", in klp_apply_section_relocs()
305 shstrtab + sec->sh_name); in klp_apply_section_relocs()
/Linux-v6.1/include/asm-generic/
Dvmlinux.lds.h857 .shstrtab 0 : { *(.shstrtab) }