summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/orphan2.d')
-rw-r--r--ld/testsuite/ld-elf/orphan2.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/orphan2.d b/ld/testsuite/ld-elf/orphan2.d
new file mode 100644
index 0000000..ddf69c7
--- /dev/null
+++ b/ld/testsuite/ld-elf/orphan2.d
@@ -0,0 +1,11 @@
+#source: orphan2.s
+#ld: -r
+#readelf: -S --wide
+#xfail: xstormy*-*-*
+# xstormy uses a non-standard script, resulting is unexpected section order
+
+#...
+ \[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
+#...
+ \[[ 0-9]+\] \.modinfo[ \t]+PROGBITS[ \t0-9a-f]+A.*
+#pass