summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Shinwell <shinwell@codesourcery.com>2006-10-16 13:09:20 +0000
committerMark Shinwell <shinwell@codesourcery.com>2006-10-16 13:09:20 +0000
commit88d30c49fe5bf746304800154cd6994daba91da3 (patch)
treea5c0abc77d7149680546cde90412ec66fbb673b2 /include
parentdf35f83546c83f2830f373ea9f9464b936e440e0 (diff)
downloadcygnal-88d30c49fe5bf746304800154cd6994daba91da3.tar.gz
cygnal-88d30c49fe5bf746304800154cd6994daba91da3.tar.bz2
cygnal-88d30c49fe5bf746304800154cd6994daba91da3.zip
bfd/
* elf32-arm.c (using_thumb2): Use TAG_CPU_* constants. include/ * elf/arm.h: Define TAG_CPU_ARCH_* constants.
Diffstat (limited to 'include')
-rw-r--r--include/elf/arm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/elf/arm.h b/include/elf/arm.h
index 6b7297733..594556281 100644
--- a/include/elf/arm.h
+++ b/include/elf/arm.h
@@ -84,6 +84,19 @@
#define PF_ARM_PI 0x20000000 /* Segment is position-independent. */
#define PF_ARM_ABS 0x40000000 /* Segment must be loaded at its base address. */
+/* Values for the Tag_CPU_arch EABI attribute. */
+#define TAG_CPU_ARCH_PRE_V4 0
+#define TAG_CPU_ARCH_V4 1
+#define TAG_CPU_ARCH_V4T 2
+#define TAG_CPU_ARCH_V5T 3
+#define TAG_CPU_ARCH_V5TE 4
+#define TAG_CPU_ARCH_V5TEJ 5
+#define TAG_CPU_ARCH_V6 6
+#define TAG_CPU_ARCH_V6KZ 7
+#define TAG_CPU_ARCH_V6T2 8
+#define TAG_CPU_ARCH_V6K 9
+#define TAG_CPU_ARCH_V7 10
+
/* Relocation types. */
START_RELOC_NUMBERS (elf_arm_reloc_type)