summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/greg4.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/greg4.d')
-rw-r--r--gas/testsuite/gas/mmix/greg4.d29
1 files changed, 29 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/greg4.d b/gas/testsuite/gas/mmix/greg4.d
new file mode 100644
index 0000000000..77dd86a315
--- /dev/null
+++ b/gas/testsuite/gas/mmix/greg4.d
@@ -0,0 +1,29 @@
+#objdump: -str
+
+# Branches can have base-plus-offset operands too.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+0+ l d \.text 0+
+0+ l d \.data 0+
+0+ l d \.bss 0+
+0+4 l \.text 0+ x
+0+ l d \.MMIX\.reg_contents 0+
+
+
+RELOCATION RECORDS FOR \[\.text\]:
+OFFSET TYPE VALUE
+0+a R_MMIX_REG \.MMIX\.reg_contents
+
+
+RELOCATION RECORDS FOR \[\.MMIX\.reg_contents\]:
+OFFSET TYPE VALUE
+0+ R_MMIX_64 \.text
+
+
+Contents of section \.text:
+ 0000 fd000000 fd000001 9f000004 .*
+Contents of section \.data:
+Contents of section \.MMIX\.reg_contents:
+ 0000 00000000 00000000 .*