You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When input object files are machine code compiled with -mrelax and containing RELAX records partial linking (lld --relocatable) produce expected result:
36: 97 00 00 00 auipc ra, 0
00000036: R_RISCV_CALL_PLT memcpy
00000036: R_RISCV_RELAX ABS
3a: e7 80 00 00 jalr ra
3e: 13 05 f4 02 addi a0, s0, 47
Same code when source is IR object file produced with -flto and compiled/linked as lld --relocatable:
36: 97 00 00 00 auipc ra, 0
00000036: R_RISCV_CALL_PLT memcpy
3a: e7 80 00 00 jalr ra
3e: 13 05 f4 02 addi a0, s0, 47