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
967 const Elf_Shdr *relsec; in kexec_apply_relocations() local
971 relsec = sechdrs + i; in kexec_apply_relocations()
973 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
974 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
983 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
984 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
987 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
988 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
1005 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
1007 relsec, symtab); in kexec_apply_relocations()
1008 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
1010 relsec, symtab); in kexec_apply_relocations()