@@ -453,12 +453,13 @@ void MarkLive<ELFT, TrackWhyLive>::mark() {
453
453
resolveReloc (sec, rel, false );
454
454
455
455
for (InputSectionBase *isec : sec.dependentSections )
456
- enqueue (isec, /* offset=*/ 0 , /* sym=*/ nullptr , {&sec, " dependent section" });
456
+ enqueue (isec, /* offset=*/ 0 , /* sym=*/ nullptr ,
457
+ {&sec, " depended on by section" });
457
458
458
459
// Mark the next group member.
459
460
if (sec.nextInSectionGroup )
460
461
enqueue (sec.nextInSectionGroup , /* offset=*/ 0 , /* sym=*/ nullptr ,
461
- {&sec, " next in section group" });
462
+ {&sec, " in section group with " });
462
463
}
463
464
}
464
465
@@ -478,7 +479,7 @@ void MarkLive<ELFT, TrackWhyLive>::moveToMain() {
478
479
if (auto *d = dyn_cast<Defined>(s))
479
480
if ((d->type == STT_GNU_IFUNC || d->type == STT_TLS) && d->section &&
480
481
d->section ->isLive ())
481
- markSymbol (s, {});
482
+ markSymbol (s, /* reason= */ {});
482
483
483
484
for (InputSectionBase *sec : ctx.inputSections ) {
484
485
if (!sec->isLive () || !isValidCIdentifier (sec->name ))
0 commit comments