Lines Matching refs:relsec
952 const Elf_Shdr *relsec; in kexec_apply_relocations() local
956 relsec = sechdrs + i; in kexec_apply_relocations()
958 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
959 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
968 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
969 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
972 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
973 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
990 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
992 relsec, symtab); in kexec_apply_relocations()
993 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
995 relsec, symtab); in kexec_apply_relocations()