| 1 | #source: group9.s |
| 2 | #ld: -r --gc-sections --entry foo |
| 3 | #readelf: -g --wide |
| 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. |
| 9 | |
| 10 | COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains . sections: |
| 11 | \[Index\] Name |
| 12 | \[[ 0-9]+\] .text.foo |
| 13 | #... |
| 14 | \[[ 0-9]+\] .data.foo |
| 15 | #pass |