Browse Source

+ Add definitions for ELF header flags.

git-svn-id: trunk@26137 -
sergei 11 years ago
parent
commit
97a706c672
1 changed files with 10 additions and 0 deletions
  1. 10 0
      compiler/arm/cpuelf.pas

+ 10 - 0
compiler/arm/cpuelf.pas

@@ -168,6 +168,16 @@ implementation
 
 
     TCB_SIZE = 8;
     TCB_SIZE = 8;
 
 
+    { ELF header e_flags }
+    EF_ARM_BE8          = $00800000;
+    EF_ARM_EABIMASK     = $FF000000;
+    EF_ARM_EABI_UNKNOWN = $00000000;
+    EF_ARM_EABI_VER1    = $01000000;
+    EF_ARM_EABI_VER2    = $02000000;
+    EF_ARM_EABI_VER3    = $03000000;
+    EF_ARM_EABI_VER4    = $04000000;
+    EF_ARM_EABI_VER5    = $05000000;
+
   { Using short identifiers to save typing. This ARM thing has more relocations
   { Using short identifiers to save typing. This ARM thing has more relocations
     than it has instructions... }
     than it has instructions... }
   const
   const