diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-04-05 03:20:22 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-04-05 03:20:22 +0000 |
| commit | d379f7357d16d729a03f3d7d0873e9767549bf42 (patch) | |
| tree | a9502077bc5c6db0a02c099588f951546e474118 /lld/ELF/LinkerScript.cpp | |
| parent | cba41013ef6e6f27dcd32092fc0f79557ce124e4 (diff) | |
| download | bcm5719-llvm-d379f7357d16d729a03f3d7d0873e9767549bf42.tar.gz bcm5719-llvm-d379f7357d16d729a03f3d7d0873e9767549bf42.zip | |
Remove default arguments because they don't improve readability.
llvm-svn: 299504
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 02eb5d81d25..a4cb5de2e6a 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -644,7 +644,7 @@ void LinkerScript::assignOffsets(OutputSectionCommand *Cmd) { return; if (Cmd->AddrExpr && (Sec->Flags & SHF_ALLOC)) - setDot(Cmd->AddrExpr, Cmd->Location); + setDot(Cmd->AddrExpr, Cmd->Location, false); if (Cmd->LMAExpr) { uint64_t D = Dot; @@ -858,7 +858,7 @@ void LinkerScript::placeOrphanSections() { void LinkerScript::processNonSectionCommands() { for (const std::unique_ptr<BaseCommand> &Base : Opt.Commands) { if (auto *Cmd = dyn_cast<SymbolAssignment>(Base.get())) - assignSymbol(Cmd); + assignSymbol(Cmd, false); else if (auto *Cmd = dyn_cast<AssertCommand>(Base.get())) Cmd->Expression(); } @@ -872,7 +872,7 @@ void LinkerScript::assignAddresses(std::vector<PhdrEntry> &Phdrs) { for (const std::unique_ptr<BaseCommand> &Base : Opt.Commands) { if (auto *Cmd = dyn_cast<SymbolAssignment>(Base.get())) { - assignSymbol(Cmd); + assignSymbol(Cmd, false); continue; } |

