Home
last modified time | relevance | path

Searched refs:loc_new (Results 1 – 1 of 1) sorted by relevance

/linux/arch/mips/kernel/
H A Drelocate.c74 static void __init apply_r_mips_64_rel(u32 *loc_new, long offset) in apply_r_mips_64_rel() argument
76 *(u64 *)loc_new += offset; in apply_r_mips_64_rel()
79 static void __init apply_r_mips_32_rel(u32 *loc_new, long offset) in apply_r_mips_32_rel() argument
81 *loc_new += offset; in apply_r_mips_32_rel()
84 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel() argument
100 if ((target_addr & 0xf0000000) != ((unsigned long)loc_new & 0xf0000000)) { in apply_r_mips_26_rel()
105 target_addr -= (unsigned long)loc_new & 0xf0000000; in apply_r_mips_26_rel()
108 *loc_new = (*loc_new & ~0x03ffffff) | (target_addr & 0x03ffffff); in apply_r_mips_26_rel()
114 static void __init apply_r_mips_hi16_rel(u32 *loc_orig, u32 *loc_new, in apply_r_mips_hi16_rel() argument
122 *loc_new = (insn & ~0xffff) | ((target >> 16) & 0xffff); in apply_r_mips_hi16_rel()
[all …]