Lines Matching refs:rel
491 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid)
493 (*rel)->addr = addr;
494 (*rel)->type = R_MIPS_PC16;
495 (*rel)->lab = lid;
496 (*rel)++;
500 static inline void __resolve_relocs(struct uasm_reloc *rel,
503 void uasm_resolve_relocs(struct uasm_reloc *rel,
508 for (; rel->lab != UASM_LABEL_INVALID; rel++)
510 if (rel->lab == l->lab)
511 __resolve_relocs(rel, l);
515 void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end,
518 for (; rel->lab != UASM_LABEL_INVALID; rel++)
519 if (rel->addr >= first && rel->addr < end)
520 rel->addr += off;
533 void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab,
540 uasm_move_relocs(rel, first, end, off);
545 int uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr)
547 for (; rel->lab != UASM_LABEL_INVALID; rel++) {
548 if (rel->addr == addr
549 && (rel->type == R_MIPS_PC16
550 || rel->type == R_MIPS_26))