/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 | 306 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/ |
D | module.c | 64 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/ |
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/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/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/x86/kernel/ |
D | module.c | 90 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()
|
D | machine_kexec_64.c | 436 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/ |
D | module_64.c | 254 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/ |
D | module.c | 43 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/ |
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() 601 sym_strtab = sec_symtab->link->strtab; in print_absolute_relocs() [all …]
|
/arch/m68k/kernel/ |
D | module.c | 23 const char *strtab, in apply_relocate() argument 63 const char *strtab, in apply_relocate_add() argument
|
/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/s390/kernel/ |
D | module.c | 225 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/ |
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/sh/kernel/ |
D | module.c | 25 const char *strtab, in apply_relocate_add() argument
|
/arch/microblaze/kernel/ |
D | module.c | 18 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument
|
/arch/csky/kernel/ |
D | module.c | 49 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 | 72 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/ |
D | module.c | 323 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()
|