Commit 1fd079c
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 1fd079c
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
| 471 | + | |
470 | 472 | | |
471 | | - | |
| 473 | + | |
472 | 474 | | |
473 | 475 | | |
474 | 476 | | |
| |||
0 commit comments