Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kernel/
Dmodule.c207 s32 hi20 = ((s32)v + 0x800) & 0xfffff000; in apply_r_riscv_lo12_i_rela() local
208 s32 lo12 = ((s32)v - hi20); in apply_r_riscv_lo12_i_rela()
217 s32 hi20 = ((s32)v + 0x800) & 0xfffff000; in apply_r_riscv_lo12_s_rela() local
218 s32 lo12 = ((s32)v - hi20); in apply_r_riscv_lo12_s_rela()
247 u32 hi20, lo12; in apply_r_riscv_call_plt_rela() local
261 hi20 = (offset + 0x800) & 0xfffff000; in apply_r_riscv_call_plt_rela()
262 lo12 = (offset - hi20) & 0xfff; in apply_r_riscv_call_plt_rela()
263 riscv_insn_rmw(location, 0xfff, hi20); in apply_r_riscv_call_plt_rela()
271 u32 hi20, lo12; in apply_r_riscv_call_rela() local
280 hi20 = (offset + 0x800) & 0xfffff000; in apply_r_riscv_call_rela()
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dmodule.h81 u32 hi20 = (offset + 0x800) & 0xfffff000; in emit_plt_entry() local
82 u32 lo12 = (offset - hi20); in emit_plt_entry()
84 OPC_AUIPC | (REG_T0 << 7) | hi20, in emit_plt_entry()