diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-10-29 00:15:59 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2010-10-29 00:15:59 +0000 |
commit | b55936237013f0250bf301a57ae4849b786198bf (patch) | |
tree | 4dc536ebbb5b72224ab756cd174c72d5bb83044b /gas/testsuite | |
parent | b2ee48aae63b41c815f428803815942a49ad0dbf (diff) | |
download | gdb-b55936237013f0250bf301a57ae4849b786198bf.zip gdb-b55936237013f0250bf301a57ae4849b786198bf.tar.gz gdb-b55936237013f0250bf301a57ae4849b786198bf.tar.bz2 |
bfd:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
of DSBT attributes.
binutils:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
gas:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
values.
(md_longopts): Add mdsbt and mno-dsbt.
(tic6x_dsbt): New static variable.
(md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
(md_show_usage): Output help text for -mdsbt and -mno-dsbt.
(TAG): Add comma at the end.
(tic6x_set_attributes): Set Tag_ABI_DSBT.
* doc/as.texinfo: Document -mdsbt and -mno-dsbt.
* doc/c-tic6x.texi (TIC6X Options): Likewise.
(TIC6X Directives): Mention Tag_ABI_DSBT.
gas/testsuite:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* gas/tic6x/attr-dsbt-directive-1.d,
gas/tic6x/attr-dsbt-directive-1.s,
gas/tic6x/attr-dsbt-directive-2.d,
gas/tic6x/attr-dsbt-directive-2.s,
gas/tic6x/attr-dsbt-opts-mdsbt.d,
gas/tic6x/attr-dsbt-opts-mno-dsbt.d: New tests.
include/elf:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* tic6x-attrs.h (Tag_ABI_DSBT): New.
ld/testsuite:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d,
ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s,
ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-directive-1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-directive-1.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-directive-2.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-directive-2.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-opts-mdsbt.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/attr-dsbt-opts-mno-dsbt.d | 8 |
7 files changed, 47 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9e12d93..0a51584 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2010-10-29 Bernd Schmidt <bernds@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * gas/tic6x/attr-dsbt-directive-1.d, + gas/tic6x/attr-dsbt-directive-1.s, + gas/tic6x/attr-dsbt-directive-2.d, + gas/tic6x/attr-dsbt-directive-2.s, + gas/tic6x/attr-dsbt-opts-mdsbt.d, + gas/tic6x/attr-dsbt-opts-mno-dsbt.d: New tests. + 2010-10-28 Thomas Schwinge <thomas@schwinge.name> * gas/iq2000/load-hazards.exp: Sort all filename globs. diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.d b/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.d new file mode 100644 index 0000000..bee901f --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.d @@ -0,0 +1,9 @@ +#readelf: -A +#name: C6X DSBT attribute, directives 1 +#as: +#source: attr-dsbt-directive-1.s + +Attribute Section: c6xabi +File Attributes + Tag_ISA: C674x + Tag_ABI_DSBT: DSBT addressing used diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.s b/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.s new file mode 100644 index 0000000..97d952b --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-directive-1.s @@ -0,0 +1 @@ + .c6xabi_attribute Tag_ABI_DSBT, 1 diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.d b/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.d new file mode 100644 index 0000000..bee901f --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.d @@ -0,0 +1,9 @@ +#readelf: -A +#name: C6X DSBT attribute, directives 1 +#as: +#source: attr-dsbt-directive-1.s + +Attribute Section: c6xabi +File Attributes + Tag_ISA: C674x + Tag_ABI_DSBT: DSBT addressing used diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.s b/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.s new file mode 100644 index 0000000..3818f12 --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-directive-2.s @@ -0,0 +1 @@ + .c6xabi_attribute 12, 1 diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-opts-mdsbt.d b/gas/testsuite/gas/tic6x/attr-dsbt-opts-mdsbt.d new file mode 100644 index 0000000..4e66f4a --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-opts-mdsbt.d @@ -0,0 +1,9 @@ +#readelf: -A +#name: C6X DSBT attribute, -mdsbt +#as: -mdsbt +#source: dummy.s + +Attribute Section: c6xabi +File Attributes + Tag_ISA: C674x + Tag_ABI_DSBT: DSBT addressing used diff --git a/gas/testsuite/gas/tic6x/attr-dsbt-opts-mno-dsbt.d b/gas/testsuite/gas/tic6x/attr-dsbt-opts-mno-dsbt.d new file mode 100644 index 0000000..84f4c40 --- /dev/null +++ b/gas/testsuite/gas/tic6x/attr-dsbt-opts-mno-dsbt.d @@ -0,0 +1,8 @@ +#readelf: -A +#name: C6X DSBT attribute, -mno-dsbt +#as: -mdsbt -mno-dsbt +#source: dummy.s + +Attribute Section: c6xabi +File Attributes + Tag_ISA: C674x |