Lines Matching refs:rel
70 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local
76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
79 + rel[i].r_offset; in apply_relocate()
83 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
85 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
121 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
128 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
131 + rel[i].r_offset; in apply_relocate_add()
136 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
139 (int)ELF64_R_TYPE(rel[i].r_info), in apply_relocate_add()
140 sym->st_value, rel[i].r_addend, (u64)loc); in apply_relocate_add()
142 val = sym->st_value + rel[i].r_addend; in apply_relocate_add()
144 switch (ELF64_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
170 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add()
178 (int)ELF64_R_TYPE(rel[i].r_info), val); in apply_relocate_add()