From 304bf11a2bb80f5e48850504c08b533e1866c931 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 29 Oct 2010 16:47:54 +0000 Subject: bfd: * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check Tag_ABI_compatibility not Tag_compatibility. (elf32_tic6x_merge_attributes): Update compatibility attribute name in comment. Return FALSE if merging common attributes fails. binutils: * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility not hardcoded 32. Display name of this attribute. gas: * doc/c-tic6x.texi (TIC6X Directives): Mention Tag_ABI_compatibility. gas/testsuite: * gas/tic6x/attr-compatibility-directive-1.d, gas/tic6x/attr-compatibility-directive-1.s, gas/tic6x/attr-compatibility-directive-2.d, gas/tic6x/attr-compatibility-directive-2.s: New tests. include/elf: * tic6x-attrs.h (Tag_ABI_compatibility): Define. ld/testsuite: * ld-tic6x/attr-compatibility-gnu-gnu.d, ld-tic6x/attr-compatibility-gnu-other.d, ld-tic6x/attr-compatibility-gnu.s, ld-tic6x/attr-compatibility-other-gnu.d, ld-tic6x/attr-compatibility-other-other.d, ld-tic6x/attr-compatibility-other.s: New tests. --- include/elf/ChangeLog | 4 ++++ include/elf/tic6x-attrs.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index a8e25fd5a..de57262e9 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2010-10-29 Joseph Myers + + * tic6x-attrs.h (Tag_ABI_compatibility): Define. + 2010-10-29 Bernd Schmidt Joseph Myers diff --git a/include/elf/tic6x-attrs.h b/include/elf/tic6x-attrs.h index f131cffd1..c8d8332d6 100644 --- a/include/elf/tic6x-attrs.h +++ b/include/elf/tic6x-attrs.h @@ -24,3 +24,4 @@ TAG(Tag_ISA, 4) TAG(Tag_ABI_DSBT, 12) +TAG(Tag_ABI_compatibility, 32) -- cgit v1.2.3