You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
entry=reader.ResolveLink(entry.Section,$"Invalid link section index {entry.SpecialIndex} for symbol table entry [{i}] from symbol table section [{this}]");
76
-
_entries[i]=entry;
71
+
varresolvedLink=reader.ResolveLink(newElfSectionLink(entry),$"Invalid link section index {entry} for symbol table entry [{i}] from symbol table section [{this}]");
77
72
78
73
// Update the link in symbol table
79
74
varsymbolTableEntry=symbolTable.Entries[i];
80
-
symbolTableEntry.Section=entry.Section;
75
+
symbolTableEntry.Section=resolvedLink;
81
76
symbolTable.Entries[i]=symbolTableEntry;
82
77
}
83
78
}
@@ -92,21 +87,41 @@ public override void Verify(DiagnosticBag diagnostics)
diagnostics.Error(DiagnosticId.ELF_ERR_InvalidSymbolEntrySectionParent,$"Invalid section for the symbol entry #{i} in the {nameof(ElfSymbolTable)} section [{Index}]");
0 commit comments