Lines Matching full:rel
47 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local
53 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
56 + rel[i].r_offset; in apply_relocate()
60 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
62 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
74 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
90 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __write_relocate_add() local
99 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in __write_relocate_add()
104 + rel[i].r_offset; in __write_relocate_add()
109 + ELF64_R_SYM(rel[i].r_info); in __write_relocate_add()
112 (int)ELF64_R_TYPE(rel[i].r_info), in __write_relocate_add()
113 sym->st_value, rel[i].r_addend, (u64)loc); in __write_relocate_add()
115 val = sym->st_value + rel[i].r_addend; in __write_relocate_add()
117 switch (ELF64_R_TYPE(rel[i].r_info)) { in __write_relocate_add()
144 me->name, ELF64_R_TYPE(rel[i].r_info)); in __write_relocate_add()
151 (int)ELF64_R_TYPE(rel[i].r_info), loc, val); in __write_relocate_add()
158 (int)ELF64_R_TYPE(rel[i].r_info), loc, val); in __write_relocate_add()
168 (int)ELF64_R_TYPE(rel[i].r_info), val); in __write_relocate_add()