• Home
  • Raw
  • Download

Lines Matching refs:rel

525 			Elf_Rel *rel = &sec->reltab[j];  in read_relocs()  local
526 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
527 rel->r_info = elf_xword_to_cpu(rel->r_info); in read_relocs()
529 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
611 Elf_Rel *rel; in print_absolute_relocs() local
614 rel = &sec->reltab[j]; in print_absolute_relocs()
615 sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in print_absolute_relocs()
646 rel->r_offset, in print_absolute_relocs()
647 rel->r_info, in print_absolute_relocs()
648 rel_type(ELF_R_TYPE(rel->r_info)), in print_absolute_relocs()
673 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, in walk_relocs() argument
696 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs() local
697 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in walk_relocs()
700 process(sec, rel, sym, symname); in walk_relocs()
778 static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc64() argument
781 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64()
782 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
874 static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc32() argument
877 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32()
907 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
919 static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc_real() argument
922 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real()
948 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
970 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
975 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
1023 int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in emit_relocs()
1103 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc_info() argument
1108 rel_type(ELF_R_TYPE(rel->r_info)), in do_reloc_info()