summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-04-14 00:31:28 +0000
committerRui Ueyama <ruiu@google.com>2015-04-14 00:31:28 +0000
commitad87e54f1a2ed2192794bd4aef50cbe8536416e2 (patch)
tree80c792d73001ce78a9bbfb10bf137a14ec3b5e21 /lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
parent47260c23cabac35a3819a67d3fb3a6cdb7545672 (diff)
downloadbcm5719-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/Hexagon/HexagonExecutableAtoms.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
index 42fbdd6936d..2dc32fa0417 100644
--- a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
+++ b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
@@ -16,12 +16,10 @@ namespace lld {
class ELFLinkingContext;
namespace elf {
-typedef llvm::object::ELFType<llvm::support::little, 2, false> ELFT;
-
-class HexagonRuntimeFile : public RuntimeFile<ELFT> {
+class HexagonRuntimeFile : public RuntimeFile<ELF32LE> {
public:
HexagonRuntimeFile(ELFLinkingContext &ctx)
- : RuntimeFile<ELFT>(ctx, "Hexagon runtime file") {}
+ : RuntimeFile<ELF32LE>(ctx, "Hexagon runtime file") {}
};
} // elf
} // lld
OpenPOWER on IntegriCloud