Skip to content

Commit a3b57bb

Browse files
authored
Merge pull request #427 from riscv-non-isa/revert-pr-394
Revert "Add GP-relative relocations"
2 parents ca89636 + ad02546 commit a3b57bb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

riscv-elf.adoc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -463,15 +463,7 @@ Description:: Additional information about the relocation
463463
<| S + A - P
464464
.2+| 45 .2+| RVC_JUMP .2+| Static | _CJ-Type_ .2+| 11-bit PC-relative jump offset
465465
<| S + A - P
466-
.2+| 46 .2+| *Reserved* .2+| - | .2+| Reserved for future standard use
467-
<|
468-
.2+| 47 .2+| GPREL_LO12_I .2+| Static | _I-type_ .2+| Low 12 bits of a 32-bit GP-relative address, `%gprel_lo(symbol)`
469-
<| S + A - GP
470-
.2+| 48 .2+| GPREL_LO12_S .2+| Static | _S-Type_ .2+| Low 12 bits of a 32-bit GP-relative address, `%gprel_lo(symbol)`
471-
<| S + A - GP
472-
.2+| 49 .2+| GPREL_HI20 .2+| Static | _U-Type_ .2+| High 20 bits of a 32-bit GP-relative address, `%gprel_hi(symbol)`
473-
<| S + A - GP
474-
.2+| 50 .2+| *Reserved* .2+| - | .2+| Reserved for future standard use
466+
.2+| 46-50 .2+| *Reserved* .2+| - | .2+| Reserved for future standard use
475467
<|
476468
.2+| 51 .2+| RELAX .2+| Static | .2+| Instruction can be relaxed, paired with a normal relocation at the same address
477469
<|

0 commit comments

Comments
 (0)