aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-02-02 07:37:36 +0000
committerJan Beulich <jbeulich@novell.com>2005-02-02 07:37:36 +0000
commit05ee4b0f76c769a4a385a5ef636fcca7227d5081 (patch)
treefa867a53565f37e2747104d6d8515a24729909bc /gas/testsuite
parentec13b3bb1f3ba22763e9ea1b0b1cecd1dbc74652 (diff)
downloadgdb-05ee4b0f76c769a4a385a5ef636fcca7227d5081.zip
gdb-05ee4b0f76c769a4a385a5ef636fcca7227d5081.tar.gz
gdb-05ee4b0f76c769a4a385a5ef636fcca7227d5081.tar.bz2
gas/
2005-02-02 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed designators along with quoted ones. Free copy of quoted designator when done. gas/testsuite/ 2005-02-02 Jan Beulich <jbeulich@novell.com> * gas/ia64/pred-rel.s: New. * gas/ia64/ia64.exp: Run new test.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/ia64/ia64.exp1
-rw-r--r--gas/testsuite/gas/ia64/pred-rel.s21
3 files changed, 27 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index a9754d3..b72178a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-02 Jan Beulich <jbeulich@novell.com>
+
+ * gas/ia64/pred-rel.s: New.
+ * gas/ia64/ia64.exp: Run new test.
+
2005-01-31 Daniel Jacobowitz <dan@codesourcery.com>
* gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian.
diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp
index 89c5d20..d36f92f 100644
--- a/gas/testsuite/gas/ia64/ia64.exp
+++ b/gas/testsuite/gas/ia64/ia64.exp
@@ -37,6 +37,7 @@ if [istarget "ia64-*"] then {
run_dump_test "dv-branch"
run_dump_test "dv-imply"
run_dump_test "dv-mutex"
+ gas_test "pred-rel.s" "" "" ".pred.rel alternative forms"
run_dump_test "dv-safe"
run_dump_test "dv-srlz"
run_dump_test "tls"
diff --git a/gas/testsuite/gas/ia64/pred-rel.s b/gas/testsuite/gas/ia64/pred-rel.s
new file mode 100644
index 0000000..1316921
--- /dev/null
+++ b/gas/testsuite/gas/ia64/pred-rel.s
@@ -0,0 +1,21 @@
+// Make sure all forms of .pred.rel are accepted
+_start:
+ .pred.rel "mutex", p1, p2
+ .pred.rel "imply", p2, p3
+ .pred.rel "clear", p1, p2, p3
+
+ .pred.rel "mutex" p1, p2
+ .pred.rel "imply" p2, p3
+ .pred.rel "clear" p1, p2, p3
+
+ .pred.rel.mutex p1, p2
+ .pred.rel.imply p2, p3
+ .pred.rel.clear p1, p2, p3
+
+ .pred.rel @mutex, p1, p2
+ .pred.rel @imply, p2, p3
+ .pred.rel @clear, p1, p2, p3
+
+ .pred.rel @mutex p1, p2
+ .pred.rel @imply p2, p3
+ .pred.rel @clear p1, p2, p3