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