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
RISC-V: use PC-relative addressing instead of absolute addressing
This should support the "medium any" code model, where executables can
be loaded at addresses above 2Gb. It might also reduce the number of
link-time relocations.
Also: split the uses of the `la` pseudo-instruction into
- `lla` (load local address -> auipc/addi)
- `lga` (load global address -> load from the GOT)
just to be extra clear.
0 commit comments