Lines Matching full:rel
111 static bool is_zero_addend_relocation(Elf32_Addr base, const Elf32_Rel *rel) in is_zero_addend_relocation() argument
113 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation()
121 switch (ELF32_R_TYPE(rel->r_info)) { in is_zero_addend_relocation()
139 static bool duplicate_rel(Elf32_Addr base, const Elf32_Rel *rel, int num) in duplicate_rel() argument
151 prev = rel + num - 1; in duplicate_rel()
152 return cmp_rel(rel + num, prev) == 0 && in duplicate_rel()
158 const Elf32_Rel *rel, int num, Elf32_Word dstidx) in count_plts() argument
165 switch (ELF32_R_TYPE(rel[i].r_info)) { in count_plts()
182 s = syms + ELF32_R_SYM(rel[i].r_info); in count_plts()
201 if (!is_zero_addend_relocation(base, rel + i) || in count_plts()
202 !duplicate_rel(base, rel, i)) in count_plts()