projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Second set of ARM/MC/ELF changes.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMBuildAttrs.h
diff --git
a/lib/Target/ARM/ARMBuildAttrs.h
b/lib/Target/ARM/ARMBuildAttrs.h
index 405b61122088b5dedebdff1d754530530897129c..8c54298ceb421af13be52d062f065941e5328da4 100644
(file)
--- a/
lib/Target/ARM/ARMBuildAttrs.h
+++ b/
lib/Target/ARM/ARMBuildAttrs.h
@@
-16,7
+16,14
@@
#define __TARGET_ARMBUILDATTRS_H__
namespace ARMBuildAttrs {
#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 {
enum AttrType {
+ // Rest correspond to ELF/.ARM.attributes
File = 1,
Section = 2,
Symbol = 3,
File = 1,
Section = 2,
Symbol = 3,
@@
-59,6
+66,11
@@
namespace ARMBuildAttrs {
Virtualization_use = 68,
MPextension_use = 70
};
Virtualization_use = 68,
MPextension_use = 70
};
+
+ // Magic numbers for .ARM.attributes
+ enum AttrMagic {
+ Format_Version = 0x41
+ };
}
#endif // __TARGET_ARMBUILDATTRS_H__
}
#endif // __TARGET_ARMBUILDATTRS_H__