Lines Matching full:rel
249 const char *name = "unknown type rel type name"; in rel_type()
567 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() local
569 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
570 rel->r_info = elf_xword_to_cpu(rel->r_info); in read_relocs()
572 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
660 Elf_Rel *rel; in print_absolute_relocs() local
664 rel = &sec->reltab[j]; in print_absolute_relocs()
665 sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in print_absolute_relocs()
694 rel->r_offset, in print_absolute_relocs()
695 rel->r_info, in print_absolute_relocs()
696 rel_type(ELF_R_TYPE(rel->r_info)), in print_absolute_relocs()
721 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, in walk_relocs() argument
754 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs() local
755 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in walk_relocs()
758 process(sec, rel, sym, symname); in walk_relocs()
841 static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc64() argument
844 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64()
845 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
928 static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc32() argument
931 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32()
960 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
971 static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname) in do_reloc_real() argument
973 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real()
999 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
1019 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
1024 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
1073 int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname); in emit_relocs()
1152 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc_info() argument
1157 rel_type(ELF_R_TYPE(rel->r_info)), in do_reloc_info()