From: Alan Modra Date: Wed, 14 Feb 2018 01:08:03 +0000 (+1030) Subject: PR22836 testcases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60f763ee16fca2cd1ec9fa6960f765de9b26ef70;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index a173b6260ce..fae7ca5c662 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2018-02-14 H.J. Lu + + 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 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 00000000000..8be549ecca5 --- /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 00000000000..4acf45d4219 --- /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 00000000000..30d6fa3f675 --- /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\.