summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/reloclab.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/reloclab.d')
-rw-r--r--gas/testsuite/gas/mmix/reloclab.d43
1 files changed, 43 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/reloclab.d b/gas/testsuite/gas/mmix/reloclab.d
new file mode 100644
index 0000000000..a9c72f0689
--- /dev/null
+++ b/gas/testsuite/gas/mmix/reloclab.d
@@ -0,0 +1,43 @@
+#objdump: -dr
+#as: -x
+
+.*: file format elf64-mmix
+
+Disassembly of section \.text:
+
+0000000000000000 <Main>:
+ 0: f0000000 jmp 0 <Main>
+ 0: R_MMIX_JMP foo\+0x8
+ 4: fd000000 swym 0,0,0
+ 8: fd000000 swym 0,0,0
+ c: fd000000 swym 0,0,0
+ 10: fd000000 swym 0,0,0
+ 14: f0000004 jmp 24 <here>
+ 18: f4080003 geta \$8,24 <here>
+ 1c: 46630002 bod \$99,24 <here>
+ 20: fd000000 swym 0,0,0
+
+0000000000000024 <here>:
+ 24: 42de0000 bz \$222,24 <here>
+ 24: R_MMIX_CBRANCH bar\+0x10
+ 28: fd000000 swym 0,0,0
+ 2c: fd000000 swym 0,0,0
+ 30: fd000000 swym 0,0,0
+ 34: fd000000 swym 0,0,0
+ 38: fd000000 swym 0,0,0
+
+000000000000003c <there>:
+ 3c: f4040000 geta \$4,3c <there>
+ 3c: R_MMIX_GETA baz
+ 40: fd000000 swym 0,0,0
+ 44: fd000000 swym 0,0,0
+ 48: fd000000 swym 0,0,0
+ 4c: f2070000 pushj \$7,4c <there\+0x10>
+ 4c: R_MMIX_PUSHJ foobar
+ 50: fd000000 swym 0,0,0
+ 54: fd000000 swym 0,0,0
+ 58: fd000000 swym 0,0,0
+ 5c: fd000000 swym 0,0,0
+ 60: f1fffff7 jmp 3c <there>
+ 64: f558fff6 geta \$88,3c <there>
+ 68: 476ffff5 bod \$111,3c <there>