Home
last modified time | relevance | path

Searched refs:strtab (Results 1 – 25 of 29) sorted by relevance

12

/arch/mips/kernel/
Dvpe.c426 const char *strtab, in apply_relocations() argument
450 me->name, strtab + sym->st_name); in apply_relocations()
461 strtab + sym->st_name); in apply_relocations()
479 const char *strtab, in simplify_symbols() argument
519 strtab + sym[i].st_name, sym[i].st_shndx); in simplify_symbols()
526 if (strncmp(strtab + sym[i].st_name, "_gp", 3) == 0) in simplify_symbols()
537 const char *strtab, struct module *mod) in dump_elfsymbols() argument
544 pr_debug(" i %d name <%s> 0x%x\n", i, strtab + sym[i].st_name, in dump_elfsymbols()
551 unsigned int symindex, const char *strtab, in find_vpe_symbols() argument
558 if (strcmp(strtab + sym[i].st_name, "__start") == 0) in find_vpe_symbols()
[all …]
Dmodule.c306 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() argument
340 me->name, strtab + sym->st_name); in __apply_relocate()
391 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument
395 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate()
399 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
403 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
/arch/parisc/kernel/
Dmodule.c64 me->name, strtab + sym->st_name, (unsigned long)val, bits); \
519 const char *strtab, in apply_relocate_add() argument
549 me->name, strtab + sym->st_name); in apply_relocate_add()
561 strtab + sym->st_name, in apply_relocate_add()
664 const char *strtab, in apply_relocate_add() argument
693 me->name, strtab + sym->st_name); in apply_relocate_add()
706 strtab + sym->st_name, in apply_relocate_add()
723 strtab + sym->st_name, in apply_relocate_add()
734 strtab + sym->st_name, in apply_relocate_add()
741 strtab + sym->st_name, in apply_relocate_add()
[all …]
/arch/hexagon/kernel/
Dmodule.c67 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
98 &strtab[sym->st_name] : "(anonymous)"); in apply_relocate_add()
111 &strtab[sym->st_name] : "(anonymous)"); in apply_relocate_add()
/arch/xtensa/kernel/
Dmodule.c48 const char *strtab, in apply_relocate_add() argument
91 strtab + sym->st_name); in apply_relocate_add()
115 strtab + sym->st_name); in apply_relocate_add()
/arch/mips/vdso/
Dgenvdso.h64 char *strtab, *name; in FUNC() local
102 strtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC()
111 name = strtab + swap_uint32(sym->st_name); in FUNC()
/arch/x86/kernel/
Dmodule.c90 const char *strtab, in apply_relocate() argument
131 const char *strtab, in __apply_relocate_add() argument
201 if (!strncmp(strtab + sym->st_name, "__typeid__", 10)) in __apply_relocate_add()
226 const char *strtab, in apply_relocate_add() argument
240 ret = __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
Dmachine_kexec_64.c436 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local
441 strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
478 name = strtab + sym->st_name; in arch_kexec_apply_relocations_add()
/arch/powerpc/kernel/
Dmodule_64.c254 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify() argument
260 char *name = strtab + syms[i].st_name; in dedotify()
271 const char *strtab, in find_dot_toc() argument
282 && strcmp(strtab + syms[i].st_name, "TOC.") == 0) in find_dot_toc()
521 const char *strtab, in apply_relocate_add() argument
537 sym = find_dot_toc(sechdrs, strtab, symindex); in apply_relocate_add()
555 strtab + sym->st_name, (unsigned long)sym->st_value, in apply_relocate_add()
638 strtab + sym->st_name); in apply_relocate_add()
641 if (!restore_r2(strtab + sym->st_name, in apply_relocate_add()
/arch/nios2/kernel/
Dmodule.c43 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
68 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
/arch/sparc/kernel/
Dmodule.c62 char *strtab; in module_frob_arch_sections() local
72 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections()
84 const char *strtab, in apply_relocate_add() argument
/arch/x86/tools/
Drelocs.c36 char *strtab; member
247 sec_strtab = secs[shstrndx].strtab; in sec_name()
280 char *strtab; in sym_lookup() local
289 strtab = sec->link->strtab; in sym_lookup()
294 if (strcmp(symname, strtab + sym->st_name) == 0) in sym_lookup()
452 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
453 if (!sec->strtab) { in read_strtabs()
461 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) in read_strtabs()
556 sym_strtab = sec->link->strtab; in print_absolute_symbols()
601 sym_strtab = sec_symtab->link->strtab; in print_absolute_relocs()
[all …]
/arch/m68k/kernel/
Dmodule.c23 const char *strtab, in apply_relocate() argument
63 const char *strtab, in apply_relocate_add() argument
/arch/arc/kernel/
Dmodule.c46 const char *strtab, in apply_relocate_add() argument
88 s = strtab + sym_entry->st_name; in apply_relocate_add()
/arch/s390/kernel/
Dmodule.c225 const char *strtab, struct module *me, in apply_rela() argument
421 me->name, strtab + symtab[r_sym].st_name, in apply_rela()
428 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() argument
447 rc = apply_rela(rela, base, symtab, strtab, me, write); in __apply_relocate_add()
454 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
464 return __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
/arch/openrisc/kernel/
Dmodule.c17 const char *strtab, in apply_relocate_add() argument
/arch/mips/boot/tools/
Drelocs.c29 char *strtab; member
96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
304 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
305 if (!sec->strtab) in read_strtabs()
313 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != in read_strtabs()
489 sym_strtab = sec_symtab->link->strtab; in walk_relocs()
/arch/h8300/kernel/
Dmodule.c10 const char *strtab, in apply_relocate_add() argument
/arch/sh/kernel/
Dmodule.c25 const char *strtab, in apply_relocate_add() argument
/arch/microblaze/kernel/
Dmodule.c18 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
/arch/csky/kernel/
Dmodule.c49 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
/arch/alpha/kernel/
Dmodule.c133 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
265 me->name, r_type, strtab + sym->st_name); in apply_relocate_add()
/arch/c6x/kernel/
Dmodule.c42 const char *strtab, in apply_relocate_add() argument
/arch/arm/kernel/
Dmodule.c72 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument
99 symname = strtab + sym->st_name; in apply_relocate()
/arch/riscv/kernel/
Dmodule.c323 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
350 me->name, strtab + sym->st_name); in apply_relocate_add()

12