Lines Matching refs:relsec
122 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument
139 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations() argument
972 const Elf_Shdr *relsec; in kexec_apply_relocations() local
976 relsec = sechdrs + i; in kexec_apply_relocations()
978 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
979 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
988 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
989 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
992 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
993 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
1010 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
1012 relsec, symtab); in kexec_apply_relocations()
1013 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
1015 relsec, symtab); in kexec_apply_relocations()