/arch/mips/kernel/ |
D | vpe.c | 426 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 …]
|
D | module.c | 307 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() argument 341 me->name, strtab + sym->st_name); in __apply_relocate() 392 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument 396 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate() 400 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 404 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
|
/arch/parisc/kernel/ |
D | module.c | 65 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 520 const char *strtab, in apply_relocate_add() argument 550 me->name, strtab + sym->st_name); in apply_relocate_add() 562 strtab + sym->st_name, in apply_relocate_add() 665 const char *strtab, in apply_relocate_add() argument 694 me->name, strtab + sym->st_name); in apply_relocate_add() 707 strtab + sym->st_name, in apply_relocate_add() 724 strtab + sym->st_name, in apply_relocate_add() 735 strtab + sym->st_name, in apply_relocate_add() 742 strtab + sym->st_name, in apply_relocate_add() [all …]
|
/arch/xtensa/kernel/ |
D | module.c | 48 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/hexagon/kernel/ |
D | module.c | 67 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/mips/vdso/ |
D | genvdso.h | 64 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/unicore32/kernel/ |
D | module.c | 30 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 89 relindex, i, strtab + sym->st_name); in apply_relocate()
|
/arch/powerpc/kernel/ |
D | module_64.c | 304 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify() argument 310 char *name = strtab + syms[i].st_name; in dedotify() 321 const char *strtab, in find_dot_toc() argument 332 && strcmp(strtab + syms[i].st_name, "TOC.") == 0) in find_dot_toc() 523 const char *strtab, in apply_relocate_add() argument 539 sym = find_dot_toc(sechdrs, strtab, symindex); in apply_relocate_add() 557 strtab + sym->st_name, (unsigned long)sym->st_value, in apply_relocate_add() 642 if (!restore_r2(strtab + sym->st_name, in apply_relocate_add() 646 squash_toc_save_inst(strtab + sym->st_name, value); in apply_relocate_add()
|
/arch/nios2/kernel/ |
D | module.c | 44 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 69 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
|
/arch/sparc/kernel/ |
D | module.c | 62 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/ |
D | relocs.c | 36 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() 609 sym_strtab = sec_symtab->link->strtab; in print_absolute_relocs() [all …]
|
/arch/arc/kernel/ |
D | module.c | 46 const char *strtab, in apply_relocate_add() argument 88 s = strtab + sym_entry->st_name; in apply_relocate_add()
|
/arch/m68k/kernel/ |
D | module.c | 23 const char *strtab, in apply_relocate() argument 63 const char *strtab, in apply_relocate_add() argument
|
/arch/x86/kernel/ |
D | module.c | 90 const char *strtab, in apply_relocate() argument 131 const char *strtab, in apply_relocate_add() argument 200 if (!strncmp(strtab + sym->st_name, "__typeid__", 10)) in apply_relocate_add()
|
D | machine_kexec_64.c | 503 const char *strtab, *name, *shstrtab; in arch_kexec_apply_relocations_add() local 508 strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add() 545 name = strtab + sym->st_name; in arch_kexec_apply_relocations_add()
|
/arch/openrisc/kernel/ |
D | module.c | 17 const char *strtab, in apply_relocate_add() argument
|
/arch/mips/boot/tools/ |
D | relocs.c | 29 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/ |
D | module.c | 10 const char *strtab, in apply_relocate_add() argument
|
/arch/s390/kernel/ |
D | module.c | 216 const char *strtab, struct module *me) in apply_rela() argument 408 me->name, strtab + symtab[r_sym].st_name, in apply_rela() 415 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 433 rc = apply_rela(rela, base, symtab, strtab, me); in apply_relocate_add()
|
/arch/microblaze/kernel/ |
D | module.c | 18 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
|
/arch/sh/kernel/ |
D | module.c | 25 const char *strtab, in apply_relocate_add() argument
|
/arch/csky/kernel/ |
D | module.c | 50 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
|
/arch/alpha/kernel/ |
D | module.c | 133 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/ |
D | module.c | 42 const char *strtab, in apply_relocate_add() argument
|
/arch/arm/kernel/ |
D | module.c | 66 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 93 symname = strtab + sym->st_name; in apply_relocate()
|