From 75fa6dc1e84d6a0286b47adf8cc7aec06b3ffed7 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 21 Oct 2010 21:16:54 +0000 Subject: 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. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index de3d3e9..bde0e31 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-10-21 Joseph Myers + + * readelf.c (display_tic6x_attribute): Update for attribute + renaming. + 2010-10-08 H.J. Lu * dwarf.c (byte_get_signed): Make it extern. diff --git a/binutils/readelf.c b/binutils/readelf.c index 1f50ae5..e516966 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -10770,32 +10770,32 @@ display_tic6x_attribute (unsigned char * p) switch (tag) { - case Tag_C6XABI_Tag_CPU_arch: + case Tag_ISA: val = read_uleb128 (p, &len); p += len; - printf (" Tag_C6XABI_Tag_CPU_arch: "); + printf (" Tag_ISA: "); switch (val) { - case C6XABI_Tag_CPU_arch_none: + case C6XABI_Tag_ISA_none: printf (_("None\n")); break; - case C6XABI_Tag_CPU_arch_C62X: + case C6XABI_Tag_ISA_C62X: printf ("C62x\n"); break; - case C6XABI_Tag_CPU_arch_C67X: + case C6XABI_Tag_ISA_C67X: printf ("C67x\n"); break; - case C6XABI_Tag_CPU_arch_C67XP: + case C6XABI_Tag_ISA_C67XP: printf ("C67x+\n"); break; - case C6XABI_Tag_CPU_arch_C64X: + case C6XABI_Tag_ISA_C64X: printf ("C64x\n"); break; - case C6XABI_Tag_CPU_arch_C64XP: + case C6XABI_Tag_ISA_C64XP: printf ("C64x+\n"); break; - case C6XABI_Tag_CPU_arch_C674X: + case C6XABI_Tag_ISA_C674X: printf ("C674x\n"); break; default: -- cgit v1.1