From d1ceba03338e5be36cf41a27a35c578fb983c4fb Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Thu, 25 Jun 2015 23:41:23 +0000 Subject: [PATCH] [ELF] Move ELF{32,64}{L,B}E typedefs to llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240731 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELFTypes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/llvm/Object/ELFTypes.h b/include/llvm/Object/ELFTypes.h index ea54cac36d1..8a648e50988 100644 --- a/include/llvm/Object/ELFTypes.h +++ b/include/llvm/Object/ELFTypes.h @@ -24,6 +24,11 @@ template struct ELFType { static const bool Is64Bits = is64Bits; }; +typedef ELFType ELF32LE; +typedef ELFType ELF32BE; +typedef ELFType ELF64LE; +typedef ELFType ELF64BE; + // Use an alignment of 2 for the typedefs since that is the worst case for // ELF files in archives. -- 2.34.1