aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr17550c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr17550c.d')
-rw-r--r--ld/testsuite/ld-elf/pr17550c.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr17550c.d b/ld/testsuite/ld-elf/pr17550c.d
new file mode 100644
index 0000000..23a83f1
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr17550c.d
@@ -0,0 +1,9 @@
+#source: pr17550-2.s
+#source: pr17550-3.s
+#ld: -r
+#error: .*: defined in discarded section `\.data\[foo_group\]'
+#notarget: alpha-*-* cr16-*-* crx-*-* d30v-*-* dlx-*-* i960-*-* pj*-*-*
+# Disabled on alpha because alpha has a different .set directive.
+# cr16 and crx use non-standard scripts with memory regions, which don't
+# play well with comdat group sections under ld -r. Generic linker
+# targets don't support comdat group sections.