| 1 | #source: ../../../binutils/testsuite/binutils-all/group.s |
| 2 | #ld: -r |
| 3 | #readelf: -Sg --wide |
| 4 | #xfail: cr16-*-* crx-*-* |
| 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 | |
| 8 | #... |
| 9 | \[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.* |
| 10 | #... |
| 11 | \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG.* |
| 12 | #... |
| 13 | \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG.* |
| 14 | #... |
| 15 | COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections: |
| 16 | \[Index\] Name |
| 17 | \[[ 0-9]+\] .text.* |
| 18 | \[[ 0-9]+\] .data.* |
| 19 | #pass |