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