Skip to content

Commit fadcfe7

Browse files
committed
fix some comments in #79239
Created using spr 1.3.5-bogner
1 parent ea31070 commit fadcfe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/ELF/Relocations.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,8 +1399,8 @@ static unsigned handleTlsRelocation(RelType type, Symbol &sym,
13991399
// depending on the symbol being locally defined or not.
14001400
//
14011401
// R_RISCV_TLSDESC_{LOAD_LO12,ADD_LO12_I,CALL} reference a non-preemptible
1402-
// label, so the LE optimization will be categorized as
1403-
// R_RELAX_TLS_GD_TO_LE. We fix the categorization in RISCV::relocateAlloc.
1402+
// label, so TLSDESC=>IE will be categorized as R_RELAX_TLS_GD_TO_LE. We fix
1403+
// the categorization in RISCV::relocateAlloc.
14041404
if (sym.isPreemptible) {
14051405
sym.setFlags(NEEDS_TLSGD_TO_IE);
14061406
c.addReloc({target->adjustTlsExpr(type, R_RELAX_TLS_GD_TO_IE), type,

0 commit comments

Comments
 (0)