[Mips] Add new Mips specific e_flags.
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 30 Oct 2014 14:56:02 +0000 (14:56 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 30 Oct 2014 14:56:02 +0000 (14:56 +0000)
No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220910 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ELF.h

index a51a05135299a8c78daff489533a6cd5edc2d27e..4c0b36736529c0b0825b76fca597310889ca8fb8 100644 (file)
@@ -876,7 +876,13 @@ enum : unsigned {
   EF_MIPS_ABI2      = 0x00000020,
   EF_MIPS_32BITMODE = 0x00000100,
   EF_MIPS_NAN2008   = 0x00000400, // Uses IEE 754-2008 NaN encoding
+
+  // ABI flags
   EF_MIPS_ABI_O32   = 0x00001000, // This file follows the first MIPS 32 bit ABI
+  EF_MIPS_ABI_O64    = 0x00002000, // O32 ABI extended for 64-bit architecture.
+  EF_MIPS_ABI_EABI32 = 0x00003000, // EABI in 32 bit mode.
+  EF_MIPS_ABI_EABI64 = 0x00004000, // EABI in 64 bit mode.
+  EF_MIPS_ABI        = 0x0000f000, // Mask for selecting EF_MIPS_ABI_ variant.
 
   //ARCH_ASE
   EF_MIPS_MICROMIPS = 0x02000000, // microMIPS