Lines Matching refs:sym
413 Elf64_Sym *sym; in arch_kexec_apply_relocations_add() local
470 sym = (Elf64_Sym *)symtabsec->sh_offset + in arch_kexec_apply_relocations_add()
473 if (sym->st_name) in arch_kexec_apply_relocations_add()
474 name = strtab + sym->st_name; in arch_kexec_apply_relocations_add()
476 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
479 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
480 sym->st_size); in arch_kexec_apply_relocations_add()
482 if (sym->st_shndx == SHN_UNDEF) { in arch_kexec_apply_relocations_add()
487 if (sym->st_shndx == SHN_COMMON) { in arch_kexec_apply_relocations_add()
492 if (sym->st_shndx == SHN_ABS) in arch_kexec_apply_relocations_add()
494 else if (sym->st_shndx >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add()
496 sym->st_shndx, name); in arch_kexec_apply_relocations_add()
499 sec_base = sechdrs[sym->st_shndx].sh_addr; in arch_kexec_apply_relocations_add()
501 value = sym->st_value; in arch_kexec_apply_relocations_add()