This patch implements runtime ARM specific

setting of ELF header e_flags.

Contributer: Jack Carter
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jack Carter
2013-01-30 02:24:33 +00:00
parent dba14301f0
commit 97130e2b3d
5 changed files with 43 additions and 2 deletions

View File

@@ -495,7 +495,15 @@ enum {
};
// ARM Specific e_flags
enum { EF_ARM_EABIMASK = 0xFF000000U };
enum {
EF_ARM_EABI_UNKNOWN = 0x00000000U,
EF_ARM_EABI_VER1 = 0x01000000U,
EF_ARM_EABI_VER2 = 0x02000000U,
EF_ARM_EABI_VER3 = 0x03000000U,
EF_ARM_EABI_VER4 = 0x04000000U,
EF_ARM_EABI_VER5 = 0x05000000U,
EF_ARM_EABIMASK = 0xFF000000U
};
// ELF Relocation types for ARM
// Meets 2.08 ABI Specs.