@@ -542,8 +542,8 @@ Enum | ELF Reloc Type | Description | Field | C
54254211 | R_RISCV_TLS_TPREL64 | Runtime TLS relocation | _ word64_ | S + A + TLSOFFSET
54354316 | R_RISCV_BRANCH | PC-relative branch | _ B-Type_ | S + A - P
54454417 | R_RISCV_JAL | PC-relative jump | _ J-Type_ | S + A - P
545- 18 | R_RISCV_CALL | PC-relative call | _ J -Type_ | S + A - P | Macros ` call ` , ` tail `
546- 19 | R_RISCV_CALL_PLT | PC-relative call (PLT) | _ J -Type_ | S + A - P | Macros ` call ` , ` tail ` (PIC)
545+ 18 | R_RISCV_CALL | PC-relative call | _ U+J -Type_ | S + A - P | Macros ` call ` , ` tail `
546+ 19 | R_RISCV_CALL_PLT | PC-relative call (PLT) | _ U+J -Type_ | S + A - P | Macros ` call ` , ` tail ` (PIC)
54754720 | R_RISCV_GOT_HI20 | PC-relative GOT reference | _ U-Type_ | G + A - P | ` %got_pcrel_hi(symbol) `
54854821 | R_RISCV_TLS_GOT_HI20 | PC-relative TLS IE GOT offset | _ U-Type_ | | Macro ` la.tls.ie `
54954922 | R_RISCV_TLS_GD_HI20 | PC-relative TLS GD reference | _ U-Type_ | | Macro ` la.tls.gd `
@@ -633,6 +633,7 @@ _I-Type_ | Specifies a field as the immediate field in an I-type instruction
633633_ S-Type_ | Specifies a field as the immediate field in an S-type instruction
634634_ U-Type_ | Specifies a field as the immediate field in an U-type instruction
635635_ J-Type_ | Specifies a field as the immediate field in a J-type instruction
636+ _ U+J-Type_ | Specifies a field as the immediate fields in a U-type and J-type instruction pair
636637
637638### Constants
638639
@@ -779,7 +780,7 @@ and when `-fpic` is enabled it expands to:
779780
780781### PC-Relative Jumps and Branches
781782
782- Unconditional jump (UJ -Type) instructions have a ` R_RISCV_JAL ` relocation
783+ Unconditional jump (U+J -Type) instructions have a ` R_RISCV_JAL ` relocation
783784that can represent an even signed 21-bit offset (-1MiB to +1MiB-2).
784785
785786Branch (SB-Type) instructions have a ` R_RISCV_BRANCH ` relocation that
0 commit comments