File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1684,8 +1684,8 @@ Condition::
16841684Relaxation::
16851685
16861686- Instruction associated with `R_RISCV_TLSDESC_HI20` or `R_RISCV_TLSDESC_LOAD_LO12_I` can be removed.
1687- - Instruction associated with `R_RISCV_TLSDESC_ADD_LO12_I` can be replaced with load of the high PC-relative offset of the symbol's GOT entry .
1688- - Instruction associated with `R_RISCV_TLSDESC_CALL` can be replaced with load of the low PC-relative offset of the symbol's GOT entry .
1687+ - Instruction associated with `R_RISCV_TLSDESC_ADD_LO12_I` can be replaced with load of the high half of the symbol's GOT address .
1688+ - Instruction associated with `R_RISCV_TLSDESC_CALL` can be replaced with load of the low half of the symbol's GOT address .
16891689Example::
16901690+
16911691--
@@ -1704,7 +1704,7 @@ Relaxation result:
17041704
17051705[,asm]
17061706----
1707- lui a0, <pcrel-got-offset-for-symbol-hi>
1707+ auipc a0, <pcrel-got-offset-for-symbol-hi>
17081708 {ld,lw} a0, <pcrel-got-offset-for-symbol-lo>(a0)
17091709----
17101710--
You can’t perform that action at this time.
0 commit comments