Lines Matching refs:rel
490 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid)
492 (*rel)->addr = addr;
493 (*rel)->type = R_MIPS_PC16;
494 (*rel)->lab = lid;
495 (*rel)++;
499 static inline void __resolve_relocs(struct uasm_reloc *rel,
502 void uasm_resolve_relocs(struct uasm_reloc *rel,
507 for (; rel->lab != UASM_LABEL_INVALID; rel++)
509 if (rel->lab == l->lab)
510 __resolve_relocs(rel, l);
514 void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end,
517 for (; rel->lab != UASM_LABEL_INVALID; rel++)
518 if (rel->addr >= first && rel->addr < end)
519 rel->addr += off;
532 void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab,
539 uasm_move_relocs(rel, first, end, off);
544 int uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr)
546 for (; rel->lab != UASM_LABEL_INVALID; rel++) {
547 if (rel->addr == addr
548 && (rel->type == R_MIPS_PC16
549 || rel->type == R_MIPS_26))