diff options
Diffstat (limited to 'lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h')
| -rw-r--r-- | lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h b/lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h index ebd91fe0a95b..25a173158318 100644 --- a/lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h +++ b/lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h @@ -24,10 +24,11 @@ enum { class AArch64LinkingContext final : public ELFLinkingContext { public: - static std::unique_ptr<ELFLinkingContext> create(llvm::Triple); + int getMachineType() const override { return llvm::ELF::EM_AARCH64; } AArch64LinkingContext(llvm::Triple); void addPasses(PassManager &) override; + void registerRelocationNames(Registry &r) override; uint64_t getBaseAddress() const override { if (_baseAddress == 0) @@ -88,6 +89,11 @@ public: return false; } } + + /// \brief The path to the dynamic interpreter + StringRef getDefaultInterpreter() const override { + return "/lib/ld-linux-aarch64.so.1"; + } }; } // end namespace elf } // end namespace lld |
