summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-10-29 16:47:54 +0000
committerJoseph Myers <joseph@codesourcery.com>2010-10-29 16:47:54 +0000
commit304bf11a2bb80f5e48850504c08b533e1866c931 (patch)
tree2f719cf0a471c0738272470775db9297cf943d58
parentf7c60137b86741a3f469caa33f5b9a1a021de808 (diff)
downloadcygnal-304bf11a2bb80f5e48850504c08b533e1866c931.tar.gz
cygnal-304bf11a2bb80f5e48850504c08b533e1866c931.tar.bz2
cygnal-304bf11a2bb80f5e48850504c08b533e1866c931.zip
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.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/tic6x-attrs.h1
2 files changed, 5 insertions, 0 deletions
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 <joseph@codesourcery.com>
+
+ * tic6x-attrs.h (Tag_ABI_compatibility): Define.
+
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
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)