Lines Matching refs:sym
432 Elf32_Sym *sym; in apply_relocations() local
445 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocations()
448 if (!sym->st_value) { in apply_relocations()
450 me->name, strtab + sym->st_name); in apply_relocations()
454 v = sym->st_value; in apply_relocations()
461 strtab + sym->st_name); in apply_relocations()
483 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols() local
497 switch (sym[i].st_shndx) { in simplify_symbols()
503 size = sym[i].st_value; in simplify_symbols()
504 sym[i].st_value = bssbase; in simplify_symbols()
519 strtab + sym[i].st_name, sym[i].st_shndx); in simplify_symbols()
524 secbase = sechdrs[sym[i].st_shndx].sh_addr; in simplify_symbols()
526 if (strncmp(strtab + sym[i].st_name, "_gp", 3) == 0) in simplify_symbols()
527 save_gp_address(secbase, sym[i].st_value); in simplify_symbols()
529 sym[i].st_value += secbase; in simplify_symbols()
539 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols() local
544 pr_debug(" i %d name <%s> 0x%x\n", i, strtab + sym[i].st_name, in dump_elfsymbols()
545 sym[i].st_value); in dump_elfsymbols()
554 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols() local
558 if (strcmp(strtab + sym[i].st_name, "__start") == 0) in find_vpe_symbols()
559 v->__start = sym[i].st_value; in find_vpe_symbols()
561 if (strcmp(strtab + sym[i].st_name, "vpe_shared") == 0) in find_vpe_symbols()
562 v->shared_ptr = (void *)sym[i].st_value; in find_vpe_symbols()