Lines Matching refs:relsec
976 const Elf_Shdr *relsec; in kexec_apply_relocations() local
980 relsec = sechdrs + i; in kexec_apply_relocations()
982 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
983 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
992 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
993 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
996 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
997 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
1014 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
1016 relsec, symtab); in kexec_apply_relocations()
1017 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
1019 relsec, symtab); in kexec_apply_relocations()