summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/reloc16.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/reloc16.d')
-rw-r--r--gas/testsuite/gas/mmix/reloc16.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/reloc16.d b/gas/testsuite/gas/mmix/reloc16.d
new file mode 100644
index 0000000000..7b5cc84bfb
--- /dev/null
+++ b/gas/testsuite/gas/mmix/reloc16.d
@@ -0,0 +1,12 @@
+# objdump: -dr
+.*: file format elf64-mmix
+
+Disassembly of section \.text:
+
+0000000000000000 <Main>:
+ 0: e3040000 setl \$4,0x0
+ 2: R_MMIX_16 foo
+ 4: f82d0000 pop 45,0
+ 6: R_MMIX_16 bar\+0x2a
+ 8: fd2a0000 swym 42,0,0
+ a: R_MMIX_16 baz\+0xfffffffffffff6d7