Skip to content
Commit 58d50a0e authored by Henry Hsieh's avatar Henry Hsieh Committed by Carles Cufí
Browse files

riscv: fix non-standard assembly of RISC-V



Non-standard `jalr rd, rs` pseudo-instructions are used.
This commit changes them to `ret` for standard return pseudo-instruction
or `jalr rd, rs, 0` for no offset jump register and link.

Fixes #41100.

Signed-off-by: default avatarHenry Hsieh <r901042004@yahoo.com.tw>
parent 9edb8e2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment