[lld] [ELF] Fix unnecessary inclusion of unreferenced provide symbols (PR #84512)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 24 23:45:41 PDT 2024
================
@@ -1518,3 +1513,50 @@ void LinkerScript::checkFinalScriptConditions() const {
checkMemoryRegion(lmaRegion, sec, sec->getLMA());
}
}
+
+// Add symbols referred by the provide symbol to the symbol table.
----------------
MaskRay wrote:
s/provide/PROVIDE/
https://github.com/llvm/llvm-project/pull/84512
More information about the llvm-commits
mailing list