Lines Matching refs:relsec
930 const Elf_Shdr *relsec; in kexec_apply_relocations() local
934 relsec = sechdrs + i; in kexec_apply_relocations()
936 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
937 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
946 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
947 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
950 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
951 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
968 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
970 relsec, symtab); in kexec_apply_relocations()
971 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
973 relsec, symtab); in kexec_apply_relocations()