#source: group8.s
#ld: -r --gc-sections --entry foo
#readelf: -g --wide
-#notarget: ia64-*-* mep-*-*
-#xfail: dlx-*-* openrisc-*-* or32-*-* alpha-*-* arc-*-* hppa64-*-*
+# generic linker targets don't support --gc-sections, nor do a bunch of others
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* pru-*-*
-COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 1 sections:
+COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains . sections:
\[Index\] Name
\[[ 0-9]+\] .text.foo
+#pass