X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FARM%2FARMBuildAttrs.h;h=8c54298ceb421af13be52d062f065941e5328da4;hb=17b443df4368acfad853d09858c033c45c468d5c;hp=405b61122088b5dedebdff1d754530530897129c;hpb=d3d2ddc78ea901a5b11123374f50523ea86428cb;p=oota-llvm.git diff --git a/lib/Target/ARM/ARMBuildAttrs.h b/lib/Target/ARM/ARMBuildAttrs.h index 405b6112208..8c54298ceb4 100644 --- a/lib/Target/ARM/ARMBuildAttrs.h +++ b/lib/Target/ARM/ARMBuildAttrs.h @@ -16,7 +16,14 @@ #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__