[ELF] Move ELF{32,64}{L,B}E typedefs to llvm.

llvm-svn: 240731
This commit is contained in:
Michael J. Spencer 2015-06-25 23:41:23 +00:00
parent deeaa31ce5
commit 7d313d72ef
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ template <endianness target_endianness, bool is64Bits> struct ELFType {
static const bool Is64Bits = is64Bits;
};
typedef ELFType<support::little, false> ELF32LE;
typedef ELFType<support::big, false> ELF32BE;
typedef ELFType<support::little, true> ELF64LE;
typedef ELFType<support::big, true> ELF64BE;
// Use an alignment of 2 for the typedefs since that is the worst case for
// ELF files in archives.