Lines Matching refs:relsec
124 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument
141 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations() argument
852 const Elf_Shdr *relsec; in kexec_apply_relocations() local
856 relsec = sechdrs + i; in kexec_apply_relocations()
858 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
859 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
868 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
869 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
872 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
873 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
890 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
892 relsec, symtab); in kexec_apply_relocations()
893 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
895 relsec, symtab); in kexec_apply_relocations()