This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_30-branch] PR22836 testcases
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 19 Mar 2018 15:09:45 -0000
- Subject: [binutils-gdb/binutils-2_30-branch] PR22836 testcases
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cd2de6083def3536d4f247bb4b251a99b770351a
commit cd2de6083def3536d4f247bb4b251a99b770351a
Author: Alan Modra <amodra@gmail.com>
Date: Wed Feb 14 11:38:03 2018 +1030
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.
(cherry picked from commit 60f763ee16fca2cd1ec9fa6960f765de9b26ef70)
Diff:
---
ld/ChangeLog | 10 ++++++++++
ld/testsuite/ld-elf/pr22836-1.s | 4 ++++
ld/testsuite/ld-elf/pr22836-1a.d | 7 +++++++
ld/testsuite/ld-elf/pr22836-1b.d | 7 +++++++
4 files changed, 28 insertions(+)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f47f7c8..6cea82b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,6 +1,16 @@
2018-03-19 H.J. Lu <hongjiu.lu@intel.com>
Backport from master branch
+ 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-03-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master branch
2018-02-13 Alan Modra <amodra@gmail.com>
PR 22836
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\.