diff options
Diffstat (limited to 'ELF/MarkLive.cpp')
-rw-r--r-- | ELF/MarkLive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/MarkLive.cpp b/ELF/MarkLive.cpp index 0b4a78f8da6b..bde3eefc6d5f 100644 --- a/ELF/MarkLive.cpp +++ b/ELF/MarkLive.cpp @@ -78,7 +78,7 @@ static void resolveReloc(InputSectionBase &Sec, RelT &Rel, typename ELFT::uint Offset = D->Value; if (D->isSection()) Offset += getAddend<ELFT>(Sec, Rel); - Fn({cast<InputSectionBase>(D->Section)->Repl, Offset}); + Fn({cast<InputSectionBase>(D->Section), Offset}); } else if (auto *U = dyn_cast<Undefined>(&B)) { for (InputSectionBase *Sec : CNamedSections.lookup(U->getName())) Fn({Sec, 0}); |