aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-02-14 11:38:03 +1030
committerAlan Modra <amodra@gmail.com>2018-02-14 11:40:19 +1030
commit60f763ee16fca2cd1ec9fa6960f765de9b26ef70 (patch)
tree341b454d8ee29c8b125ee78c13ad1cb87ec443e4 /ld
parent9abc632d37bb6ab554da89301ab1cb65164ea4aa (diff)
downloadgdb-60f763ee16fca2cd1ec9fa6960f765de9b26ef70.zip
gdb-60f763ee16fca2cd1ec9fa6960f765de9b26ef70.tar.gz
gdb-60f763ee16fca2cd1ec9fa6960f765de9b26ef70.tar.bz2
PR22836 testcases
PR 22836 * testsuite/ld-elf/pr22836-1.s: New file. * testsuite/ld-elf/pr22836-1a.d: Likewise. * testsuite/ld-elf/pr22836-1b.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/pr22836-1.s4
-rw-r--r--ld/testsuite/ld-elf/pr22836-1a.d7
-rw-r--r--ld/testsuite/ld-elf/pr22836-1b.d7
4 files changed, 25 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a173b62..fae7ca5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 22836
+ * testsuite/ld-elf/pr22836-1.s: New file.
+ * testsuite/ld-elf/pr22836-1a.d: Likewise.
+ * testsuite/ld-elf/pr22836-1b.d: Likewise.
+
2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
PR gas/22791
diff --git a/ld/testsuite/ld-elf/pr22836-1.s b/ld/testsuite/ld-elf/pr22836-1.s
new file mode 100644
index 0000000..8be549e
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr22836-1.s
@@ -0,0 +1,4 @@
+ .section .debug_macro,"G",%progbits,foo,comdat
+ .long .LASF0
+.LASF0:
+ .string "__STDC__ 1"
diff --git a/ld/testsuite/ld-elf/pr22836-1a.d b/ld/testsuite/ld-elf/pr22836-1a.d
new file mode 100644
index 0000000..4acf45d
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr22836-1a.d
@@ -0,0 +1,7 @@
+#source: pr22836-1.s
+#ld: -r -s
+#readelf: -g --wide
+#xfail: d30v-*-* dlx-*-* i960-*-* pj-*-*
+# Targets using the generic linker don't properly support comdat group sections
+
+There are no section groups in this file\.
diff --git a/ld/testsuite/ld-elf/pr22836-1b.d b/ld/testsuite/ld-elf/pr22836-1b.d
new file mode 100644
index 0000000..30d6fa3
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr22836-1b.d
@@ -0,0 +1,7 @@
+#source: pr22836-1.s
+#ld: -r -S
+#readelf: -g --wide
+#xfail: d30v-*-* dlx-*-* i960-*-* pj-*-*
+# Targets using the generic linker don't properly support comdat group sections
+
+There are no section groups in this file\.