2 #ld
: -r
--gc
-sections
--entry foo
4 # generic linker targets don
't support --gc-sections, nor do a bunch of others
5 #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-*
7 COMDAT group section \[[ 0-9]+\] `.group' \
[foo\
] contains
. sections
: