Lines Matching refs:relsec
121 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument
138 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations() argument
960 const Elf_Shdr *relsec; in kexec_apply_relocations() local
964 relsec = sechdrs + i; in kexec_apply_relocations()
966 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
967 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
976 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
977 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
980 section = pi->sechdrs + relsec->sh_info; in kexec_apply_relocations()
981 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
998 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
1000 relsec, symtab); in kexec_apply_relocations()
1001 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
1003 relsec, symtab); in kexec_apply_relocations()