2 #ld: -r --gc-sections --entry foo
4 #xfail: cr16-*-* crx-*-* d30v-*-* dlx-*-* hppa64-*-* mep-*-* mn10200-*-*
5 #xfail: pj*-*-* pru-*-* xgate-*-*
6 # generic linker targets don't support --gc-sections, nor do a bunch of others
7 # cr16 and crx use non-standard scripts with memory regions, which don't play
8 # well with unique group sections under ld -r.
10 COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains . sections: