Properly implement STT_COMMON
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / group2.d
CommitLineData
6a0d0afd
L
1#source: ../../../binutils/testsuite/binutils-all/group.s
2#ld: -r
3#readelf: -Sg --wide
78336cd6 4#xfail: cr16-*-* crx-*-* xstormy*-*-*
de5c4ae2
AM
5# cr16 and crx use non-standard scripts with memory regions, which don't play
6# well with unique group sections under ld -r.
78336cd6 7# xstormy also uses a non-standard script, putting .data before .text.
6a0d0afd
L
8
9#...
709001e9 10 \[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.*
6a0d0afd
L
11#...
12 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG.*
13#...
14 \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG.*
15#...
709001e9 16COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections:
6a0d0afd
L
17 \[Index\] Name
18 \[[ 0-9]+\] .text.*
19 \[[ 0-9]+\] .data.*
20#pass
This page took 0.42034 seconds and 4 git commands to generate.