File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ Enum | ELF Reloc Type | Description | Field | C
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 `
55055023 | R_RISCV_PCREL_HI20 | PC-relative reference | _ U-Type_ | S + A - P | ` %pcrel_hi(symbol) `
551- 24 | R_RISCV_PCREL_LO12_I | PC-relative reference | _ I-type_ | S - P | ` %pcrel_lo(address of %pcrel_hi) ` , the addend must be 0 ( * note 1)
552- 25 | R_RISCV_PCREL_LO12_S | PC-relative reference | _ S-Type_ | S - P | ` %pcrel_lo(address of %pcrel_hi) ` , the addend must be 0 ( * note 1)
551+ 24 | R_RISCV_PCREL_LO12_I | PC-relative reference | _ I-type_ | S - P | ` %pcrel_lo(address of %pcrel_hi) ` , the addend must be 0
552+ 25 | R_RISCV_PCREL_LO12_S | PC-relative reference | _ S-Type_ | S - P | ` %pcrel_lo(address of %pcrel_hi) ` , the addend must be 0
55355326 | R_RISCV_HI20 | Absolute address | _ U-Type_ | S + A | ` %hi(symbol) `
55455427 | R_RISCV_LO12_I | Absolute address | _ I-Type_ | S + A | ` %lo(symbol) `
55555528 | R_RISCV_LO12_S | Absolute address | _ S-Type_ | S + A | ` %lo(symbol) `
@@ -593,13 +593,6 @@ This section and later ones contain fragments written in assembler. The precise
593593assembler syntax, including that of the relocations, is described in the
594594[ RISC-V Assembly Programmer's Manual] ( https://github.com/riscv/riscv-asm-manual ) .
595595
596- ```
597- NOTE:
598-
599- 1: GNU Toolchain support `R_RISCV_PCREL_LO12_I` and `R_RISCV_PCREL_LO12_S`
600- with non-zero addend, but it's deprecated, and will be obsoleted in future.
601- ```
602-
603596### Calculation Symbols
604597
605598The following table provides details on the variables used in relocation
You can’t perform that action at this time.
0 commit comments