| 1 | #source: ../../../binutils/testsuite/binutils-all/group-4.s |
| 2 | #ld: -r |
| 3 | #readelf: -Sg --wide |
| 4 | #xfail: cr16-*-* crx-*-* xstormy*-*-* |
| 5 | # cr16 and crx use non-standard scripts with memory regions, which don't play |
| 6 | # well with unique group sections under ld -r. |
| 7 | # xstormy also uses a non-standard script, putting .data before .text. |
| 8 | |
| 9 | #... |
| 10 | \[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.* |
| 11 | #... |
| 12 | \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.* |
| 13 | #... |
| 14 | \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.* |
| 15 | #... |
| 16 | COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains 2 sections: |
| 17 | \[Index\] Name |
| 18 | \[[ 0-9]+\] .text.* |
| 19 | \[[ 0-9]+\] .data.* |
| 20 | #pass |