diff --git a/tools/llvm-rtdyld/llvm-rtdyld.cpp b/tools/llvm-rtdyld/llvm-rtdyld.cpp index 5cea4658363..f0c365dd481 100644 --- a/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -433,6 +433,9 @@ static int linkAndVerify() { } } + // Re-map the section addresses into the phony target address space. + remapSections(TheTriple, MemMgr, Dyld); + // Resolve all the relocations we can. Dyld.resolveRelocations();