commit | f0403c601ad80068814bd9596a9c0c1b36b61da8 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Wed Oct 11 04:22:09 2017 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Wed Oct 11 04:22:09 2017 +0000 |
tree | 1a9abb01d1c2af94972806c407906e881c11ecba | |
parent | 2f4c121d891295d8f366fea4e70b02da81a923f3 [diff] [blame] |
Rename BytesDataCommand -> ByteCommand. llvm-svn: 315431
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 222aa9a..2f48ebe 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp
@@ -595,7 +595,7 @@ } // Handle BYTE(), SHORT(), LONG(), or QUAD(). - if (auto *Cmd = dyn_cast<BytesDataCommand>(Base)) { + if (auto *Cmd = dyn_cast<ByteCommand>(Base)) { Cmd->Offset = Dot - Ctx->OutSec->Addr; Dot += Cmd->Size; Ctx->OutSec->Size = Dot - Ctx->OutSec->Addr;