diff options
author | Mark Shinwell <shinwell@codesourcery.com> | 2006-10-16 17:09:20 +0400 |
---|---|---|
committer | Mark Shinwell <shinwell@codesourcery.com> | 2006-10-16 17:09:20 +0400 |
commit | 88d30c49fe5bf746304800154cd6994daba91da3 (patch) | |
tree | a5c0abc77d7149680546cde90412ec66fbb673b2 | |
parent | df35f83546c83f2830f373ea9f9464b936e440e0 (diff) |
bfd/
* elf32-arm.c (using_thumb2): Use TAG_CPU_* constants.
include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.
-rw-r--r-- | ChangeLog.csl | 8 | ||||
-rw-r--r-- | include/elf/arm.h | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 561a5d7e1..2781bd4bf 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,11 @@ +2006-10-16 Mark Shinwell <shinwell@codesourcery.com> + + bfd/ + * elf32-arm.c (using_thumb2): Use TAG_CPU_* constants. + + include/ + * elf/arm.h: Define TAG_CPU_ARCH_* constants. + 2006-10-13 Nathan Sidwell <nathan@codesourcery.com> gas/ 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) |