diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-10-29 16:47:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2010-10-29 16:47:55 +0000 |
commit | 3cbd1c0665a545ae6627ed4242c2939cd98f390d (patch) | |
tree | 8b65cc9767ceab99b97281ed03f75f1fb2cf1df0 /ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d | |
parent | 29d4a7cacd9464cd0dc6f7789385b6e713527196 (diff) | |
download | gdb-3cbd1c0665a545ae6627ed4242c2939cd98f390d.zip gdb-3cbd1c0665a545ae6627ed4242c2939cd98f390d.tar.gz gdb-3cbd1c0665a545ae6627ed4242c2939cd98f390d.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d')
-rw-r--r-- | ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d b/ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d new file mode 100644 index 0000000..4cba64e --- /dev/null +++ b/ld/testsuite/ld-tic6x/attr-compatibility-gnu-gnu.d @@ -0,0 +1,11 @@ +#name: C6X compatibility attribute merging, gnu gnu +#as: -mlittle-endian +#ld: -r -melf32_tic6x_le +#source: attr-compatibility-gnu.s +#source: attr-compatibility-gnu.s +#readelf: -A + +Attribute Section: c6xabi +File Attributes + Tag_ISA: C674x + Tag_ABI_compatibility: flag = 1, vendor = gnu |