We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf802a commit bb7bd3eCopy full SHA for bb7bd3e
lld/ELF/LinkerScript.cpp
@@ -463,8 +463,7 @@ void LinkerScript::fabricateDefaultCommands() {
463
// Prefer user supplied address over additional alignment constraint
464
auto I = Config->SectionStartMap.find(Sec->Name);
465
if (I != Config->SectionStartMap.end())
466
- Commands.push_back(
467
- make<SymbolAssignment>(".", [=] { return I->second; }, ""));
+ OSCmd->AddrExpr = [=] { return I->second; };
468
else if (Sec->PageAlign)
469
OSCmd->AddrExpr = [=] {
470
return alignTo(Script->getDot(), Config->MaxPageSize);
0 commit comments