diff options
| author | Shankar Easwaran <shankare@codeaurora.org> | 2014-01-27 01:02:03 +0000 |
|---|---|---|
| committer | Shankar Easwaran <shankare@codeaurora.org> | 2014-01-27 01:02:03 +0000 |
| commit | e7b831ad354c74ef9fb12b8501e4c5de676a2bc6 (patch) | |
| tree | dd5307b45131ff4c4f907f7ec3417f80208e6ee6 /lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp | |
| parent | 51577b66ce478fafc3cbd7614255742ceff65237 (diff) | |
| download | bcm5719-llvm-e7b831ad354c74ef9fb12b8501e4c5de676a2bc6.tar.gz bcm5719-llvm-e7b831ad354c74ef9fb12b8501e4c5de676a2bc6.zip | |
[ELF] Add Target specific Readers.
No change in functionality.
llvm-svn: 200175
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp index 9f539a8da87..ceab5d3c031 100644 --- a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp +++ b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp @@ -9,6 +9,7 @@ #include "Atoms.h" #include "HexagonLinkingContext.h" +#include "HexagonTargetHandler.h" #include "lld/Core/File.h" #include "lld/Core/Pass.h" @@ -101,3 +102,7 @@ void elf::HexagonLinkingContext::createInternalFiles( initFiniFile->addFiniFunction(ai); result.push_back(std::move(initFiniFile)); } + +HexagonLinkingContext::HexagonLinkingContext(llvm::Triple triple) + : ELFLinkingContext(triple, std::unique_ptr<TargetHandlerBase>( + new HexagonTargetHandler(*this))) {} |

