summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-10-21 21:16:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2010-10-21 21:16:53 +0000
commit2e859e07599abd6bbd54c98d5c69e3b3cd41929e (patch)
treedcf4ec1c5c5101ca5dbb68847e0cbdc9a777a3b5
parent45ebecdaca98c0c8c6f45e762cd06d5f65901486 (diff)
downloadcygnal-2e859e07599abd6bbd54c98d5c69e3b3cd41929e.tar.gz
cygnal-2e859e07599abd6bbd54c98d5c69e3b3cd41929e.tar.bz2
cygnal-2e859e07599abd6bbd54c98d5c69e3b3cd41929e.zip
bfd:
* elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for attribute renaming. (elf_backend_obj_attrs_section): Change to ".c6xabi.attributes". binutils: * readelf.c (display_tic6x_attribute): Update for attribute renaming. gas: * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches, md_assemble, tic6x_set_attributes): Update for attribute renaming. * doc/c-tic6x.texi: Update for attribute renaming. gas/testsuite: * gas/tic6x/attr-arch-directive-1.d, gas/tic6x/attr-arch-directive-2.d, gas/tic6x/attr-arch-directive-3.d, gas/tic6x/attr-arch-directive-4.d, gas/tic6x/attr-arch-directive-4.s, gas/tic6x/attr-arch-directive-5.d, gas/tic6x/attr-arch-directive-5.s, gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d, gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d, gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d, gas/tic6x/attr-arch-opts-none-1.d, gas/tic6x/attr-arch-opts-none-2.d, gas/tic6x/attr-arch-opts-override-1.d, gas/tic6x/attr-arch-opts-override-2.d: Update for attribute renaming and renumbering. include/elf: * tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA, value 4. * tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for attribute renaming. ld: * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use .c6xabi.attributes, not __TI_build_attributes. ld/testsuite: * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d, ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d, ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d: Update for attribute renaming.
-rw-r--r--include/elf/ChangeLog7
-rw-r--r--include/elf/tic6x-attrs.h2
-rw-r--r--include/elf/tic6x.h18
3 files changed, 17 insertions, 10 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 61bbf81db..9738df7ce 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-21 Joseph Myers <joseph@codesourcery.com>
+
+ * tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA,
+ value 4.
+ * tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for
+ attribute renaming.
+
2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
Ina Pandit <ina.pandit@kpitcummins.com>
diff --git a/include/elf/tic6x-attrs.h b/include/elf/tic6x-attrs.h
index d5b8ee1ae..378350248 100644
--- a/include/elf/tic6x-attrs.h
+++ b/include/elf/tic6x-attrs.h
@@ -22,4 +22,4 @@
/* Define the TAG macro before including this file; it takes a tag
name and value. */
-TAG(Tag_C6XABI_Tag_CPU_arch, 2)
+TAG(Tag_ISA, 4)
diff --git a/include/elf/tic6x.h b/include/elf/tic6x.h
index a9b66ddf3..88000fa1a 100644
--- a/include/elf/tic6x.h
+++ b/include/elf/tic6x.h
@@ -134,17 +134,17 @@ enum
Tag_C6XABI_last
};
-/* Values for Tag_C6XABI_Tag_CPU_arch. GNU-specific names pending any
- ABI defining official names associated with the values. */
+/* Values for Tag_ISA. GNU-specific names; the ABI does not specify
+ names for these values. */
enum
{
- C6XABI_Tag_CPU_arch_none = 0,
- C6XABI_Tag_CPU_arch_C62X = 1,
- C6XABI_Tag_CPU_arch_C67X = 3,
- C6XABI_Tag_CPU_arch_C67XP = 4,
- C6XABI_Tag_CPU_arch_C64X = 6,
- C6XABI_Tag_CPU_arch_C64XP = 7,
- C6XABI_Tag_CPU_arch_C674X = 8
+ C6XABI_Tag_ISA_none = 0,
+ C6XABI_Tag_ISA_C62X = 1,
+ C6XABI_Tag_ISA_C67X = 3,
+ C6XABI_Tag_ISA_C67XP = 4,
+ C6XABI_Tag_ISA_C64X = 6,
+ C6XABI_Tag_ISA_C64XP = 7,
+ C6XABI_Tag_ISA_C674X = 8
};
#endif /* _ELF_TIC6X_H */