<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Maybe the LLD doesn't support linker relaxtion (It is difficult to implement). </div><div>(Correct me if I'm wrong)</div><div><br></div><p style="margin:0;">I want to implement lwgp, 17-bit/128KB gp-offset. (https://github.com/riscv/riscv-code-size-reduction/blob/after_v0.50.1_dev/ISA%20proposals/Huawei/Zce_spec.adoc#lwgp_semantics)</p><p style="margin:0;">Eg:  lui a0, %hi(sym); load/store a1, %lo(sym)(a0) -> lwgp/swgp a1, gp_offset(gp)</p><p style="margin:0;"><br></p><p style="margin:0;">question: </p><p style="margin:0;">1. Do I have to support linker relaxtion if I want to implement lwgp?   </p><p style="margin:0;">2. Is there any other way to solve the problem£¿ assmembler? </p><div><br></div></div><br><br><span title="neteasefooter"><p> </p></span>