Lines Matching full:rel
84 const char *name = "unknown type rel type name"; in rel_type()
386 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() local
388 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
390 rel->r_offset -= base; in read_relocs()
392 rel->r_info = elf_xword_to_cpu(rel->r_info); in read_relocs()
397 rel->r_info = rel->r_info; in read_relocs()
398 ELF_R_SYM(rel->r_info) = elf32_to_cpu(ELF_R_SYM(rel->r_info)); in read_relocs()
401 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
467 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, in walk_relocs() argument
491 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs() local
492 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in walk_relocs()
495 process(sec, rel, sym, symname); in walk_relocs()
500 static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc() argument
503 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
636 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc_info() argument
641 (unsigned int)rel->r_offset, in do_reloc_info()
642 rel_type(ELF_R_TYPE(rel->r_info)), in do_reloc_info()