summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/orphan.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/orphan.d')
-rw-r--r--ld/testsuite/ld-pe/orphan.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/orphan.d b/ld/testsuite/ld-pe/orphan.d
new file mode 100644
index 0000000..4047a6a
--- /dev/null
+++ b/ld/testsuite/ld-pe/orphan.d
@@ -0,0 +1,13 @@
+#source: orphana.s
+#source: orphanb.s
+#source: orphand.s
+#source: orphane.s
+#ld: --file-align 1 --section-align 1
+#objdump: -h --wide
+
+#...
+ +0 +\.text .*
+ +1 +\.foo +0+20 .*
+ +2 +\.foo +0+20 .*
+ +3 +\.idata .*
+#pass