summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-mmix/bpo-17.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/bpo-17.d')
-rw-r--r--ld/testsuite/ld-mmix/bpo-17.d34
1 files changed, 34 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/bpo-17.d b/ld/testsuite/ld-mmix/bpo-17.d
new file mode 100644
index 0000000000..effb972be5
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-17.d
@@ -0,0 +1,34 @@
+#source: start.s
+#source: bpo-8.s
+#source: areg-t.s
+#as: -linker-allocated-gregs
+#ld: -m elf64mmix
+#objdump: -st
+
+# A BPO and another reloc in the same section.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+0+ l d \.text 0+
+2000000000000000 l d \.data 0+
+2000000000000000 l d \.sbss 0+
+2000000000000000 l d \.bss 0+
+0+7f0 l d \.MMIX\.reg_contents 0+
+0+ l d \*ABS\* 0+
+0+ l d \*ABS\* 0+
+0+ l d \*ABS\* 0+
+0+ g \.text 0+ _start
+0+10 g \.text 0+ areg
+2000000000000000 g O \*ABS\* 0+ __bss_start
+2000000000000000 g O \*ABS\* 0+ _edata
+2000000000000000 g O \*ABS\* 0+ _end
+0+ g O \.text 0+ _start\.
+
+Contents of section \.text:
+ 0000 e3fd0001 2336fe00 00000000 0000000c .*
+ 0010 fd040810 .*
+Contents of section \.data:
+Contents of section \.sbss:
+Contents of section \.MMIX\.reg_contents:
+ 07f0 00000000 00000008 .*
OpenPOWER on IntegriCloud