diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-04-14 00:31:28 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-04-14 00:31:28 +0000 |
| commit | ad87e54f1a2ed2192794bd4aef50cbe8536416e2 (patch) | |
| tree | 80c792d73001ce78a9bbfb10bf137a14ec3b5e21 /lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | |
| parent | 47260c23cabac35a3819a67d3fb3a6cdb7545672 (diff) | |
| download | bcm5719-llvm-ad87e54f1a2ed2192794bd4aef50cbe8536416e2.tar.gz bcm5719-llvm-ad87e54f1a2ed2192794bd4aef50cbe8536416e2.zip | |
ELF: Define ELF{32,64}{LE,BE} types and use them everywhere.
llvm-svn: 234823
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp index 699285bc5b7..a31c9f1b708 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp @@ -617,16 +617,16 @@ namespace elf { template <> std::unique_ptr<TargetRelocationHandler> -createMipsRelocationHandler<Mips32ELType>(MipsLinkingContext &ctx, - MipsTargetLayout<Mips32ELType> &layout) { - return llvm::make_unique<RelocationHandler<Mips32ELType>>(ctx, layout); +createMipsRelocationHandler<ELF32LE>(MipsLinkingContext &ctx, + MipsTargetLayout<ELF32LE> &layout) { + return llvm::make_unique<RelocationHandler<ELF32LE>>(ctx, layout); } template <> std::unique_ptr<TargetRelocationHandler> -createMipsRelocationHandler<Mips64ELType>(MipsLinkingContext &ctx, - MipsTargetLayout<Mips64ELType> &layout) { - return llvm::make_unique<RelocationHandler<Mips64ELType>>(ctx, layout); +createMipsRelocationHandler<ELF64LE>(MipsLinkingContext &ctx, + MipsTargetLayout<ELF64LE> &layout) { + return llvm::make_unique<RelocationHandler<ELF64LE>>(ctx, layout); } Reference::Addend readMipsRelocAddend(Reference::KindValue kind, |

