Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-elf / group7.d
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 #xfail: cr16-*-* crx-*-*
8 # cr16 and crx use non-standard scripts with memory regions, which don't play
9 # well with unique group sections under ld -r.
10
11 #...
12 COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections:
13    \[Index\]    Name
14    \[[ 0-9]+\]   .text.foo
15    \[[ 0-9]+\]   .data.foo
16 #...
17 COMDAT group section \[[ 0-9]+\] `.group' \[.text.foo\] contains 2 sections:
18    \[Index\]    Name
19    \[[ 0-9]+\]   .text.foo
20    \[[ 0-9]+\]   .data.bar
21 #...
22 COMDAT group section \[[ 0-9]+\] `.group' \[foo3\] contains 2 sections:
23    \[Index\]    Name
24    \[[ 0-9]+\]   .text.foo3
25    \[[ 0-9]+\]   .data.bar3
26 #...
27 COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains 2 sections:
28    \[Index\]    Name
29    \[[ 0-9]+\]   .text.foo4
30    \[[ 0-9]+\]   .data.foo4
31 #pass