Commit 7be7bc0
committed
Define GOT-Relative data relocation
This introduces a new relocation `R_RISCV_GOT32_PCREL` follows the existing
wording to “R_RISCV_32_PCREL”, but instead evaluates to the 32-bit offset
between a GOT entry for a given symbol and the current location where the
relocation is applied, so its equation would be “G + GOT - P + A”.1 parent df8b80b commit 7be7bc0
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
424 | 426 | | |
425 | 427 | | |
426 | 428 | | |
| |||
0 commit comments