Lines Matching full:rel
29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local
35 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
38 + rel[i].r_offset; in apply_relocate()
42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
44 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
55 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
75 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
78 + rel[i].r_offset; in apply_relocate_add()
82 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
84 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
87 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; in apply_relocate_add()
95 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()