diff options
| author | Rui Ueyama <ruiu@google.com> | 2013-12-20 07:48:29 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2013-12-20 07:48:29 +0000 |
| commit | 170a1a892e687791b8bbba302ca29f5ff11c0b99 (patch) | |
| tree | 0b784f557368f24f3555bb6a6ce10127ca133c45 /lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp | |
| parent | 6e6c239e338c91e8d429882a2cb307fa67054ed4 (diff) | |
| download | bcm5719-llvm-170a1a892e687791b8bbba302ca29f5ff11c0b99.tar.gz bcm5719-llvm-170a1a892e687791b8bbba302ca29f5ff11c0b99.zip | |
Run clang-format on r197727.
llvm-svn: 197788
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp index cfa17b00f94..6edd214f0c5 100644 --- a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp @@ -108,8 +108,7 @@ public: class ELFPassFile : public SimpleFile { public: - ELFPassFile(const ELFLinkingContext &eti) - : SimpleFile("ELFPassFile") { + ELFPassFile(const ELFLinkingContext &eti) : SimpleFile("ELFPassFile") { setOrdinal(eti.getNextOrdinalAndIncrement()); } @@ -291,8 +290,8 @@ public: error_code handlePLT32(const Reference &ref) { // Turn this into a PC32 to the PLT entry. - assert(ref.kindNamespace() == Reference::KindNamespace::ELF); - assert(ref.kindArch() == Reference::KindArch::Hexagon); + assert(ref.kindNamespace() == Reference::KindNamespace::ELF); + assert(ref.kindArch() == Reference::KindArch::Hexagon); const_cast<Reference &>(ref).setKindValue(R_HEX_B22_PCREL); const_cast<Reference &>(ref).setTarget(getPLTEntry(ref.target())); return error_code::success(); @@ -307,9 +306,8 @@ void elf::HexagonLinkingContext::addPasses(PassManager &pm) { } void HexagonTargetHandler::registerRelocationNames(Registry ®istry) { - registry.addKindTable(Reference::KindNamespace::ELF, - Reference::KindArch::Hexagon, - kindStrings); + registry.addKindTable(Reference::KindNamespace::ELF, + Reference::KindArch::Hexagon, kindStrings); } const Registry::KindStrings HexagonTargetHandler::kindStrings[] = { @@ -407,4 +405,3 @@ const Registry::KindStrings HexagonTargetHandler::kindStrings[] = { LLD_KIND_STRING_ENTRY(R_HEX_TPREL_11_X), LLD_KIND_STRING_END }; - |

