Lines Matching refs:relsec
942 const Elf_Shdr *relsec; in kexec_apply_relocations() local
946 relsec = sechdrs + i; in kexec_apply_relocations()
948 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
949 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
958 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
959 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
962 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
963 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
980 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
982 relsec, symtab); in kexec_apply_relocations()
983 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
985 relsec, symtab); in kexec_apply_relocations()