aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
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/ltoff22x-1.d10
-rw-r--r--gas/testsuite/gas/ia64/ltoff22x-1.s4
4 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d28d961..61ad4c2 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-05 Richard Henderson <rth@redhat.com>
+
+ * gas/ia64/ltoff22x-1.[ds]: New.
+ * gas/ia64/ia64.exp: Run it.
+
2002-12-05 Jim Wilson <wilson@redhat.com>
* gas/ia64/opc-x.d: Regenerate.
diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp
index 6c44468..3a672a7 100644
--- a/gas/testsuite/gas/ia64/ia64.exp
+++ b/gas/testsuite/gas/ia64/ia64.exp
@@ -38,4 +38,5 @@ if [istarget "ia64-*"] then {
run_dump_test "tls"
run_dump_test "ldxmov-1"
run_list_test "ldxmov-2" ""
+ run_dump_test "ltoff22x-1"
}
diff --git a/gas/testsuite/gas/ia64/ltoff22x-1.d b/gas/testsuite/gas/ia64/ltoff22x-1.d
new file mode 100644
index 0000000..6eef416
--- /dev/null
+++ b/gas/testsuite/gas/ia64/ltoff22x-1.d
@@ -0,0 +1,10 @@
+# objdump: -r
+# name: ia64 ltoff22x-1
+
+.*: +file format .*
+
+RELOCATION RECORDS FOR \[\.text\]:
+OFFSET TYPE VALUE
+0000000000000000 LTOFF22X foo
+
+
diff --git a/gas/testsuite/gas/ia64/ltoff22x-1.s b/gas/testsuite/gas/ia64/ltoff22x-1.s
new file mode 100644
index 0000000..d7be940
--- /dev/null
+++ b/gas/testsuite/gas/ia64/ltoff22x-1.s
@@ -0,0 +1,4 @@
+ .text
+ addl r3 = @ltoffx(foo#), gp
+ nop.i 0
+ nop.i 0