summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/bpo-14.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/bpo-14.d')
-rw-r--r--ld/testsuite/ld-mmix/bpo-14.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/bpo-14.d b/ld/testsuite/ld-mmix/bpo-14.d
new file mode 100644
index 0000000..c78a08e
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-14.d
@@ -0,0 +1,23 @@
+#source: start.s
+#source: bpo-7.s
+#source: areg-t.s
+#as: -linker-allocated-gregs
+#ld: -m elf64mmix
+#objdump: -st
+
+# A BPO against an external symbol.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+0+ l d \.text 0+ (|\.text)
+0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents)
+#...
+0+ g \.text 0+ _start
+0+8 g \.text 0+ areg
+#...
+
+Contents of section \.text:
+ 0000 e3fd0001 234dfe00 fd040810 .*
+Contents of section \.MMIX\.reg_contents:
+ 07f0 00000000 00000003 .*