/openbmc/linux/arch/mips/vdso/ |
H A D | genvdso.h | 12 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()
|
/openbmc/linux/scripts/ |
H A D | recordmcount.h | 555 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()
|
/openbmc/linux/include/linux/ |
H A D | livepatch.h | 234 const char *shstrtab, const char *strtab, 248 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
|
/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 434 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local 440 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add() 445 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add() 478 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
|
/openbmc/u-boot/tools/ |
H A D | mips-relocs.c | 98 #define shstr(idx) (&shstrtab[idx]) 199 const char *shstrtab, *sh_name, *rel_pfx; in main() local 288 shstrtab = elf + shdr_field(ehdr_field(e_shstrndx), sh_offset); in main()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 304 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local 313 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add() 329 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
|
/openbmc/linux/kernel/livepatch/ |
H A D | core.c | 295 const char *shstrtab, const char *strtab, in klp_write_section_relocs() argument 308 cnt = sscanf(shstrtab + sec->sh_name, ".klp.rela.%55[^.]", in klp_write_section_relocs() 312 shstrtab + sec->sh_name); in klp_write_section_relocs() 333 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument 337 return klp_write_section_relocs(pmod, sechdrs, shstrtab, strtab, symndx, in klp_apply_section_relocs()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | elf_kexec.c | 370 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local 378 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add() 395 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
|
/openbmc/linux/tools/objtool/ |
H A D | elf.c | 1093 struct section *sec, *shstrtab; in elf_create_section() local 1150 shstrtab = find_section_by_name(elf, ".shstrtab"); in elf_create_section() 1151 if (!shstrtab) in elf_create_section() 1152 shstrtab = find_section_by_name(elf, ".strtab"); in elf_create_section() 1153 if (!shstrtab) { in elf_create_section() 1157 sec->sh.sh_name = elf_add_string(elf, shstrtab, sec->name); in elf_create_section()
|
/openbmc/linux/include/asm-generic/ |
H A D | vmlinux.lds.h | 800 .shstrtab 0 : { *(.shstrtab) }
|