summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d b/binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d
new file mode 100644
index 0000000..7206cab
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-mmix/bpo-2.d
@@ -0,0 +1,23 @@
+#source: start.s
+#source: greg-1.s
+#source: bpo-1.s
+#as: -linker-allocated-gregs
+#ld: -m elf64mmix
+#objdump: -st
+
+# Just a simple linker-allocated GREG plus one explicit GREG.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+0+ l d \.text 0+ (|\.text)
+0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents)
+0+4 l \.text 0+ x
+0+ g \.text 0+ _start
+0+fe g \*REG\* 0+ areg
+#...
+
+Contents of section \.text:
+ 0000 e3fd0001 232afd00 .*
+Contents of section \.MMIX\.reg_contents:
+ 07e8 00000000 0000002e 00007048 860f3a38 .*