Second set of ARM/MC/ELF changes.
[oota-llvm.git] / lib / Target / ARM / ARMBuildAttrs.h
index 405b61122088b5dedebdff1d754530530897129c..8c54298ceb421af13be52d062f065941e5328da4 100644 (file)
 #define __TARGET_ARMBUILDATTRS_H__
 
 namespace ARMBuildAttrs {
+  enum SpecialAttr {
+    // This is for the .cpu asm attr. It translates into one or more
+    // AttrType (below) entries in the .ARM.attributes section in the ELF.
+    SEL_CPU 
+  };
+
   enum AttrType {
+    // Rest correspond to ELF/.ARM.attributes
     File                      = 1,
     Section                   = 2,
     Symbol                    = 3,
@@ -59,6 +66,11 @@ namespace ARMBuildAttrs {
     Virtualization_use        = 68,
     MPextension_use           = 70
   };
+
+  // Magic numbers for .ARM.attributes
+  enum AttrMagic {
+    Format_Version  = 0x41
+  };
 }
 
 #endif // __TARGET_ARMBUILDATTRS_H__