Lines Matching refs:relsec
933 const Elf_Shdr *relsec; in kexec_apply_relocations() local
937 relsec = sechdrs + i; in kexec_apply_relocations()
939 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
940 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
949 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
950 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
953 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
954 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
971 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
973 relsec, symtab); in kexec_apply_relocations()
974 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
976 relsec, symtab); in kexec_apply_relocations()