| 1 | #source: ../../../binutils/testsuite/binutils-all/group.s |
| 2 | #source: ../../../binutils/testsuite/binutils-all/group-2.s |
| 3 | #source: ../../../binutils/testsuite/binutils-all/group-3.s |
| 4 | #source: ../../../binutils/testsuite/binutils-all/group-4.s |
| 5 | #ld: -r |
| 6 | #readelf: -g --wide |
| 7 | |
| 8 | #... |
| 9 | COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains . sections: |
| 10 | \[Index\] Name |
| 11 | \[[ 0-9]+\] .text.foo |
| 12 | #... |
| 13 | \[[ 0-9]+\] .data.foo |
| 14 | #... |
| 15 | COMDAT group section \[[ 0-9]+\] `.group' \[.text.foo\] contains . sections: |
| 16 | \[Index\] Name |
| 17 | \[[ 0-9]+\] .text.foo |
| 18 | #... |
| 19 | \[[ 0-9]+\] .data.bar |
| 20 | #... |
| 21 | COMDAT group section \[[ 0-9]+\] `.group' \[foo3\] contains . sections: |
| 22 | \[Index\] Name |
| 23 | \[[ 0-9]+\] .text.foo3 |
| 24 | #... |
| 25 | \[[ 0-9]+\] .data.bar3 |
| 26 | #... |
| 27 | COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains . sections: |
| 28 | \[Index\] Name |
| 29 | \[[ 0-9]+\] .text.foo4 |
| 30 | #... |
| 31 | \[[ 0-9]+\] .data.foo4 |
| 32 | #pass |