Skip to content

Commit d1743f6

Browse files
authored
Merge pull request #403 from charlie-rivos/define_uleb128_constraints
Define contrainsts for ULEB128
2 parents e5c800e + e7bd2a3 commit d1743f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

riscv-elf.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,9 @@ Description:: Additional information about the relocation
456456
<| `ifunc_resolver(B + A)`
457457
.2+| 59 .2+| PLT32 .2+| Static | _word32_ .2+| 32-bit relative offset to a function or its PLT entry
458458
<| S + A - P
459-
.2+| 60 .2+| SET_ULEB128 .2+| Static | _ULEB128_ .2+| Local label assignment <<uleb128-note,*note>>
459+
.2+| 60 .2+| SET_ULEB128 .2+| Static | _ULEB128_ .2+| Must be placed immediately before a SUB_ULEB128 with the same offset. Local label assignment <<uleb128-note,*note>>
460460
<| S + A
461-
.2+| 61 .2+| SUB_ULEB128 .2+| Static | _ULEB128_ .2+| Local label subtraction <<uleb128-note,*note>>
461+
.2+| 61 .2+| SUB_ULEB128 .2+| Static | _ULEB128_ .2+| Must be placed immediately after a SET_ULEB128 with the same offset. Local label subtraction <<uleb128-note,*note>>
462462
<| V - S - A
463463
.2+| 62 .2+| TLSDESC_HI20 .2+| Static | _U-Type_ .2+| High 20 bits of a 32-bit PC-relative offset into a TLS descriptor entry, `%tlsdesc_hi(symbol)`
464464
<| S + A - P

0 commit comments

Comments
 (0)