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
`CALL` and `CALL_PLT` relocations refer `auipc` and `jalr` instruction pairs.
`jalr` is not a J-type instruction; it's I-type.
As to `GOT_HI20`, `G` means the offset inside the .got in the other ELF specs.
So the correct expression is not `G+A-P` but `G+GOT+A-P` where `GOT` means
the address of the .got.
I found these errata when I was trying to implement a RISC-V support to my linker.
rui314/mold@e76f7c0
0 commit comments