Import binutils 2.18
[nacl-binutils.git] / ld / testsuite / ld-elf / group2.d
blobb4d0b819a23cf1957acacfe2260ebeda2464250e
1 #source: ../../../binutils/testsuite/binutils-all/group.s
2 #ld: -r
3 #readelf: -Sg --wide
5 #...
6 \[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.*
7 #...
8 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG.*
9 #...
10 \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG.*
11 #...
12 COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections:
13 \[Index\] Name
14 \[[ 0-9]+\] .text.*
15 \[[ 0-9]+\] .data.*
16 #pass